jea
jea
RRailway
Created by jea on 7/30/2024 in #✋|help
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.
37 replies
RRailway
Created by jea on 10/23/2023 in #✋|help
Trying to run Phoenix/Elixir app, crash on startup
I'm trying to run an app on Railway for a Phoenix project but am getting this error:
=INFO REPORT==== 23-Oct-2023::16:57:16.708633 ===

Can't set long node name!

Please check your configuration

=CRASH REPORT==== 23-Oct-2023::16:57:16.708823 ===
=INFO REPORT==== 23-Oct-2023::16:57:16.708633 ===

Can't set long node name!

Please check your configuration

=CRASH REPORT==== 23-Oct-2023::16:57:16.708823 ===
I believe this is because I'm not setting RELEASE_NODE in my rel/env.sh.eex Has anyone else run in to? I'm not sure how to proceed here. I think I need to set RELEASE_NODE='<name>@<ip>' but I don't see a way to set the IP as an env var in railway as a reference.
95 replies