Hi Daniel,
Thanks for your clarification on below query!!
I have one more query regarding certificate , we have created new self-sign certificate and update in kamailio.
While checking syslog I found below logs, can you please clarify on this.
We verified file and location are same also permission also but still got below error.
Apr 2 06:53:24 urcmcs /usr/local/sbin/kamailio[2102]: INFO: tls [tls_domain.c:312]: fill_missing(): TLSs<172.16.244.9:5061>: cipher_list='(null)'
Apr 2 06:53:24 urcmcs /usr/local/sbin/kamailio[2102]: INFO: tls [tls_domain.c:319]: fill_missing(): TLSs<172.16.244.9:5061>: private_key='/etc/certs/demoCA/####################.###/key.pem'
Apr 2 06:53:24 urcmcs /usr/local/sbin/kamailio[2102]: INFO: tls [tls_domain.c:323]: fill_missing(): TLSs<172.16.244.9:5061>: verify_certificate=1
Apr 2 06:53:24 urcmcs /usr/local/sbin/kamailio[2102]: INFO: tls [tls_domain.c:326]: fill_missing(): TLSs<172.16.244.9:5061>: verify_depth=9
Apr 2 06:53:24 urcmcs /usr/local/sbin/kamailio[2102]: INFO: tls [tls_domain.c:661]: set_verification(): TLSs<172.16.244.9:5061>: IF client provides certificate then it MUST be valid
Apr 2 06:53:24 urcmcs /usr/local/sbin/kamailio[2176]: INFO: ctl [io_listener.c:225]: io_listen_loop(): io_listen_loop: using epoll_lt io watch method (config)
Apr 2 06:53:54 urcmcs /usr/local/sbin/kamailio[2240]: ERROR: <core> [tcp_read.c:299]: tcp_read_data(): error reading: Connection reset by peer (104)
Apr 2 06:53:54 urcmcs /usr/local/sbin/kamailio[2240]: ERROR: <core> [tcp_read.c:1326]: tcp_read_req(): ERROR: tcp_read_req: error reading
Apr 2 06:54:12 urcmcs /usr/local/sbin/kamailio[2244]: ERROR: <core> [tcp_read.c:299]: tcp_read_data(): error reading: Connection reset by peer (104)
Apr 2 06:54:12 urcmcs /usr/local/sbin/kamailio[2244]: ERROR: <core> [tcp_read.c:1326]: tcp_read_req(): ERROR: tcp_read_req: error reading
Thanks and Regards,
Mangesh Kharade
Consultant - Microsoft Azure | Managed Services
Pune IT Park, 34 Aundh Road
Bhau Patil Marg, Pune 411020
Tel: +91.20.30204000 | Extn. 9694
VOIP: +1.713.353.7464
Mobile: +91.9168181166
Mangesh.kharade@silicus.com|
www.silicus.com
The information in this email is confidential and may be legally privileged. It is intended solely for the addressee and access to it by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken based on it, is strictly prohibited and may be unlawful.
From: Daniel-Constantin Mierla <miconda@gmail.com>
Sent: 03 April 2019 12:10 PM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>; Mangesh Kharade <Mangesh.Kharade@silicus.com>; sr-dev@lists.kamailio.org
Cc: Shailendra Birthare <Shailendra.Birthare@silicus.com>; Nitesh Kumar <Nitesh.Kumar@silicus.com>; Anand Ayati <Anand.Ayati@silicus.com>; rjeon <rjeon@universalremote.com>
Subject: Re: [SR-Users] Kamailio-error reading: Connection reset by peer
Hello,
these messages can be printed when the remote party is closing the connection, it can be also a middle node like a home nat router.
Another case could be when the tls connection negotation fails, or that you should run kamailio with debug=3, but if it is a production system, then it might be too verbose. Maybe you can just increase the verbosity for tls module via debugger module.
Cheers,
Daniel
On 02.04.19 15:18, Mangesh Kharade wrote:
Hi Team,
We are facing issue with kamailio application , we are not able to communicate to kamailio application getting below error.
Can you please suggestion us how to resolved this issue issue, it production servers and we did not get any clue to resolve it.
Error1:-
Apr 2 06:53:54 urcmcs /usr/local/sbin/kamailio[2240]: ERROR: <core> [tcp_read.c:299]: tcp_read_data(): error reading: Connection reset by peer (104)
Apr 2 06:53:54 urcmcs /usr/local/sbin/kamailio[2240]: ERROR: <core> [tcp_read.c:1326]: tcp_read_req(): ERROR: tcp_read_req: error reading
Apr 2 06:54:12 urcmcs /usr/local/sbin/kamailio[2244]: ERROR: <core> [tcp_read.c:299]: tcp_read_data(): error reading: Connection reset by peer (104)
Apr 2 06:54:12 urcmcs /usr/local/sbin/kamailio[2244]: ERROR: <core> [tcp_read.c:1326]: tcp_read_req(): ERROR: tcp_read_req: error reading
Apr 2 06:54:17 urcmcs /usr/local/sbin/kamailio[2244]: ERROR: <core> [tcp_read.c:299]: tcp_read_data(): error reading: Connection reset by peer (104)
Apr 2 06:54:17 urcmcs /usr/local/sbin/kamailio[2244]: ERROR: <core> [tcp_read.c:1326]: tcp_read_req(): ERROR: tcp_read_req: error reading
Error1:-
Apr 2 06:54:26 urcmcs /usr/local/sbin/kamailio[2179]: INFO: <script>: WebSocket connection from ###################:3008 has closed
Apr 2 06:54:26 urcmcs /usr/local/sbin/kamailio[2179]: INFO: <script>: WebSocket connection from ###################:3009 has closed
Apr 2 06:54:26 urcmcs /usr/local/sbin/kamailio[2179]: INFO: <script>: WebSocket connection from ###################:3010 has closed
Apr 2 06:54:26 urcmcs /usr/local/sbin/kamailio[2179]: INFO: <script>: WebSocket connection from ###################:3011 has closed
Apr 2 06:54:26 urcmcs /usr/local/sbin/kamailio[2179]: INFO: <script>: WebSocket connection from ###################:3012 has closed
Please let us know if you need more help from our end.
Thanks and Regards,
Mangesh Kharade
Consultant - Microsoft Azure | Managed Services
Pune IT Park, 34 Aundh Road
Bhau Patil Marg, Pune 411020
Tel: +91.20.30204000 | Extn. 9694
VOIP: +1.713.353.7464
Mobile: +91.9168181166
Mangesh.kharade@silicus.com| www.silicus.com
The information in this email is confidential and may be legally privileged. It is intended solely for the addressee and access to it by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken based on it, is strictly prohibited and may be unlawful.
_______________________________________________Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com