an hour ago
We're getting intermittent 502s. They are random, the services are working fine majority of time. It's happening on more than one service in different projects.
The problem is that these 502s aren't recorded anywhere we can see:
Network Logs - HTTP shows no 502s.
Deploy logs are clean - no restarts, no crashes, no errors.
I only have one example response that client shared with us
"""
upstream error
","exception":"Illuminate\Http\Client\RequestException"}
"""
2 Replies
an hour ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • about 1 hour ago
an hour ago
I notice the error you shared is a Laravel outbound request error, is your client using Laravel to make the request or are you using Laravel and that's the error your client is seeing?
If it's the latter then it's not Railway that's failing with 502 but your app is reliant on some sort of external service which is returning 502 and your app is likely failing there which is surfaced to your client
Let me know if it's the former though (your client using Laravel to make the request)
38 minutes ago
Just to give out my experience. A while ago, I was migrating from Zeabur to Railway.
The issue I hit was the API URL used for proxying requests from TanStack Start to Python backend. I used the wrong internal URL and giving out 502 Bad Gateway.
Hope this helps to diagnose the issue.
