Closed junekhan closed 2 months ago
Receive no changes from Supabase Database.
SUPABASE_ID = <REDACTED> API_KEY = <REDACTED> def callback1(payload): print("Callback 1: ", payload) if __name__ == "__main__": URL = f"wss://{SUPABASE_ID}.supabase.co/realtime/v1/websocket?apikey={API_KEY}&vsn=1.0.0" s = Socket(URL) s.connect() channel_1 = s.set_channel("realtime:*") channel_1.join().on('*', callback1) s.listen()
See logs in the console
Callback 1: something
Sorry, it was my mistake to subscribe with ANON key. It works now with my service role key.
service role
Bug report
Describe the bug
Receive no changes from Supabase Database.
To Reproduce
Expected behavior
See logs in the console
Screenshots