err:frontline:upstream:service_unavailable503 Service Unavailable.
This isn’t err:unkey:application:service_unavailable, which the Unkey API returns when it fails on our side.
Example response
If you’re calling an API hosted on Unkey
Retry after a few seconds. A refused connection during a restart clears on its own. If it keeps happening, only the API owner can fix it. Send them the request ID.If you own this API
The gateway tries your other instances before it gives up, so none of them accepted the connection. Common causes:- The process hasn’t finished starting yet.
- The process exited.
- The process listens on a different port than your runtime settings say.
- The process listens only on localhost instead of all interfaces.
How to fix
- Check the runtime logs to see whether the process starts and stays up.
- Make sure the port in the runtime settings matches the port your process listens on, and that it listens on all interfaces.
- If the process is slow to start, check the health check settings so we can tell when it’s ready.
Related errors
err:frontline:upstream:bad_gateway: the connection opened and then failed.err:frontline:upstream:gateway_timeout: the instance didn’t answer in time.err:frontline:capacity:no_running_instances: no instance was running at all.err:unkey:application:service_unavailable: the Unkey API failed on our side.