Elixir + Ecto deploy fails with private postgres database url
justyn
PROOP

2 years ago

My elixir project fails to deploy when I try to use the private postgres database url with the following error:

invalid url <redacted>, host is not present.

It deploys fine with the public database url.

I have set an env variable ECTO_IPV6=true and enabled New Builder Environment in the settings.

Solved

3 Replies

2 years ago

Hello,

You have private networking disabled.


Status changed to Awaiting User Response Railway almost 2 years ago


justyn
PROOP

2 years ago

wow thats embarrassing. I do not remember disabling it, but it works fine now thank you.


Status changed to Awaiting Railway Response Railway almost 2 years ago


2 years ago

Happy to help!


Status changed to Awaiting User Response Railway almost 2 years ago


Status changed to Solved brody almost 2 years ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...