danielrhodes / Swift-ActionCableClient

ActionCable is a new WebSocket server being released with Rails 5 which makes it easy to add real-time features to your app. This Swift client makes it dead-simple to connect with that server, abstracting away everything except what you need to get going.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

masked and rsv data is not currently supported

chakery opened this issue · comments

After the success of login, first try socket connection and success. when I logout and re-login, and connection socket again, I got below:

ActionCableClient.ConnectionError.ProtocolViolation(Error Domain=WebSocket Code=1002 "masked and rsv data is not currently supported" UserInfo={NSLocalizedDescription=masked and rsv data is not currently supported})

please help...

well, because I forgot disconnect and reconnect, so cause this problem.
Thx for your Swift-ActionCableClient.

I have also seen that before under similar circumstances. It is coming from the underlying websocket library, which I plan to switch out soon.

disconnected it before you reconnect and you won't face this problem...

Is this solved? I mean the solution "disconnect before you reconnect" is not a long term solution imo...?

When is it planned to be switched out?