[sr-dev] [kamailio/kamailio] WebSocket keepalive logging "forcibly closing connection" with TCP connection errors (Issue #2990)

Max Wardell notifications at github.com
Tue Nov 1 23:41:05 CET 2022


I'm sorry to disappoint - we haven't prioritized this as we've mostly gotten away from these errors.
For us, the main source of problems was actually a very slow `sht_rm_name_re` in our configs. We store connection information in an htable and this regex call was causing the WebSocket module to slow down while iterating over each connection.
We ended up replacing the regex call with explicit `sht_rm` calls in. our config which solved the problem for us. We do still encounter these WebSocket errors occasionally, and I do believe the pseudocode posted above is still valid.

I'm sorry we haven't take the time to try that out yet.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2990#issuecomment-1299317872
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/2990/1299317872 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20221101/ec2aa91d/attachment.htm>


More information about the sr-dev mailing list