Trying to setup Ruby on Rails with Neon, but keep getting name resolution error

I’ve changed the config.yml a couple of times.

I’m currently setting the database url to: postgres://<user>:<password>@<instance>

The latest error I got was:

ActiveRecord::ConnectionNotEstablished: could not translate host name "<instance>" to address: Temporary failure in name resolution

Can you ping, dig or nslookup the FQDN?


dig +short

If you cannot resolve the DNS for the endpoint, there may be a problem with the instance.

I just noticed it’s a name-resolution problem in the docker container.

Thank you for your reply.