Service says "completed" and doesn't respond to requests
I have a server that runs successfully locally with the rest of my infrastructure components. The build works fine but when the deploy goes out, railway says "Completed" and when attempting to curl my domain, i get a connection refused. This had worked previously (read: two weeks ago) and stopped working suddenly. The main change was using a railway-hosted clickhouse instance as opposed to clickhouse cloud, but I'm not sure how that would affect it.
24 Replies
Project ID:
792cd236-27d6-47ff-a0f7-f4c1ae6d64c8
792cd236-27d6-47ff-a0f7-f4c1ae6d64c8
Is this in regards to the "airtunnel" service?
yes
Stopping Container level: "info" deployment: 4eb0f393-ce08-4498-a55a-5e7afde2d88d replica: 02f1d179-2859-4733-b33f-4d6a05a3dedd service: c2505f8e-e8b8-41a8-b06c-756705a997a0im seeing this in logs do i need to add a healthcheck maybe?
stopping container is fine in this instance since that's the last deployment being removed
I'm seeing a lot of failed to connect logs but I can still open the site
would you have some extra context on what is failing to connect?
oh? can you send a screenshot of you connecting? Because I can't even connect
I'm not connecting to anything, I just open the website
it also seems that although my database is being served on 8123, it only accepts requests via 443?
yeah can u send a screenshot of that? I can't even open it
weird?
mind telling me your region?
deploying to us west oregon, currently in US-east (MA)
publicly, yes it would only accept traffic on port 443
I am also considering to be us-east
ah yeah, i'm using the public address right now because i was worried the private address was an issue
looks like the public domain for Clickhouse returns OK
correct
yes, i can connect to it from my application now fine
Solution
are you perhaps behind some kind of firewall
also, fwiw the completed state is just a UI bug
good to know
and i don't think i am... but let me double check
🤦 i think something on my home network is blocking traffic there
tried from a VPN and it connected fine
UGH! I spent too long trying to figure this out
thank you for helping me
glad you figured it out, and looks like there are still no error logs, am I good to mark this as solved?
absolutely 🙂 thanks