Bug report
- [X ] I confirm this is a bug with Supabase, not with my own application.
- [X ] I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
Updating supabase cli 2.40.7 -> 2.45.5 breaks local dev realtime with the following error.
"WebSocketException: Connection to 'http://localhost:54321/realtime/v1/websocket?log_level=info&apikey=sb_publishable_&vsn=1.0.0#' was not upgraded to websocket, HTTP status code: 403"
Maybe realtime is not handling the sb_publishable key correctly? With the former version I'm using the deprecated anon key format. I "fixed" the issue by rolling back the version and can confirm realtime is working again.
I noticed the supabase_realtime_messages_publication is missing from the db in the latest version, not sure if that's intentional due to another unresolved issue: supabase/realtime#1484. Adding it manually did not fix the problem.
I'm calling: await supabase.client.realtime.setAuth(null); during setup, with RealtimeChannelConfig(private: true) on the channel.
To Reproduce
Use latter version and connect to realtime with publishable key.
Expected behavior
Realtime should connect.
Screenshots
N/A
System information
Using flutter 3.32.7, dart 3.8.1, supabase_flutter: 2.10.2, with target platform windows and building on windows.
Additional context
Add any other context about the problem here.
Bug report
Describe the bug
Updating supabase cli 2.40.7 -> 2.45.5 breaks local dev realtime with the following error.
"WebSocketException: Connection to 'http://localhost:54321/realtime/v1/websocket?log_level=info&apikey=sb_publishable_&vsn=1.0.0#' was not upgraded to websocket, HTTP status code: 403"
Maybe realtime is not handling the sb_publishable key correctly? With the former version I'm using the deprecated anon key format. I "fixed" the issue by rolling back the version and can confirm realtime is working again.
I noticed the supabase_realtime_messages_publication is missing from the db in the latest version, not sure if that's intentional due to another unresolved issue: supabase/realtime#1484. Adding it manually did not fix the problem.
I'm calling:
await supabase.client.realtime.setAuth(null);during setup, withRealtimeChannelConfig(private: true)on the channel.To Reproduce
Use latter version and connect to realtime with publishable key.
Expected behavior
Realtime should connect.
Screenshots
N/A
System information
Using flutter 3.32.7, dart 3.8.1, supabase_flutter: 2.10.2, with target platform windows and building on windows.
Additional context
Add any other context about the problem here.