[OpenSIPS-Users] tls_mgm module issue

Ravindrakumar Bhatt ravindra.bhatt at ecosmob.com
Wed Jan 10 09:02:03 EST 2018


Hi all,
Issue was resolved when i changed opensips git revision but now i am facing
new issue related to WSS connection.

Jan 10 19:20:50 localhost /usr/local/sbin/opensips[9024]:
ERROR:proto_wss:wss_read_req: cannot fix read connection
Jan 10 19:20:51 localhost /usr/local/sbin/opensips[9049]:
INFO:core:probe_max_sock_buff: using snd buffer of 416 kb
Jan 10 19:20:51 localhost /usr/local/sbin/opensips[9049]:
INFO:core:init_sock_keepalive: TCP keepalive enabled on socket 80
Jan 10 19:20:51 localhost /usr/local/sbin/opensips[9024]:
ERROR:proto_wss:tls_accept: New TLS connection from 192.168.1.114:35916
failed to accept

I have followed all steps mentioned here:
http://www.opensips.org/Documentation/Tutorials-WebSocket-2-2

Please provide your suggestion.


On Mon, Jan 8, 2018 at 2:45 PM, Ravindrakumar Bhatt <
ravindra.bhatt at ecosmob.com> wrote:

>  Thanks for pointing out but its ok as its testing server.
>
>
> On Mon, Jan 8, 2018 at 2:21 PM, Callum Guy <callum.guy at x-on.co.uk> wrote:
>
>> Just a reminder that you've left your password in that paste in case its
>> not a test system
>>
>>
>>    1. modparam("avpops", "db_url","mysql://root:hpC1kk6K@localhost
>>    /inmate_services")
>>
>>
>> On Sat, Jan 6, 2018 at 5:56 AM Ravindrakumar Bhatt <
>> ravindra.bhatt at ecosmob.com> wrote:
>>
>>> Thanks for responding but I am not using postgres or mongodb. i am using
>>> mysql.
>>>
>>> Please review my opensips config file if it helps to understand issue.
>>> https://pastebin.com/CY8zxHGN
>>>
>>> On 05-Jan-2018 7:42 PM, "Răzvan Crainea" <razvan at opensips.org> wrote:
>>>
>>>> The problem seems to be with either postgres or mongodb. Are you using
>>>> any of these modules?
>>>> For more information, please follow this issue[1] on GitHub.
>>>>
>>>> [1] https://github.com/OpenSIPS/opensips/issues/1114
>>>>
>>>> Best regards,
>>>>
>>>> Răzvan Crainea
>>>> OpenSIPS Developerwww.opensips-solutions.com
>>>>
>>>> On 01/05/2018 03:22 PM, Ravindrakumar Bhatt wrote:
>>>>
>>>> Hi all,
>>>> 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.
>>>>
>>>> Error:
>>>>
>>>> Jan  5 18:33:17 localhost /usr/local/sbin/opensips[1452]:
>>>> INFO:core:mod_init: initializing UDP-plain protocol
>>>> Jan  5 18:33:17 localhost /usr/local/sbin/opensips[1452]:
>>>> INFO:proto_ws:mod_init: initializing WebSocket protocol
>>>> Jan  5 18:33:17 localhost /usr/local/sbin/opensips[1452]:
>>>> INFO:proto_wss:mod_init: initializing Secure WebSocket protocol
>>>> Jan  5 18:33:17 localhost /usr/local/sbin/opensips[1452]:
>>>> INFO:tls_mgm:mod_init: initializing TLS management
>>>> Jan  5 18:33:17 localhost /usr/local/sbin/opensips[1452]:
>>>> ERROR:tls_mgm:mod_init: unable to set the memory allocation functions
>>>> Jan  5 18:33:17 localhost /usr/local/sbin/opensips[1452]:
>>>> 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!
>>>> Jan  5 18:33:17 localhost /usr/local/sbin/opensips[1452]:
>>>> ERROR:tls_mgm:mod_init: current version: OpenSSL 1.0.2k-fips  26 Jan 2017
>>>> Jan  5 18:33:17 localhost /usr/local/sbin/opensips[1452]:
>>>> ERROR:core:init_mod: failed to initialize module tls_mgm
>>>> Jan  5 18:33:17 localhost /usr/local/sbin/opensips[1452]:
>>>> ERROR:core:main: error while initializing modules
>>>> Jan  5 18:33:17 localhost /usr/local/sbin/opensips[1452]:
>>>> INFO:core:cleanup: cleanup
>>>> Jan  5 18:33:17 localhost /usr/local/sbin/opensips[1452]:
>>>> NOTICE:core:main: Exiting....
>>>> Jan  5 18:33:17 localhost opensips: INFO:core:daemonize: pre-daemon
>>>> process exiting with -1
>>>>
>>>> Opensips version:
>>>>
>>>> version: opensips 2.3.2 (x86_64/linux)
>>>> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
>>>> F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
>>>> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
>>>> MAX_URI_SIZE 1024, BUF_SIZE 65535
>>>> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
>>>> git revision: 823044b
>>>> main.c compiled on 12:52:21 Jan  5 2018 with gcc 4.8.5
>>>>
>>>> Openssl version: OpenSSL 1.0.2k-fips  26 Jan 2017
>>>>
>>>> OS Details:CentOS Linux release 7.4.1708 (Core)
>>>>
>>>> So where is the problem and do i have to downgrade openssl version?
>>>> Please provide your feedback on this issue.
>>>>
>>>> *Thanks and Regards, *
>>>>
>>>> *Ravindrakumar Bhatt *
>>>> Jr. Software Developer
>>>> Ecosmob Technologies Ltd
>>>> Ahmedabad
>>>> Mo:*+918460692402 <+91%2084606%2092402>*
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>
>>
>> --
>> Callum Guy
>> Head of Information Security
>> X-on
>>
>>
>> *0333 332 0000  |  www.x-on.co.uk <http://www.x-on.co.uk>  |   **
>> <https://www.linkedin.com/company/x-on>   <https://www.facebook.com/XonTel>
>>   <https://twitter.com/xonuk> *
>> X-on is a trading name of Storacall Technology Ltd a limited company
>> registered in England and Wales.
>> Registered Office : Avaland House, 110 London Road, Apsley, Hemel
>> Hempstead, Herts, HP3 9SD. Company Registration No. 2578478.
>> 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 +44(0)333 332 0000 and delete the
>> 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. Views
>> or opinions expressed by an individual
>> 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
>> for viruses. X-on makes no representation or warranty as to the absence
>> of viruses in this email or any attachments.
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> --
>
> *Thanks and Regards,*
>
> *Ravindrakumar Bhatt*
> Jr. Software Developer
> Ecosmob Technologies Ltd
> Ahmedabad
> Mo:*+918460692402*
>



-- 

*Thanks and Regards,*

*Ravindrakumar Bhatt*
Jr. Software Developer
Ecosmob Technologies Ltd
Ahmedabad
Mo:*+918460692402*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180110/4cfff1ec/attachment-0001.html>


More information about the Users mailing list