Realtime Subscribes but no updates

So I've made my Realtime work, but I've this crazy bug I just can't figure out. When I'm either using it on localhost, but connected to the production Supabase, or checking Studio Realtime Monitor I see all updates in a specific channel, but when I use this in production it just don't work, it doesn't receive any updates. What makes it even weirder is that it does receive a delete update, always, but create, or modification if a value is not picked up. Also no errors and nothing weird to see, it just doesn't broadcast any updates when trying to use it in production, except when deleting an item. Anyone have an idea what I can try?
1 Reply
garyaustin
garyaustin2mo ago
Try adding realtime.setAuth() to your subscription call. https://github.com/supabase/supabase-js/issues/1304 Also make sure you are on latest supabase-js.

Did you find this page helpful?

Realtime Subscribes but no updates - Supabase