-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Syntax error CREATE_REPLICATION_SLOT when install electric-sql with docker #1277
Comments
Hey!
The syntax error is raised by the Supabase connection pooler because it does not support replication connections. You need to configure Electric to connect directly to the Supabase DB.
See https://electric-sql.com/docs/deployment/supabase#2-retrieving-the-connection-details
…On 17 May 2024 at 13:49 +0300, linear[bot] ***@***.***>, wrote:
VAX-1868 [BUG] Syntax error CREATE_REPLICATION_SLOT when install electric-sql with docker
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Thanks man for the explain, But i have tried to disable connection pool, but i facing different errors. i'm sure and have double check the DATABASE_HOST is not wrong.
|
@dreamid27 you will probably have to configure an IPV6 subnet explicitly in your docker compose, or use docker directly rather than docker compose as compose has some issues with IPV6 support. To confirm that the issue is docker IPV6 support, maybe try running |
Hei @msfstef thank you man, i solved by adding ipv6 support. but then, i got this error, i'm sure not using connection-pool
|
@dreamid27 good to hear IPv6 was sorted! This second issue is known and is currently being worked on by @alco, you can follow along here: #1278 You can try using electric 0.10.x until this is resolved (with the respective 0.10.x TS client), hopefully that unblocks you right now. Let me know if that covers you, if so we can close the issue in favour of the one above :) |
@msfstef great ! thank you btw. |
I encountered an error while running electric sql in Docker. I followed the steps one by one from this documentation, without missing any, and I tried almost 5 times, but it still fails.
Can you provide me with information about why this error is occurring?
OS : windows-11
Runtime: Docker
Database : Supabase
The text was updated successfully, but these errors were encountered: