[OpenSIPS-Users] I need some help in websocket connection error .

Sasmita Panda spanda at 3clogic.com
Fri Jun 14 04:15:01 EDT 2019


I had a dedicated server for 1 Client . When that client faces the issue I
started looking into the logs . And this is what the error I got .

but latter on when I saw other servers which is getting used by different
client in that logs also same error coming everyday .

As a conclusion its happening with everybody .

Below is the configuration .

modparam("tls_mgm", "tls_method", "tlsv1_2")
modparam("tls_mgm", "verify_cert", "0")
modparam("tls_mgm", "require_cert", "0")
modparam("tls_mgm", "certificate",
"/usr/etc/opensips/tls/3ccloudwebrtc2019.crt")
modparam("tls_mgm", "private_key", "/usr/etc/opensips/tls/3ccloud.key")
modparam("tls_mgm", "ca_list", "/usr/etc/opensips/tls/rootCA/cacert.pem")



*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*


On Thu, Jun 13, 2019 at 6:50 PM Răzvan Crainea <razvan at opensips.org> wrote:

> Can you trace the SSL traffic between the two endpoints? Perhaps the SSL
> header give you a reason for not accepting the connection.
> Is this happening only for certain clients, or for everyone?
> Are you requiring any certificates validation?
>
> Best regards,
> Răzvan
>
> On 6/12/19 3:34 PM, Sasmita Panda wrote:
> > I am using opensips 2.2
> >   version: opensips 2.2.4 (x86_64/linux)
> >
> > I am using the proto_wss and tls_mgm module for establishing websocket
> > connection .
> >
> > I am getting bellow error again and again . Whats the reson behind this
> > and how can I solve this problem ?
> >
> >
> > Jun 10 00:00:15 localhost /usr/sbin/opensips[1548]:
> > INFO:core:probe_max_sock_buff: using snd buffer of 416 kb
> > Jun 10 00:00:15 localhost /usr/sbin/opensips[1548]:
> > INFO:core:init_sock_keepalive: TCP keepalive enabled on socket 96
> > Jun 10 00:00:15 localhost /usr/sbin/opensips[1546]:
> > ERROR:proto_wss:tls_accept: New TLS connection from 192.168.160.6:58616
> > <http://192.168.160.6:58616> failed to accept
> > Jun 10 00:00:15 localhost /usr/sbin/opensips[1546]:
> > ERROR:proto_wss:wss_read_req: cannot fix read connection
> > Jun 10 00:00:17 localhost /usr/sbin/opensips[1548]:
> > INFO:core:probe_max_sock_buff: using snd buffer of 416 kb
> > Jun 10 00:00:17 localhost /usr/sbin/opensips[1548]:
> > INFO:core:init_sock_keepalive: TCP keepalive enabled on socket 96
> > Jun 10 00:00:17 localhost /usr/sbin/opensips[1546]:
> > ERROR:proto_wss:tls_accept: New TLS connection from 192.168.175.59:12918
> > <http://192.168.175.59:12918> failed to accept
> > Jun 10 00:00:17 localhost /usr/sbin/opensips[1546]:
> > ERROR:proto_wss:wss_read_req: cannot fix read connection
> >
> >
> > Please do help .
> >
> >
> >
> > */Thanks & Regards/*
> > /Sasmita Panda/
> > /Senior Network Testing and Software Engineer/
> > /3CLogic , ph:07827611765/
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
> --
> Răzvan Crainea
> OpenSIPS Core Developer
>    http://www.opensips-solutions.com
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190614/67cf9291/attachment.html>


More information about the Users mailing list