freeswitch icon indicating copy to clipboard operation
freeswitch copied to clipboard

unexpected eof while reading - websocket closed with 1.10.12

Open fkakiman opened this issue 9 months ago • 6 comments

Hi, i am working with freeSWITCH 1.10.12 on debian 12 with libsofia-sip-ua0 1.13.17, with sip.js and we are still experiencing this issue 1006

on browser side we have the websocket closed unexpectedly (see screenshot)£ on freeswitch log we have the following : ws.c:458 wss_log_errors() ws_raw_read: SSL_read: 00000001:(null):(null):(null) ws.c:458 wss_log_errors() ws_raw_read: SSL_read: 0a000126:SSL routines:(null):unexpected eof while reading ws.c:458 wss_log_errors() ws_raw_read: SSL_read: 0a000126:SSL routines:(null):unexpected eof while reading tport.c:2170 tport_shutdown0() tport_shutdown0(0x7f64bc72d080, 2) tport.c:2102 tport_close() tport_close(0x7f64bc72d080): wss/155.155.155.123:1551/sips nua_registrar.c:203 registrar_tport_error() tport error 0: Success tport.c:4253 tport_release() tport_release(0x7f64bc72d080): (nil) by 0x7f64bc243870 with (nil) nua_stack.c:301 nua_stack_event() nua(0x7f64bc243870): event i_media_error 500 Transport error detected

Image

Do you have this issue too and do you know how to solve it ?

we see sometimes that it could be due to openSSL 3.0x version , but what could we do ?

fkakiman avatar Apr 01 '25 13:04 fkakiman

same

Simoon-F avatar May 14 '25 00:05 Simoon-F

When I turned off the VPN, it returned to normal.

Simoon-F avatar May 14 '25 02:05 Simoon-F

I worked around this issue by placing a layer 7 load balancer in front of FreeSWITCH. From the logs and network trace, my gut feeling was that the issue was due to some kind of fragmentation.

two56 avatar Sep 10 '25 11:09 two56

does anyone still having this issue ? thanks

fkakiman avatar Oct 08 '25 12:10 fkakiman

Hi, just to inform i solved the issue !!

fkakiman avatar Oct 29 '25 13:10 fkakiman

Hi @fkakiman,

How do you solved the issue ? Same problem here (same versions freeSWITCH 1.10.12 on debian with libsofia-sip-ua0 1.13.17)

A problem with openSSL ? Unexpected EOF while reading ?

Thank in advance for your help !

I love Freeswitch, but with these stories, I'm going crazy haha

Mazhev29 avatar Nov 04 '25 19:11 Mazhev29