-
-
Notifications
You must be signed in to change notification settings - Fork 393
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Issue: WebSocket Connection Failure in Self-Hosted Supabase on EC2
Description
When attempting to connect to Supabase Realtime through a self-hosted instance on EC2, the WebSocket connection fails.
Environment
- Deployment: Self-hosted on AWS EC2
- Domain: {supabasePublicUrl}
- Connection URL: wss://{supabasePublicUrl}/realtime/v1/websocket
- Client Parameters:
- apikey: [ANONKEY]
- eventsPerSecond: 2
- vsn: 1.0.0
Steps to Reproduce
- Set up self-hosted Supabase on EC2
- Attempt to establish WebSocket connection to the Realtime service
- Connection fails immediately
Expected Behavior
- WebSocket connection should establish successfully
- Client should maintain stable connection to Realtime service
Additional Context
- The server logs show multiple GET requests to the WebSocket endpoint
- GET /realtime/v1/websocket returning 404
- Client receives a connection failure without specific error details
Questions
- Are there specific configuration requirements for self-hosted Realtime service on EC2?
- Are there known networking/firewall considerations for WebSocket connections in this setup?
- How can we enable more detailed error logging to diagnose the connection failure?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working