How to Debug Supabase Realtime?

I’ve read there have been some issues with supabase realtime integration, but I’m hoping someone can help me with the basics of debugging potential issues.

I have two collections with realtime enabled, both in WeWeb and in the Supabase tables. I’ve set a subscribe to all database changes for both of these on a workflow that runs when a user logs in.

I have a page workflow on a page with a custom calendar-like view that triggers on realtime changes.

Testing with two browser windows (one in private mode) with different user sessions running side by side. If one user moves a calendar item from one day to a different one, the second user sees the ‘removal’ of the ‘original’ item instantly…but does not see the ‘creation’ of the ‘new’ item until I refresh that page.

How do you debug this? Where do I look to see if each user is properly subscribed to each channel…that each channel is triggering properly…etc.

I realize there may be some known issues with realtime support…but I’m struggling to understand how to best test and figure out what those are. For example, you can see in the page workflow I have a log action, but it never triggers, even when the result of the action taken by the first user is seen in ‘realtime’ by the second user.

Thanks

Supabase Dashboard has a Realtime debugger, if it works in there, then the issue is in your WeWeb setup.

Hi,

Yes, in Supabase I can see the transactions happening in the realtime viewer (the creates and deletes).

I’ve followed the WeWeb guides on the setup in the app, but I can’t figure out how to actually test/debug it to narrow down what is happening on the webweb side.

Its strange since the setup in my app is exactly the same for both types of realtime events (create and delete), yet only the deletes are showing in realtime.

I’ve had some people coming to consult to me having trouble with Realtime recently in WeWeb, it might be worth a shot to open a ticket and let the WeWeb team have a look if you’re 100% positive it’s not your misconfiguration.

Hi Dhew, if after trying what Broberto said you can’t reach a solution I reccomend that you open a support chat with us:

1 Like