Closed rohankm closed 1 year ago
Do you have cloudflare or any reverse proxy in front of appwrite?
Do you have cloudflare or any reverse proxy in front of appwrite?
im using nginx as reverse proxy
im using nginx as reverse proxy
Your web socket may be timing out. Do you have various timeout directives in place? See this.
On a side note...how did you get realtime working on react native? I thought it didn't work due to window being undefined.
im using nginx as reverse proxy
Your web socket may be timing out. Do you have various timeout directives in place? See this.
On a side note...how did you get realtime working on react native? I thought it didn't work due to window being undefined.
to be honest I have no idea! somehow the realtime is working and window.localstorage is not causing many issues except console logging periodically
im using nginx as reverse proxy
Your web socket may be timing out. Do you have various timeout directives in place? See this.
On a side note...how did you get realtime working on react native? I thought it didn't work due to window being undefined.
i added
proxy_connect_timeout 7d;
proxy_send_timeout 7d;
proxy_read_timeout 7d;
to my nginx config file and I see that the bug is gone now. Thanks :)
๐ Reproduction steps
When i Subscribe to any events on react native expo. every 30sec to 1min I get "Realtime got disconnected. Reconnect will be attempted in 1 seconds., undefined" error.
Steps to reproduce
๐ Expected behavior
connection should be stable
๐ Actual Behavior
๐ฒ Appwrite version
Version 0.10.x
๐ป Operating system
MacOS
๐งฑ Your Environment
No response
๐ Have you spent some time to check if this issue has been raised before?
๐ข Have you read the Code of Conduct?