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

WebsocketClient > Error: FIN must be set #1324

Closed
ghost opened this issue Feb 10, 2018 · 2 comments
Closed

WebsocketClient > Error: FIN must be set #1324

ghost opened this issue Feb 10, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 10, 2018

The connection was fine on 3.3.0 but after updating to 3.5.0 I'm getting "Error: FIN must be set" on my node server when connecting to node.js standard websockets using the WebsocketClient.

The cause of the error is the new sendControlFrame function in file WebsocketClient.cpp. but it's only used by sendPing and sendPong. so when removing all references to those functions in my code everything works ok.
I also needed to comment "sendPing()" in onReceive() (line 271) for the connection to work,

@slaff
Copy link
Contributor

slaff commented Feb 12, 2018

@neut2012 Can you tell us how to reproduce the error? We need to know how to setup the Node.JS server and then we need to know how you communicate with that Websocket Server. Any information related to the issue would be helpful.

@slaff
Copy link
Contributor

slaff commented Jul 13, 2018

Discussed with better details also in #1416.

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

1 participant