TCP/TLS connection (id: 0) for WebSocket could not be found

Сергей Приймак via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <SA2PR22MB24282A4EA9C0E72E354D8486A8E1A@SA2PR22MB2428.namprd22.prod.outlook.com>
Hi All,
I'm getting this message when trying to route request to a WebSocket client:

#033[0m 21(28) WARNING: ACK|5c4ab3c9-d755-4a7a-aa79-bda94b6e6484| <core> [core/msg_translator.c:2904]: via_builder(): TCP/TLS connection (id: 0) for WebSocket could not be found
#033[0m 21(28) ERROR: ACK|5c4ab3c9-d755-4a7a-aa79-bda94b6e6484| <core> [core/msg_translator.c:2044]: build_req_buf_from_sip_req(): could not create Via header
#033[0m 21(28) ERROR: ACK|5c4ab3c9-d755-4a7a-aa79-bda94b6e6484| <core> [core/forward.c:588]: forward_request(): building failed
#033[0m 21(28) WARNING: ACK|5c4ab3c9-d755-4a7a-aa79-bda94b6e6484| <script>: 5c4ab3c9-d755-4a7a-aa79-bda94b6e6484|message [ACK] returned code [-2]
#033[36mkamailio_1  |#033[0m 21(28) ERROR: ACK|5c4ab3c9-d755-4a7a-aa79-bda94b6e6484| sl [sl_funcs.c:415]: sl_reply_error(): stateless error reply used: I'm terribly sorry, server error occurred


The Websocket list looks like this:


Server01:~# kamcmd ws.dump
{
        connections: {
                8: wss:245.245.245.245:56291 -> wss:123.123.123.123:4443 (state: OPEN,  last used 47s ago, sub-protocol: sip)
        }
        info: {
                wscounter: 1
                truncated: no
        }
}



I’m not sure what I’m doing wrong.  Any ideas?

[cid:88ec2af2-b56b-4fab-ae03-c4579009ca1f]

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
Screenshot 2025-10-08 171248.jpg (image/jpeg, 207.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.