parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

IOS Live query is not working with parse v6

Open diode02 opened this issue 3 years ago • 7 comments

New Issue Checklist

Issue Description

Parse live query is not receiving updates when I have updated the parse server to version 6.0. It works fine with version 5 but as soon as we switch to version 6, it stops working. Also, version 6 works fine with Android but not working with IOS.

Steps to reproduce

Actual Outcome

Expected Outcome

Environment

Server

  • Parse Server version: 6.0.0
  • Operating system: AWS Linux server
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): AWS

Database

  • System (MongoDB or Postgres): MongoDB
  • Database version: MongoDB atlas latest
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): MongoDB Atlas

Client

  • SDK (iOS, Android, JavaScript, PHP, Unity, etc): iOS
  • SDK version: 2.8.1 https://github.com/parse-community/ParseLiveQuery-iOS-OSX

Logs

diode02 avatar Feb 20 '23 11:02 diode02

Thanks for opening this issue!

  • 🚀 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.

parse-github-assistant avatar Feb 20 '23 11:02 parse-github-assistant

SDK version: 2.8.1

Could you add a link to the release page to make sure you are referencing the correct version and SDK?

mtrezza avatar Feb 20 '23 13:02 mtrezza

SDK version: 2.8.1

Could you add a link to the release page to make sure you are referencing the correct version and SDK?


https://github.com/parse-community/ParseLiveQuery-iOS-OSX

diode02 avatar Feb 20 '23 13:02 diode02

Got it, you mean the LiveQuery SDK version. We are preparing to move this to main iOS SDK, hence I wasn't sure. What is the error you are getting; any logs on the server side or SDK side?

mtrezza avatar Feb 20 '23 13:02 mtrezza

The server is performing totally normally, and android is receiving live query events but IOS is not receiving any event related to update/create. No error of any kind.

diode02 avatar Feb 20 '23 20:02 diode02

Is the socket connection established between server and app?

mtrezza avatar Feb 21 '23 00:02 mtrezza

How about this issue? We met the same problem with iOS-OSX SDK(version 2.7.3). https://github.com/parse-community/Parse-SDK-iOS-OSX/releases

And we can see following log message. ParseLiveQuery: WebSocket viability changed to viable

It seems the socket connection has established.

junya100 avatar Jan 05 '24 03:01 junya100