Hi there,
I am created a webcoket connection, now i have facing this issue below: -
ivr*CLI>
== WebSocket connection from '127.0.0.1:37076' for protocol 'sip' accepted using version '13'
[2025-03-21 11:59:58] WARNING[331974]: res_http_websocket.c:559 ws_safe_read: Web socket closed abruptly
== WebSocket connection from '127.0.0.1:37076' closed
how do i resolve this issue
You obtain detailed diagnostics from the side that closed it, which doesn’t appear to be Asterisk, and fix the reason that it closed it.
[2025-03-21 12:26:24] ERROR[332173]: iostream.c:663 ast_iostream_start_tls: Problem setting up ssl connection: error:00000001:lib(0)::reason(1), Internal SSL error
[2025-03-21 12:26:24] ERROR[332173]: tcptls.c:179 handle_tcptls_connection: Unable to set up ssl connection with peer '127.0.0.1:59512'
[2025-03-21 12:26:24] ERROR[332173]: iostream.c:563 ast_iostream_close: SSL_shutdown() failed: error:00000001:lib(0)::reason(1), Internal SSL error
when I am trying to connect webrtc application through sip.js and websocket, The websocket connection throw below error: -
[2025-03-24 06:42:39] ERROR[364547]: iostream.c:663 ast_iostream_start_tls: Problem setting up ssl connection: error:00000001:lib(0)::reason(1), Internal SSL error
[2025-03-24 06:42:39] ERROR[364547]: tcptls.c:179 handle_tcptls_connection: Unable to set up ssl connection with peer '127.0.0.1:46730'
[2025-03-24 06:42:39] ERROR[364547]: iostream.c:563 ast_iostream_close: SSL_shutdown() failed: error:00000001:lib(0)::reason(1), Internal SSL error
Please anyone know resolve this issue. can you guide me.
These three errors are common because you used self-signed certificates right? You should first go to https://127.0.0.1:8089 to accept the certificate in your browser.