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

Yuriy G via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <CABSP_Vc9U+bULKmHQK0w_UVz5Mtmx361Vb6nq=-QCE1cpTOcSQ@mail.gmail.com>
Take a look which socket it chose to send ACK to. Socket not found message
correlates with wrongly configured destination URI or Request URI.

On Thu, Oct 9, 2025, 08:49 Сергей Приймак via sr-users <
[email protected]> wrote:

> 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?*
>
>
>
> __________________________________________________________
> 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!
>

__________________________________________________________
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
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.