So it didn't actually crash but I took this out again after a few minutes due to errors in the log. There are some that look "normal" but others that definitely do not. Normal ones look like this

Oct 9 20:06:11 kamrtc01 /usr/sbin/kamailio[1171]: INFO: tls_wolfssl [tls_domain.c:742]: sr_ssl_ctx_info_callback(): SSL handshake done
Oct 9 20:06:11 kamrtc01 /usr/sbin/kamailio[1171]: ERROR: [core/tcp_read.c:269]: tcp_read_data(): error reading: Connection reset by peer (104) ([x.x.134.10]:60314 ->
Oct 9 20:06:11 kamrtc01 /usr/sbin/kamailio[1171]: ERROR: [core/tcp_read.c:273]: tcp_read_data(): -> [y.y.124.6]:7443)
Oct 9 20:06:11 kamrtc01 /usr/sbin/kamailio[1171]: ERROR: [core/tcp_read.c:1476]: tcp_read_req(): ERROR: tcp_read_req: error reading - c: 0x7fa39fdb8ee8 r: 0x7fa39fdb9010 (-1)

Fairly sure those are just noisy and do not affect anything but we do see quite a lot of them. The more worrying ones are

Oct 9 20:06:38 kamrtc01 /usr/sbin/kamailio[1174]: WARNING: websocket [ws_frame.c:393]: decode_and_validate_ws_frame(): WebSocket reserved fields with non-zero values

Oct 9 20:07:20 kamrtc01 /usr/sbin/kamailio[1174]: INFO: <script>: START: REGISTER from sip:webrtc@webrtc.nebulaip.com (IP:z.z.241.224:38116)
Oct 9 20:07:20 kamrtc01 /usr/sbin/kamailio[1174]: BUG: tls_wolfssl [tls_server.c:861]: tls_h_encode_f(): write buffer too small (65536/65536 bytes)
Oct 9 20:07:20 kamrtc01 /usr/sbin/kamailio[1174]: ERROR: websocket [ws_frame.c:275]: encode_and_send_ws_frame(): sending WebSocket frame
Oct 9 20:07:20 kamrtc01 /usr/sbin/kamailio[1174]: ERROR: websocket [ws_frame.c:737]: ws_frame_transmit(): sending message
Oct 9 20:07:20 kamrtc01 /usr/sbin/kamailio[1178]: ERROR: [core/tcp_main.c:3903]: handle_ser_child(): received CON_ERROR for 0x7fa3a0517ec8 (id 346), refcnt 5, flags 0x4018
Oct 9 20:07:20 kamrtc01 /usr/sbin/kamailio[1174]: ERROR: registrar [reply.c:734]: reg_reply_helper(): failed to send 200 OK
Oct 9 20:07:20 kamrtc01 /usr/sbin/kamailio[1174]: WARNING: sl [../../core/forward.h:203]: msg_send_buffer(): TCP/TLS connection for WebSocket could not be found
Oct 9 20:07:20 kamrtc01 /usr/sbin/kamailio[1174]: ERROR: sl [sl_funcs.c:418]: sl_reply_error(): stateless error reply used: I'm terribly sorry, server error occurred (1/SL)
Oct 9 20:07:20 kamrtc01 /usr/sbin/kamailio[1174]: WARNING: [core/tcp_read.c:1838]: handle_io(): F_TCPCONN connection marked as bad: 0x7fa3a0517ec8 id 346 fd 18 refcnt 1 ([z.z.241.224]:38116 -> [z.z.241.224]:7443)

The duplicate mention of z.z.241.224 in that last message looks wrong. That is not our server ip but the 7443 port is the one in use on our side.

It started issuing those write buffer too small errors after about 1m10s uptime and they were then continuously issued for the next 30s before I stopped it.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/3563/1755048919@github.com>