You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using libwebsockets v4.3 for my webserver. I have set the retry/idle policy for wss as shown below and assigned it to lws_context_creation_info before lws_create_context().
When I tried the same on STM32 board + FreeRTOS, I don't see lws_validity_cb getting hit at any point of time. This is causing idle websocket sessions not getting closed. Any guidance to debug further?
Note: I confirmed that retryPolicy is being used properly while creating the context.
Thanks!
The text was updated successfully, but these errors were encountered:
BhanuPrakash-P
changed the title
Issue with retry/idle Policy for PING PONG over wss
Issue with retry/idle policy for PING PONG over wss
Jan 30, 2025
Hi @lws-team,
I am using libwebsockets v4.3 for my webserver. I have set the retry/idle policy for wss as shown below and assigned it to lws_context_creation_info before lws_create_context().
My server has couple of vhosts created for http/ws, https/wss.
I tried this with minimal-example of ws-server on linux platform, everything is fine.
Logs:
When I tried the same on STM32 board + FreeRTOS, I don't see lws_validity_cb getting hit at any point of time. This is causing idle websocket sessions not getting closed. Any guidance to debug further?
Note: I confirmed that
retryPolicy
is being used properly while creating the context.Thanks!
The text was updated successfully, but these errors were encountered: