-
Notifications
You must be signed in to change notification settings - Fork 490
Open
Labels
bugSomething isn't workingSomething isn't workingrealtime-jsRelated to the realtime-js library.Related to the realtime-js library.
Description
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
After adding custom domain and utilizing it in my project, realtime no longer works with a 403 unauthorized error. WebSocket connection to 'MY_CUSTOM_DOMAIN_URL' failed: Error during WebSocket handshake: Unexpected response code: 403
To Reproduce
- Setup project using default Supabase domain
- Set tables to realtime
- Upgrade to custom domain according to docs
- Set new table to realtime
- None of the tables connect properly
Expected behavior
Realtime to continue working. If I use the old domain in createClient(), the old domain still works with realtime.
System information
- OS: macOS
- Browser: Chrome
- Version of supabase-js: ^2.32.0
- Version of Node.js: 16.14.0
Additional context
Like I said, if I use the default Supabase domain it continues to work, but as soon as I change the URL to the new Supabase domain (which works for Auth and other services), realtime doesn't work.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingrealtime-jsRelated to the realtime-js library.Related to the realtime-js library.