Hello everyone, I recently discovered Supabase. The client and admin configuration is working perfectly and the queries are going through. However, when I try to set up real-time event listeners on a database table, I encounter problems when subscribing to it.
The error returned by the subscription debugger is always the same:
subscribed: CLOSED
subscribed: CLOSED
&
subscribed CHANNEL_ERROR Error: mismatch between server and client bindings for postgres changes
subscribed CHANNEL_ERROR Error: mismatch between server and client bindings for postgres changes
I've been searching for why it's failing, but apparently, it's not due to RLS (Row Level Security), which is configured to allow all users, even unconnected ones, to read and insert data (This is just for testing). Real-time is also correctly enabled on this table. What I don't understand is that the code seems correct, but it refuses to subscribe to any table with real-time enabled, always returning the same error.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.