RUNTIME issues

jildevHOBBY

4 months ago

I am facing an issue with RUNTIME with this METAL BETA thingie, recently I had been running on LEGACY as the runtime but I have this below in thee logs as I was deploying new changes.

"The selected runtime: UNSPECIFIED is not supported in this region: us-west2.
You can update the runtime in your service settings"

I followed instructions but now on my Django project, some pages don not work as I get the 502 page shown directing to error logs of which there is nothing in the current error logs, in the logs everything looks fine and as I said some pages work.

The repo is private.

The error log I attached is the one I get after trying to redeploy working versions before I made new deployments but since settings for this service changed, the RUNTIME is unspecified.

I remember following log advice and went to settings to changed runtime, where I found legacy and switched to V2 or something related, I didn't pay much attention but now trying to bring back the LEGACY but can't see where to change from.

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

1 Replies

4 months ago

Hello,

The Legacy to V2 runtime setting is a one way setting, you can not go back to Legacy once on V2, it's Legacy for a reason.

The 502's are an issue with your application and not anything to do with the runtime.

502 means your app did not respond to or dropped the incoming request.

You would want to add better error handling to figure out where your code issue is.