Closed marksteve closed 3 months ago
Hey @marksteve :wave:
Looks like you're using the new client API but it's connecting to localhost
. Are you working with self-hosted Supabase?
@alco Nope. The proxy is connected to hosted Supabase. Side note: Took me a while to notice but there were times my IP got blocked by Supabase. Something that might be useful to add in the documentation!
@marksteve So have you tracked the hanging of the proxy to Supabase blocking your IP? Did you managed to generate a client after rerunning npx electric-sql generate
?
@alco Ah sorry that was a different issue. The proxy connects to Supabase properly to set up the electric schema and subscribe to the replication but it just hangs when I try to generate.
I'm try to replicate now but I'm encountering a different issue... I'll created a separate issue: #888
@alco Nope. The proxy is connected to hosted Supabase. Side note: Took me a while to notice but there were times my IP got blocked by Supabase. Something that might be useful to add in the documentation!
I believe this is caused by Supabase dropping IPv4 support for direct database connections recently. Make sure you can reach the DB with psql
from your network. If that works, you'll need to enable IPv6 support for the Docker daemon as explained in this guide and recreate the Docker network that our CLI has created by running npm run backend:down
.
If your home router or ISP does not support IPv6, you'll have to resort to using a VPN.
Logs
electricsql/electric:0.9