a month ago
502 Bad Gateway
Application failed to respond
This error appears to be caused by the application.
If this is your project, check out your deploy logs to see what went wrong. Refer to our docs on Fixing Common Errors for help, or reach out over our Help Station.
If you are a visitor, please contact the application owner or try again later.
Request ID:
mLiwfyKGQRmAlLoA5nX1uw
Build Logs: GOOD
Deployment Logs: GOOD
tried even migrating region from EU Amsterdam to US West, still getting 502 bad gateway.
PS: tried the following:
- revert work
- recreate the service on railway
- reassign region
7 Replies
a month ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • 30 days ago
a month ago
Can you check what port is your app using?
a month ago
the port is 8080.
also deleted the whole service and recreated, 502 Bad Gateway, same issue.
nothing has changed in the service configuration, not anything related to code, all services working as expected, also reverted many commits to no success.
bottom line, seem to be related to Railway gateway
a month ago
Railway assigns its own port to your application and I think there's a mismatch between your app's port and Railway's gateway port. Check in your app's Networking settings to see which port railway is using
a month ago
Is "Metal Build Environment" turned on? I was having a lot of issues with my app last month and turning it off fixed it for me.
a month ago
it is OFF
a month ago
internal issue,
after thorough investigation i found a module delaying the server init which caused a silent server hang.
it was not solved by commit reverts due to it being dependent on a DB query, which at some point become really slow when a DB table grew very large.
thread can be closed.
Status changed to Open ray-chen • 29 days ago
Status changed to Solved ray-chen • 29 days ago