-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Socket is disconnected with 1007 code as soon as it connected #31
Comments
Can you share some more specific information about that? Can you share a sample code with me so I can reproduce it. |
let wsURL = "205.147.102.113:8080/{app url}/890/jsbhdjwl/websocket" socketClient.openSocketWithURLRequest(request: NSURLRequest(url: url as URL), delegate: self as StompClientLibDelegate, connectionHeaders: dic) |
any pointers, i could apply to make it work. |
@WrathChaos , waiting for your input if you have. |
@manusaxena Hello, sorry for late response. I'm trying your code right now. Also could not understand what do you mean by any pointers?? |
Hi again @manusaxena, I've also tested lib with my local and server, it is working right now. |
ok. i am not sure because same backend is working for javascript client. |
@manusaxena, Have you ever chance to try your stomp server on Android? |
@WrathChaos no i don't. i was just comparing frames with chrome javascript setup and this library. i found ("/u0000") characters are missed from sending frames. Pointers means suggestions. If you have some time, then we can have quick skype session |
i got solution. frameString += "\n\u" + "0000" but above line is giving error "expected hexadecimal code in braces after unicode escape" |
@manusaxena, I believe that "\u0000" is a generated one from chrome or somewhere. You should not send it as a frame. |
I believe that you fixed the problem. For now, I just close this issue. If there is still a problem, please re-open the issue and let's find a solution together. |
Socket is disconnected with 1007 code as soon as it connected. any pointers to fix ?
The text was updated successfully, but these errors were encountered: