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
Parse live query not check broken WebSocket connection and close them and 'websocketTimeout' in 'LiveQueryServerOptions' not have any effect, we need to handle and close broken connection
Steps to reproduce
Start a live query server and then connect to those, for example, if we lose our connection(torn off WIFI or ...) we don't get any event with Parse.Cloud.onLiveQueryEvent and connection still open
Actual Outcome
if we unplug the ethernet cable or turn off mobile data or WIFI nothing happens and the parse server doesn't get it
Expected Outcome
Close connection after websocketTimeout then trigger an event onLiveQueryEvent
Environment
Server
Parse Server version: 5.2.1
Operating system: ubuntu-desktop 18.04
Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): local and Parspack cloud provider
Database
System (MongoDB or Postgres): MongoDB
Database version: 4.4.14
Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): local
🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
mtrezza
added
type:bug
Impaired feature or lacking behavior that is likely assumed
and removed
type:bug
Impaired feature or lacking behavior that is likely assumed
labels
May 21, 2022
Dear @mtrezza, I fix it and want to contribute but problem is that I don't have any idea about how can create a test to check it.
can you help me, please?
New Issue Checklist
Issue Description
Parse live query not check broken WebSocket connection and close them and 'websocketTimeout' in 'LiveQueryServerOptions' not have any effect, we need to handle and close broken connection
Steps to reproduce
Start a live query server and then connect to those, for example, if we lose our connection(torn off WIFI or ...) we don't get any event with Parse.Cloud.onLiveQueryEvent and connection still open
Actual Outcome
if we unplug the ethernet cable or turn off mobile data or WIFI nothing happens and the parse server doesn't get it
Expected Outcome
Close connection after websocketTimeout then trigger an event onLiveQueryEvent
Environment
Server
5.2.1
ubuntu-desktop 18.04
local and Parspack cloud provider
Database
MongoDB
4.4.14
local
Client
JavaScript
3.4.2
The text was updated successfully, but these errors were encountered: