-
-
Notifications
You must be signed in to change notification settings - Fork 424
Local docker regression: REALTIME_IP_VERSION is ignored #1750
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
Describe the bug
Running a self-hosted instance on a server with ipv6 disabled is not working.
According the doc, setting the environment variable REALTIME_IP_VERSION to the value ipv4 should make the server bind to ipv4 only, but we still get the error:
num_acceptors: 100,
max_connections: 1000,
socket_opts: [
:inet6,
{:port,
4000}
]
}) for reason :eafnosupport (address family not supported by protocol family)
This looks like a regression as this was supposed to be fixed: #253
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Disable ipv6 on your server
- Add the environment variable REALTIME_IP_VERSION in the docker compose
- run
docker compose up -d - Check the logs
docker logs realtime-dev.supabase-realtime
Expected behavior
Container realtime-dev.supabase-realtime crashes
System information
- OS: RHEL9
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working