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

received LWS_CALLBACK_CLOSED_CLIENT_HTTP when websocket client reconnect server #3122

Open
qinlijie309 opened this issue Apr 22, 2024 · 1 comment

Comments

@qinlijie309
Copy link

hello

I used libwebsocket on windows10 as websocket client, and connect websocket server on linux(arm64) with other websocket code.
everything is ok , just sometimes , i try test this situation that linux and windows in normal work then shutdowm linux server , windows client need reconnect linux server until connected.
sometimes it's reconnect successful, sometimes it's failed when client recived this event LWS_CALLBACK_CLOSED_CLIENT_HTTP , then it like block , no reconnect also no recv event , i don't know why , and how do i do when it's happend?
now in order for communication to work , it will also reconnect when this event that LWS_CALLBACK_CLOSED_CLIENT_HTTP happend

@lws-team
Copy link
Member

Turn on debug build (eg, -DCMAKE_BUILD_TYPE=DEBUG ) and verbose logs and see what it says.

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