R
Railway•4mo ago
jea

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.
Solution:
are you perhaps behind some kind of firewall
Jump to solution
24 Replies
Percy
Percy•4mo ago
Project ID: 792cd236-27d6-47ff-a0f7-f4c1ae6d64c8
jea
jeaOP•4mo ago
792cd236-27d6-47ff-a0f7-f4c1ae6d64c8
Brody
Brody•4mo ago
Is this in regards to the "airtunnel" service?
jea
jeaOP•4mo ago
yes
Stopping Container level: "info" deployment: 4eb0f393-ce08-4498-a55a-5e7afde2d88d replica: 02f1d179-2859-4733-b33f-4d6a05a3dedd service: c2505f8e-e8b8-41a8-b06c-756705a997a0
im seeing this in logs do i need to add a healthcheck maybe?
Brody
Brody•4mo ago
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?
jea
jeaOP•4mo ago
oh? can you send a screenshot of you connecting? Because I can't even connect
Brody
Brody•4mo ago
I'm not connecting to anything, I just open the website
jea
jeaOP•4mo ago
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
Brody
Brody•4mo ago
No description
jea
jeaOP•4mo ago
No description
jea
jeaOP•4mo ago
weird?
Brody
Brody•4mo ago
mind telling me your region?
jea
jeaOP•4mo ago
deploying to us west oregon, currently in US-east (MA)
Brody
Brody•4mo ago
publicly, yes it would only accept traffic on port 443 I am also considering to be us-east
jea
jeaOP•4mo ago
ah yeah, i'm using the public address right now because i was worried the private address was an issue
Brody
Brody•4mo ago
looks like the public domain for Clickhouse returns OK
jea
jeaOP•4mo ago
and you're just visiting https://airtunnel.io ?
Brody
Brody•4mo ago
correct
jea
jeaOP•4mo ago
yes, i can connect to it from my application now fine
Solution
Brody
Brody•4mo ago
are you perhaps behind some kind of firewall
Brody
Brody•4mo ago
also, fwiw the completed state is just a UI bug
jea
jeaOP•4mo ago
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
Brody
Brody•4mo ago
glad you figured it out, and looks like there are still no error logs, am I good to mark this as solved?
jea
jeaOP•4mo ago
absolutely 🙂 thanks
Want results from more Discord servers?
Add your server