-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception: Realtime was unable to connect to the project database #982
Comments
Sometimes there is also this exception:
I believe that this happens when the JWT expires while the system is asleep. |
Your first issue sounds like an issue with your Supabase instance, which may be solved by pausing and restoring your project or contacting Supabase support. Your second issue should be solved now with #1019 being merged. You can try it by upgrading |
Describe the bug
I initialised a realtime channel and after a while of inactivity I get the following Exception.
The channel doesn't receive data after that and does not recover on its own.
To Reproduce
Steps to reproduce the behavior:
I'm testing on Flutter for macOS.
Expected behavior
I expect the channel to reconnect and to get notified about it by an
onReconnect
event or something like that.Version (please complete the following information):
supabase_test 1.0.0+1
├── supabase_flutter 2.5.8
│ ├── supabase 2.2.4
│ │ ├── functions_client 2.2.0
│ │ ├── gotrue 2.8.3
│ │ ├── postgrest 2.1.2
│ │ ├── realtime_client 2.2.0
│ │ ├── storage_client 2.0.2
The text was updated successfully, but these errors were encountered: