Comments (9)
@Vortec4800 I just hit this same error message. I actually have LiveQuery working locally (same ParseServer + LiveQueryServer instance). I also have it working on the same instance in AWS.
I just ran into this error when trying to split out LiveQuery to it's own AWS Application and talking to our existing ParseServer as suggested in the Scalability section of the LiveQuery wiki (note: I'm not using a Redis server yet, just trying to get 1 instance of PS to talk to 1 instance of LQS).
Are you running 1 instance or 2? Are you running locally or in something like AWS?
from parselivequery-ios-osx.
I'm just running a single instance on a single server, which is a Digital Ocean server.
I did end up figuring out my issue, I was using SSL for my Parse server, which means the websocket the Live server uses is SSL too, but the iOS client was hard-coded to use ws:// instead of wss:// (which is like https://). Once I changed that, it started working.
I do wish there were better error messages though...
from parselivequery-ios-osx.
Thanks for the response. I'm not using SSL yet but I did resolve this issue.
For reasons not relevant here, my LiveQuery Server wasn't even starting. For others coming here, the 1001 stream end encountered
error is probably indicating that your client can't reach the server at the URL you gave it whether it's an SSL config problem or your server isn't listening on the address you gave it.
from parselivequery-ios-osx.
Did anyone off you have this working client side on iOS Swift ? I can't figure it out...
from parselivequery-ios-osx.
@FredvanRijswijk I have LiveQuery working in an iOS Swift app. Do you have a specific question or error message? If it's not related to this issue please open a new one.
from parselivequery-ios-osx.
@chadpav Need some support for how to use the data with LiveQuery like in #38 maybe it's me misunderstanding and lack of experience and missing some documentation... ;-(
from parselivequery-ios-osx.
@FredvanRijswijk it wasn't as straightforward as it should have been. I probably should submit a documentation update if I am able to help you through it.
Do you have a specific question or maybe you should just contact me. I'm at chadpav at the gmail.
from parselivequery-ios-osx.
I got the same problem here. My server code:
server.use(
'/parse',
new ParseServer({
databaseURI: DATABASE_URI,
cloud: path.resolve(__dirname, 'cloud.js'),
appId: APP_ID,
masterKey: MASTER_KEY,
serverURL: `http://${SERVER_HOST}:${SERVER_PORT}/parse`
liveQuery: {
classNames: ['Room','Message']
}
})
)
server.listen(SERVER_PORT, () => console.log(
`Server is now running in ${process.env.NODE_ENV || 'development'} mode on http://localhost:${SERVER_PORT}`
))
ParseServer.createLiveQueryServer(server);
Screenshot when I run the LiveQueryDemo:
from parselivequery-ios-osx.
have same error. Appeared after I changed to db connection url in parse-server config to:
mongodb://parse:password@your_domain_name:27017/database_name?ssl=true
from parselivequery-ios-osx.
Related Issues (20)
- Subscription handler failing on array of subscriptions HOT 4
- Change query for subscription? HOT 1
- What about using Apple's Network framework instead of Starscream? HOT 3
- Subscription for PFUser current user - Swift
- ParseLiveQuery: WebSocket did disconnect with error: nil HOT 5
- Issue with nested PFQuery in a OR query HOT 1
- Xcode 12 beta 6 / iOS 14 incompatibility HOT 10
- Receiver type 'PFLiveQueryEvent' for instance message is a forward declaration (Xcode 12 Beta 6 / Objective-C project) HOT 6
- Could not build Objective-C module 'ParseLiveQuery' HOT 4
- ParseLiveQuery v2.7.2 not pushed into Cocoapods HOT 1
- Please update Starscream dependency up to '~> 3.1.1' how it was before in your `v2.7.0` release.
- Podfile update needed HOT 2
- LiveQuery interrupted by external operation on the table it monitors on HOT 3
- LiveQuery doesn't repsond to networking changes HOT 5
- Add release automation HOT 1
- Please add SPM Support HOT 5
- ParseLiveQuery: Received ping but we don't handle it... HOT 7
- ParseLiveQuery: Received ping but we don't handle it... HOT 1
- Merge as module with main SDK HOT 8
- Emitted Events from WebSocket pings not forwarded to Subscription Handler HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parselivequery-ios-osx.