You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the supabase client is unable to communicate with the realtime wss api beyond initial connection. Furthermore, there is no provided error as to why the issue is occurring via status CHANNEL_ERROR.
NOTE: This is for a backend application, not front-end.
I was able to successfully connect to the realtime api and receive updates by doing the following below outside of the package by utilizing wscat. This shows that my WSL configuration is valid and able to communicate normally with the API.
Hi. It's probably not fully related to the original issue, but I had this same err = undefined issue on a self-hosted instance. Basically, it happens when supabase is unreachable (mainly because I did not port-forward, on purpose).
I kind of was expecting some sort of an error message instead, so there might be something to investigate there.
This is happening with the latest release for us, and I could not find where the problem would be, as the callback seems called correctly in the source code.
We actually found a bug related with this where an Invalid JWT is not being reported properly in our JS client and we're still working in checking if this is something at the server side or client side.
The connection issue @groud mentioned might also be related with this issue of lack of proper error reporting on subscribe as such I will keep this issue open as we work on it
Bug report
Describe the bug
It seems that the supabase client is unable to communicate with the realtime wss api beyond initial connection. Furthermore, there is no provided error as to why the issue is occurring via status
CHANNEL_ERROR
.NOTE: This is for a backend application, not front-end.
I was able to successfully connect to the realtime api and receive updates by doing the following below outside of the package by utilizing
wscat
. This shows that my WSL configuration is valid and able to communicate normally with the API.Initial command.
wscat --connect "wss://<project_id>.supabase.co/realtime/v1/websocket?apikey=<apikey>&vsn=1.0.0"
Sent message(s)
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Create a basic nodejs & supabase application within WSL
Try connecting to the realtime api
Expected behavior
Connection and successful subscription to realtime events.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
Code being used to test.
The text was updated successfully, but these errors were encountered: