-
Notifications
You must be signed in to change notification settings - Fork 734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The operation couldn’t be completed. (OSStatus error -9847.) #3339
Comments
Hi @BraveEvidence - try using the |
Thank you @calvincestari for your reply. I tried changing the protocol to Any suggestions |
Check that you're using the correct GraphQL WebSocket subprotocol for your server. |
@calvincestari I am using graphql-ws protocol. The subscriptions works fine on Android with Apollo Kotlin |
You still need to make sure you're selecting the correct protocol when initializing the websocket. If you're already doing that then you'll need to do some more debugging on your side to determine what else could be wrong; is there anything else in the logs besides the |
No other logs |
If you can replicate this in a sample client then I can try with a websocket service locally to see if anything else if incorrect in the client. It's difficult to debug from that single error response. |
Can you check my sample repo over here |
I just took a look at the project now and I think you are using the wrong websocket subprotocol. In the
graphql-ws is the name of the library but the protocol that it uses is
This is confusing because the two packages have terrible library names that are too similar to the subprotocol names. The Change the subprotocol in the |
@calvincestari Thank you for all the help |
Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo iOS usage and allow us to serve you better. |
Summary
I am trying to use Subscription on iOS simulator and I get error saying The operation couldn’t be completed. (OSStatus error -9847.)
Version
1.9.0
Steps to reproduce the behavior
https://github.com/BraveEvidence/iossubscription
Logs
Anything else?
Is this a simulator issue? I don't have a real device to test on. I tried checking on https://www.osstatus.com and the error name is errSSLRecordOverflow
The text was updated successfully, but these errors were encountered: