-
Notifications
You must be signed in to change notification settings - Fork 26
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
Ably ios client closes connection 'WS:0x6000000befc0 websocket did disconnect (code 1000) (null)' #655
Comments
@shoaibahmedqureshi Hi. Can you confirm commit f5fc053 fixes it? Please reopen the issue if it doesn't. |
@tcard Is this committed reflected when i install using cocoa pods using line "pod 'Ably', '~> 1.0' " in pod file as I reinstalled it using cocoa and checked it the issue is still reproducing for me and is not fixed. |
@shoaibahmedqureshi No, sorry, you have to do something like:
|
Once we confirm it's fixed we can do a release, and then |
I am still facing it despite above mentioned commit. please refer to logs. myTrackee[22130:941155] DEBUG: (ARTRealtimeChannel.m:550) R:0x604000188f00 C:0x600000188610 received channel message 15 - Message |
Hi folks. FYI, we also experience the same problem. Implemented solution seems reasonable, going to try to build with provided commit and verify |
ok @tcard, we have tested your solution and it seems to work. Thanks! Here's the log
@shoaibahmedqureshi could you please double-check that you are indeed using the correct commit to build against? I mean just open the |
Thanks @marvin-yorke. But according to the latest logs provided by @shoaibahmedqureshi, she/he now seems to be having a separate issue. The connection moves to the @shoaibahmedqureshi Could you log what's the error causing the transition to let ably = ARTRealtime(...)
let channel = ably.channels.get("<your channel>")
channel.on(.failed) { change in
print("channel \(channel.name) moved to failed, reason: \(change.reason)")
} |
@tcard quick update: I've tried turning off message queueing (for reason different than the current topic), while using provided fix. And now I see the same problem as @shoaibahmedqureshi. Channels move to Not sure if it's directly related to this issue, but @shoaibahmedqureshi seems to also have message queue off in their settings |
Hi ,
I am new to ably and running into an issue while receiving messages . It works fine initially and recieves messages as per normal but after receiving too many messages at some point socket gets disconnected and logs this message 'WS:0x6000000befc0 websocket did disconnect (code 1000) (null)' and then it no longer receives any message . something that is interesting is that 'ablyRealtime!.connection.state == ARTRealtimeConnectionState.connected' still returns true. How to prevent this from happening ?
Following method shows my configuration settings .
The text was updated successfully, but these errors were encountered: