Service returns 502s on initial request
ttay24
PROOP

2 months ago

I have a backend-for-frontend site which is just hosting a React SPA. It is setup as serverless, and I have to imagine this error happens when it goes to sleep and I'm trying to wake it.

I get a 502 error (see attached screenshot). I can wait a second and usually when I refresh, it's all happy and the site loads.

Project id: 3978a91c-e664-4d6c-a288-09fa3a327474

Solved

9 Replies

ttay24
PROOP

2 months ago

Discord wouldn't let me edit and add this to the original post, but see the error and the request ID

image.png

Attachments


2 months ago

I just opened it while the service was sleeping. It loaded for a bit, but it loaded on the first try without issues.


Anonymous
PRO

2 months ago

Just a second ago, had it @brody

Attachments


Just a second ago, had it @brody ![](https://station-server.railway.com/attachments/att_01kkkxr6gffk2887eese1qn421)

2 months ago

Have you redeploy the service today?


ttay24
PROOP

2 months ago

It looks like I did this morning, between 8-9am CDT


ttay24
PROOP

2 months ago

although that does line-up with around when I posted this. I've seen it on and off the past few days though


ttay24
PROOP

2 months ago

also just tried while it was sleeping, it loaded correctly. Was there a change recently? Are deployments expected to be required to resolve it?


ttay24
PROOP

2 months ago

ohh you know what, that was a PR environment. Development (where this error happened) last deployed 2 days ago it seems


2 months ago

Okay, now that you have fresh deploys, let me know if you still see it.


Status changed to Solved brody 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...