Request failed with status code 503
dream
HOBBYOP

2 years ago

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.

0 Replies

brody
EMPLOYEE

2 years ago

i assume it was working fine before?


dream
HOBBYOP

2 years ago

yes


dream
HOBBYOP

2 years ago

The 503 error lasted for about a few tens of seconds


brody
EMPLOYEE

2 years ago

does it still return 503, or have you since fixed it?


dream
HOBBYOP

2 years ago

It recovered on its own, I didn't do anything


dream
HOBBYOP

2 years ago

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
EMPLOYEE

2 years ago

did your app not log any errors?


dream
HOBBYOP

2 years ago

I couldn't find it, or maybe I just don't know how to search for it


dream
HOBBYOP

2 years ago

I learned about the 503 error from the uptime monitoring


brody
EMPLOYEE

2 years 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
HOBBYOP

2 years ago

During a 503 error, the server is unable to respond, so the app should not be able to log the error


brody
EMPLOYEE

2 years ago

a 503 error means your app didnt respond, it does not indicate a failure with the platform


dream
HOBBYOP

2 years ago

I have provided the project ID and the specific time of the error, hoping that you can help me investigate


brody
EMPLOYEE

2 years ago

im sorry but if your app did not log the error it ran into there is unfortunately nothing to look into


dream
HOBBYOP

2 years ago

I found some unusual logs


brody
EMPLOYEE

2 years ago

please share!


dream
HOBBYOP

2 years 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/fdpollruntime.go:84 +0x27

internal/poll.(*pollDesc).waitRead(…)

/usr/local/go/src/internal/poll/fdpollruntime.go:89

internal/poll.(*FD).Read(0xc004c59700, {0xc0038ec000, 0x1000, 0x1000})


brody
EMPLOYEE

2 years ago

that looks like a stack, but it's missing the useful information


dream
HOBBYOP

2 years ago

The log is very long, I'll just copy it


brody
EMPLOYEE

2 years ago

send as a file


dream
HOBBYOP

2 years ago


dream
HOBBYOP

2 years 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
EMPLOYEE

2 years ago

I don't work for Railway so I am unable to do such things


dream
HOBBYOP

2 years ago

Okay


brody
EMPLOYEE

2 years 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


Loading...