Connection errors when connecting to a Supabase database #20951
inian
announced in
Troubleshooting
Replies: 1 comment
-
I am receiving the first error locally when I run |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you receive any of the following error messages, it might be because the network you are connecting from does not support IPv6.
(dial tcp [2001:db8:3333:4444:5555:6666:7777:8888]:5432: connect: no route to host)
connect to db.example.supabase.co (2001:db8:3333:4444:5555:6666:7777:8888) port 5432 (tcp) failed: Network is unreachable
could not translate host name "db.example.supabase.co" to address: nodename nor servname provided, or not known
ENETUNREACH 2001:db8:3333:4444:5555:6666:7777:8888
Error: P1001: Can't reach database server at db.example.supabase.co:5432
(2001:db8:3333:4444:5555:6666:7777:8888), port 5432 failed: could not create socket: Address family not supported by protocol
Note that these errors may manifest in cases other than your client network not supporting IPv6, but if you run into these errors after your project was migrated, it is likely that it is due to your network not supporting IPv6.
To remediate this issue, either
Visit this discussion for more information about the IPv6 transition.
Beta Was this translation helpful? Give feedback.
All reactions