My DB host (Supabase) just discontinued IPV4 addresses. I updated my DB URL to the new IPV6 address and now am having hundreds of two errors:
Erlang error: {:timeout, {:gen_statem, :call
: 435 errors
DBConnection.ConnectionError
: 722 errors
What else do I need to do to get Ecto + Postgrex to work properly with IPV6? It actually feels like it’s working properly, but the errors are nonstop. I tried setting the socket_options
but then my app can’t even connect to the remote database:
config :app, App.Repo,
socket_options: [:inet6]