Skip to content

Commit

Permalink
fix(docs): Fix IPv6 inaccuracies on the Supabase page (#1270)
Browse files Browse the repository at this point in the history
  • Loading branch information
alco committed May 17, 2024
1 parent f4e9e28 commit 875200b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/deployment/supabase.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ We support both the hosted [Supabase Platform](https://supabase.com/docs/guides/
Supabase is an open source Firebase alternative. It provides a Postgres database, authentication, APIs, edge functions, realtime subscriptions, storage and vector embeddings. Supabase is **not** an application or web service host. To use Electric with Supabase, you still need to deploy your own Electric sync service.

:::caution Troubleshooting connectivity issues with Supabase Platform
Supabase Platform [dropped IPv4 support](https://supabase.com/docs/guides/platform/ipv4-address) for direct database connections on 26 January 2023. Following that, you may see "socket closed" errors in Electric's logs or it may seem like Electric is stuck without producing any log output at all.
Supabase Platform [dropped IPv4 support](https://supabase.com/docs/guides/platform/ipv4-address) for direct database connections on 26 January 2024. Following that, you may see "socket closed" errors in Electric's logs or it may seem like Electric is stuck without producing any log output at all.

The network where Electric is running must support IPv6. If you're running Electric on your own computer, check whether your ISP has IPv6 support on https://test-ipv6.com. If you see "No IPv6 address detected" on that page, consider using a VPN service that works with IPv6 networks, such as Proton VPN.
The network where Electric is running must support IPv6. If you're running Electric on your own computer, check whether your ISP has IPv6 support by navigating to https://test-ipv6.com or executing `curl -6 https://ifconfig.co/ip` on the command line. If you see "No IPv6 address detected" on that page, consider using a VPN service that works with IPv6 networks.

When running Electric in a Docker container, there's an additional hurdle in that Docker does not enable IPv6 out-of-the-box. Follow the [official guide](https://docs.docker.com/config/daemon/ipv6/#use-ipv6-for-the-default-bridge-network) to configure your Docker daemon for IPv6.

Expand Down

0 comments on commit 875200b

Please sign in to comment.