R
Railway7mo ago
dream

Request failed with status code 503

My service just experienced a sudden 503 error, with the project ID being 27d09558-c237-4021-b93c-71541fabcc15. The error occurred around the following time (Etc/GMT-8): 2024-05-02 08:10:48.
23 Replies
Percy
Percy7mo ago
Project ID: 27d09558-c237-4021-b93c-71541fabcc15
Brody
Brody7mo ago
i assume it was working fine before?
dream
dreamOP7mo ago
yes The 503 error lasted for about a few tens of seconds
Brody
Brody7mo ago
does it still return 503, or have you since fixed it?
dream
dreamOP7mo ago
It recovered on its own, I didn't do anything I would like to understand the reason for the 503 error in the project. I hope you can investigate thoroughly to prevent such errors from happening again in the future
Brody
Brody7mo ago
did your app not log any errors?
dream
dreamOP7mo ago
I couldn't find it, or maybe I just don't know how to search for it I learned about the 503 error from the uptime monitoring
Brody
Brody7mo ago
unfortunately there isnt much to look into without error logs, going forward i would recommend adding more verbose logging to your app so that you can pinpoint any failures easier
dream
dreamOP7mo ago
During a 503 error, the server is unable to respond, so the app should not be able to log the error
Brody
Brody7mo ago
a 503 error means your app didnt respond, it does not indicate a failure with the platform
dream
dreamOP7mo ago
I have provided the project ID and the specific time of the error, hoping that you can help me investigate
Brody
Brody7mo ago
im sorry but if your app did not log the error it ran into there is unfortunately nothing to look into
dream
dreamOP7mo ago
I found some unusual logs
Brody
Brody7mo ago
please share!
dream
dreamOP7mo ago
one-api/controller.AutomaticallyTestDisabledChannels(0x0?) /build/controller/channel-test.go:363 +0x95 created by main.main in goroutine 1 /build/main.go:103 +0x5eb goroutine 81 [sleep]: time.Sleep(0x2540be400) /usr/local/go/src/runtime/time.go:195 +0x115 one-api/controller.UpdateMidjourneyTask() /build/controller/midjourney.go:39 +0x3e created by main.main in goroutine 1 /build/main.go:104 +0x5f7 goroutine 98 [IO wait]: internal/poll.runtime_pollWait(0x7fcc1079e198, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0x85 internal/poll.(pollDesc).wait(0xc004c59700?, 0xc0038ec000?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc004c59700, {0xc0038ec000, 0x1000, 0x1000})
Brody
Brody7mo ago
that looks like a stack, but it's missing the useful information
dream
dreamOP7mo ago
The log is very long, I'll just copy it
Brody
Brody7mo ago
send as a file
dream
dreamOP7mo ago
dream
dreamOP7mo ago
If you need to view more logs in my project, you can retrieve the logs from May 2, 2024 8:10 AM - May 2, 2024 8:11 AM
Brody
Brody7mo ago
I don't work for Railway so I am unable to do such things
dream
dreamOP7mo ago
Okay
Brody
Brody7mo ago
the team would not be able to provide you with any more information than what is in your deployment logs on account of this not being an issue with the platform
Want results from more Discord servers?
Add your server