Skip to content
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

Unable to receive Base64 data of incoming messages. #176

Closed
anhtuantt opened this issue Dec 5, 2018 · 3 comments
Closed

Unable to receive Base64 data of incoming messages. #176

anhtuantt opened this issue Dec 5, 2018 · 3 comments

Comments

@anhtuantt
Copy link

anhtuantt commented Dec 5, 2018

Hello eveyrone,
Thank you for the great library, I'm using the library to work with Bibox websocket (crypto currency exchange). Websocket server performs a BASE64 encoding of compressed data, Client decodes BASE64 before decompression. Unfortunately, the client is unable to receive any incoming messages. I was trying to use three method onTextMessage(WebSocket ws, String message) , onTextMessage(WebSocket websocket, byte[] data),onBinaryMessage. None of them worked.

Please give me an advice.
Regards,
Tuan Nguyen.

@TakahikoKawasaki
Copy link
Owner

It would be worth trying other WebSocket client library to investigate which is wrong, the server's implementation or nv-websocket-client's implementation.

@anhtuantt
Copy link
Author

Yes, let me try and let you know soon.

@anhtuantt
Copy link
Author

I found the problem. Bibox websocket need a double quote for json format. Thank you for your answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants