Getting realtime errors after few minutes of idle on web #642
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
Hm, maybe there is a fly.io limit of how long a http connection could remain open. I haven't really tested the realtime api with Fly.io. Will try to find some time later today or tomorrow and will see if I can reproduce it. In any case, there should be an auto reconnect in place, so even if there is a limit, you can ignore it and the SDK will try to keep the realtime connection alive. |
Beta Was this translation helpful? Give feedback.
-
Im facing exact the same issue. We are behind docker swarm and our own nginx configuration (its pretty standard tbh), seems that the connection lost after 2 minutes. |
Beta Was this translation helpful? Give feedback.
Hm, maybe there is a fly.io limit of how long a http connection could remain open. I haven't really tested the realtime api with Fly.io. Will try to find some time later today or tomorrow and will see if I can reproduce it.
In any case, there should be an auto reconnect in place, so even if there is a limit, you can ignore it and the SDK will try to keep the realtime connection alive.