-
Notifications
You must be signed in to change notification settings - Fork 113
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
MAX_RW_BUF_LEN not large enough for WebSocketConnection::WssHandshake #46
Comments
Hi @sjmh3 , |
Hi @vareddy, |
Hi @sjmh3 , |
Hi @vareddy, Yes, I did fill in the session token - do I not need to? Thanks, |
Hi @sjmh3 , |
The WSS HTTP GET request formed in
WebSocketConnection::WssHandshake
can exceed 2048 bytes, which is the size ofMAX_RW_BUF_LEN
. The error traced out is that the WSS handshake fails because there are no SSL packets to read. In fact the request has only been partially written because the buffer wasn't large enough to hold all of it in one go, so the IoT service hasn't sent a response.The text was updated successfully, but these errors were encountered: