Skip to content
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

Realtime server crashes on startup #1309

Open
2 tasks done
Anonymous-AAA opened this issue Feb 22, 2025 · 0 comments · May be fixed by #1310
Open
2 tasks done

Realtime server crashes on startup #1309

Anonymous-AAA opened this issue Feb 22, 2025 · 0 comments · May be fixed by #1310
Labels
bug Something isn't working

Comments

@Anonymous-AAA
Copy link

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

Running the docker compose file for realtime in Linux gives the following error from realtime-server
(RuntimeError) Failed to detect IP version for DB_HOST: nxdomain and causes server to crash

To Reproduce

Run the docker compose file in a Linux environment. I ran it on Debian 12

Expected behavior

Realtime server should start with no issues

System information

  • OS: Debian 12

Additional context

Running on Docker version 28.0.0 (Not Docker Desktop)
The issue seems to be with the server not being able to resolve DB_HOST which is set to host.docker.internal
It can be fixed by adding the hosts entry for host.docker.internal to host-gateway

@Anonymous-AAA Anonymous-AAA added the bug Something isn't working label Feb 22, 2025
@Anonymous-AAA Anonymous-AAA linked a pull request Feb 22, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant