<div dir="ltr"><div><div><div>Hi all,<br></div>Issue was resolved when i changed opensips git revision but now i am facing new issue related to WSS connection.<br><br>Jan 10 19:20:50 localhost /usr/local/sbin/opensips[9024]: ERROR:proto_wss:wss_read_req: cannot fix read connection<br>Jan 10 19:20:51 localhost /usr/local/sbin/opensips[9049]: INFO:core:probe_max_sock_buff: using snd buffer of 416 kb<br>Jan 10 19:20:51 localhost /usr/local/sbin/opensips[9049]: INFO:core:init_sock_keepalive: TCP keepalive enabled on socket 80<br>Jan 10 19:20:51 localhost /usr/local/sbin/opensips[9024]: ERROR:proto_wss:tls_accept: New TLS connection from <a href="http://192.168.1.114:35916">192.168.1.114:35916</a> failed to accept<br><br></div>I have followed all steps mentioned here:<br><a href="http://www.opensips.org/Documentation/Tutorials-WebSocket-2-2">http://www.opensips.org/Documentation/Tutorials-WebSocket-2-2</a></div><div><br></div>Please provide your suggestion. <br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 8, 2018 at 2:45 PM, Ravindrakumar Bhatt <span dir="ltr"><<a href="mailto:ravindra.bhatt@ecosmob.com" target="_blank">ravindra.bhatt@ecosmob.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"> Thanks for pointing out but its ok as its testing server.<div><div class="h5"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 8, 2018 at 2:21 PM, Callum Guy <span dir="ltr"><<a href="mailto:callum.guy@x-on.co.uk" target="_blank">callum.guy@x-on.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Just a reminder that you've left your password in that paste in case its not a test system</div><div><div><font color="#333333" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px"><br></span></font></div><ol class="m_-8082424870173513401m_-7323854658889950735inbox-inbox-text" style="color:rgb(172,172,172);background:rgb(247,247,247);margin:0px;padding:0px 0px 0px 55px;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace,serif;font-size:12px"><li class="m_-8082424870173513401m_-7323854658889950735inbox-inbox-li1" style="background:rgb(255,255,255)"><div class="m_-8082424870173513401m_-7323854658889950735inbox-inbox-de1" style="padding:0px 8px;vertical-align:top;color:rgb(51,51,51);border-left:1px solid rgb(221,221,221);background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">modparam("avpops", "db_url","mysql://root:hpC1kk6<wbr>K@localhost/inmate_services")</div></li></ol></div></div><div><div class="m_-8082424870173513401h5"><br><div class="gmail_quote"><div dir="ltr">On Sat, Jan 6, 2018 at 5:56 AM Ravindrakumar Bhatt <<a href="mailto:ravindra.bhatt@ecosmob.com" target="_blank">ravindra.bhatt@ecosmob.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="auto">Thanks for responding but I am not using postgres or mongodb. i am using mysql.<br></div><div><br></div><div>Please review my opensips config file if it helps to understand issue.</div><div><a href="https://pastebin.com/CY8zxHGN" target="_blank">https://pastebin.com/CY8zxHGN</a><br></div></div><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 05-Jan-2018 7:42 PM, "Răzvan Crainea" <<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<tt><tt>The problem seems to be with either postgres or mongodb. Are
you using any of these modules?<br>
</tt>For more information, please follow this issue[1] on GitHub.<br>
<br>
[1] <a class="m_-8082424870173513401m_-7323854658889950735m_-8443432175168206353gmail-m_-4822957587605551370m_-8465317240120298915moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/issues/1114" target="_blank">https://github.com/OpenSIPS/op<wbr>ensips/issues/1114</a><br>
<br>
Best regards,<br>
</tt>
<pre class="m_-8082424870173513401m_-7323854658889950735m_-8443432175168206353gmail-m_-4822957587605551370m_-8465317240120298915moz-signature" cols="72">Răzvan Crainea
OpenSIPS Developer
<a class="m_-8082424870173513401m_-7323854658889950735m_-8443432175168206353gmail-m_-4822957587605551370m_-8465317240120298915moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
<div class="m_-8082424870173513401m_-7323854658889950735m_-8443432175168206353gmail-m_-4822957587605551370m_-8465317240120298915moz-cite-prefix">On 01/05/2018 03:22 PM, Ravindrakumar
Bhatt wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>Hi all,<br>
</div>
I am using opensips 2.3 and i want to configure opensips for
wss and tls but when i try to start opensips i am getting
following error.<br>
<br>
</div>
Error:<br>
<br>
Jan 5 18:33:17 localhost /usr/local/sbin/opensips[1452]<wbr>:
<a class="m_-8082424870173513401m_-7323854658889950735m_-8443432175168206353gmail-m_-4822957587605551370m_-8465317240120298915moz-txt-link-freetext">INFO:core:mod_init</a>: initializing UDP-plain protocol<br>
Jan 5 18:33:17 localhost /usr/local/sbin/opensips[1452]<wbr>:
<a class="m_-8082424870173513401m_-7323854658889950735m_-8443432175168206353gmail-m_-4822957587605551370m_-8465317240120298915moz-txt-link-freetext">INFO:proto_ws:mod_init</a>: initializing WebSocket protocol<br>
Jan 5 18:33:17 localhost /usr/local/sbin/opensips[1452]<wbr>:
<a class="m_-8082424870173513401m_-7323854658889950735m_-8443432175168206353gmail-m_-4822957587605551370m_-8465317240120298915moz-txt-link-freetext">INFO:proto_wss:mod_init</a>: initializing Secure WebSocket protocol<br>
Jan 5 18:33:17 localhost /usr/local/sbin/opensips[1452]<wbr>:
<a class="m_-8082424870173513401m_-7323854658889950735m_-8443432175168206353gmail-m_-4822957587605551370m_-8465317240120298915moz-txt-link-freetext">INFO:tls_mgm:mod_init</a>: initializing TLS management<br>
Jan 5 18:33:17 localhost /usr/local/sbin/opensips[1452]<wbr>:
ERROR:tls_mgm:mod_init: unable to set the memory allocation
functions<br>
Jan 5 18:33:17 localhost /usr/local/sbin/opensips[1452]<wbr>:
ERROR:tls_mgm:mod_init: NOTE: check if you are using openssl
1.0.1e-fips, (or other FIPS version of openssl, as this is known
to be broken; if so, you need to upgrade or downgrade to a
different openssl version!<br>
Jan 5 18:33:17 localhost /usr/local/sbin/opensips[1452]<wbr>:
ERROR:tls_mgm:mod_init: current version: OpenSSL 1.0.2k-fips 26
Jan 2017<br>
Jan 5 18:33:17 localhost /usr/local/sbin/opensips[1452]<wbr>:
ERROR:core:init_mod: failed to initialize module tls_mgm<br>
Jan 5 18:33:17 localhost /usr/local/sbin/opensips[1452]<wbr>:
ERROR:core:main: error while initializing modules<br>
Jan 5 18:33:17 localhost /usr/local/sbin/opensips[1452]<wbr>:
<a class="m_-8082424870173513401m_-7323854658889950735m_-8443432175168206353gmail-m_-4822957587605551370m_-8465317240120298915moz-txt-link-freetext">INFO:core:cleanup</a>: cleanup<br>
Jan 5 18:33:17 localhost /usr/local/sbin/opensips[1452]<wbr>:
NOTICE:core:main: Exiting....<br>
Jan 5 18:33:17 localhost opensips: <a class="m_-8082424870173513401m_-7323854658889950735m_-8443432175168206353gmail-m_-4822957587605551370m_-8465317240120298915moz-txt-link-freetext">INFO:core:daemonize</a>:
pre-daemon process exiting with -1<br>
<br>
<div>
<div>
<div>
<div>Opensips version:</div>
<div><br>
</div>
<div>version: opensips 2.3.2 (x86_64/linux)<br>
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP,
PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>
poll method support: poll, epoll_lt, epoll_et, sigio_rt,
select.<br>
git revision: 823044b<br>
main.c compiled on 12:52:21 Jan 5 2018 with gcc 4.8.5</div>
<div><br>
</div>
<div>Openssl version: OpenSSL 1.0.2k-fips 26 Jan 2017</div>
<div> <br>
</div>
<div>OS Details:CentOS Linux release 7.4.1708 (Core)<br>
</div>
<div> </div>
<div>So where is the problem and do i have to downgrade
openssl version?</div>
<div>Please provide your feedback on this issue.<br>
</div>
<div>
<div class="m_-8082424870173513401m_-7323854658889950735m_-8443432175168206353gmail-m_-4822957587605551370m_-8465317240120298915gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div>
<div>
<div><b>Thanks and Regards,<br>
</b></div>
<div><b>Ravindrakumar Bhatt<br>
</b></div>
<div dir="ltr">
<div>Jr. Software Developer </div>
<div>Ecosmob Technologies Ltd</div>
<div>Ahmedabad</div>
<div>Mo:<b><a href="tel:+91%2084606%2092402" value="+918460692402" target="_blank">+918460692402</a></b></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="m_-8082424870173513401m_-7323854658889950735m_-8443432175168206353gmail-m_-4822957587605551370m_-8465317240120298915mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-8082424870173513401m_-7323854658889950735m_-8443432175168206353gmail-m_-4822957587605551370m_-8465317240120298915moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_-8082424870173513401m_-7323854658889950735m_-8443432175168206353gmail-m_-4822957587605551370m_-8465317240120298915moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div></div>
</div>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
</blockquote></div><br clear="all"><br></div></div>-- <br><div dir="ltr" class="m_-8082424870173513401m_-7323854658889950735gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Callum Guy<div>Head of Information Security</div><div>X-on</div></div></div>
<br>
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;text-align:justify"><font size="3" face="Verdana"><span style="font-size:8px;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline"></span></font></p><img src="http://www.x-on.co.uk/email/footer/banner-x-on.jpg"><br><p><font size="4"><span style="font-size:8px;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline"></span><b><sup><font face="Verdana">0333 332 0000 | <a href="http://www.x-on.co.uk" target="_blank">www.x-on.co.uk</a> | <sub> </sub></font></sup></b></font><font size="4"><b><sub><sup><font face="Verdana"><a href="https://www.linkedin.com/company/x-on" target="_blank"><img src="http://www.x-on.co.uk//images/icon/linkedin.png" width="24" height="24"></a> <a href="https://www.facebook.com/XonTel" target="_blank"><img src="http://www.x-on.co.uk//images/icon/facebook.png" width="24" height="24"></a> <a href="https://twitter.com/xonuk" target="_blank"><img src="http://www.x-on.co.uk//images/icon/twitter.png" width="24" height="24"></a></font></sup></sub> </b></font>
<span style="font-size:6.0pt;font-family:Verdana;color:black"><br>X-on
is a trading name of Storacall Technology Ltd a limited company registered in
England and Wales.<br>
Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead,
Herts, HP3 9SD. Company Registration No. 2578478.<br>
The information in this e-mail is confidential and for use by the addressee(s)
only. If you are not the intended recipient, please notify X-on immediately on <span>+44(0)333 332 0000</span> and delete the<br>message from your computer. If you are not a named addressee you must not use,
disclose, disseminate, distribute, copy, print or reply to this email. </span><span style="font-size:6.0pt;font-family:Verdana;color:black">Views
or opinions expressed by an individual<br>within this email may not necessarily
reflect the views of X-on or its associated companies. Although X-on routinely
screens for viruses, addressees should scan this email and any attachments<br>for
viruses. X-on makes no representation or warranty as to the absence of viruses
in this email or any attachments.</span></p>
<p><span style="font-size:6.0pt;font-family:Verdana;color:black"></span><font size="2"><span style="font-size:6.0pt;font-family:Verdana;color:black"></span></font></p><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="m_-8082424870173513401gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><div><div><b>Thanks and Regards,<br></b></div><div><b>Ravindrakumar Bhatt<br></b></div><div dir="ltr"><div>Jr. Software Developer </div><div>Ecosmob Technologies Ltd</div><div>Ahmedabad</div><div>Mo:<b>+918460692402</b></div></div></div></div>
</div></div></div></div></div>
</div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><div><div><b>Thanks and Regards,<br></b></div><div><b>Ravindrakumar Bhatt<br></b></div><div dir="ltr"><div>Jr. Software Developer </div><div>Ecosmob Technologies Ltd</div><div>Ahmedabad</div><div>Mo:<b>+918460692402</b></div></div></div></div>
</div></div></div></div></div>
</div>