Service says it's running with port 9000 but it's highlighted red and my other service cannot connect
steventakeshita
PROOP

9 months ago

In my service here: https://railway.com/project/181aeb76-7ca1-4698-ab7b-fa7c69e9cd54/service/ea5eee93-5946-49d9-b109-b00536ac8e5f?environmentId=aa28f2f1-2b7e-4c8d-af62-5e6ca3981309&id=34847216-3cad-4bcf-97c9-78a2f4357605#deploy

I'm seeing successful startup: (though it's red for INFO?)

However my other service (api_server) is trying to connect to it:

Exception: All retries failed: [HTTPError("Request failed: HTTPConnectionPool(host='model_server.railway.internal', port=9000): Max retries exceeded with url: /encoder/bi-encoder-embed (Caused by NewConnectionError('<urllib3.connection.HTTPConnection

They're all in the same env so I'm not sure why it would fail. ANy ideas?

Solved$10 Bounty

3 Replies

optimalresource
PRO

9 months ago

If they are in the same environment, confirm the port number used for the connection, it could be a minor issue, but also not much context was shared, so not able to debug further from here.


steventakeshita
PROOP

9 months ago

Yep same environment same port number. I'm thrown off by the service running and it highlighted red. Is there a way to see if that port is open through an external service?


Status changed to Solved parmstar 9 months ago


steventakeshita
PROOP

8 months ago

fixed! the problem was that my server is running with ipv4 but railways ipv6 to be open. So changing the startup command to listening to :: instead of just 0.0.0.0 fixed it!


Status changed to Awaiting Railway Response Railway 9 months ago


Status changed to Solved christian 9 months ago


Loading...