<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;
mso-fareast-language:EN-IN;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
{mso-style-priority:1;
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:windowtext;
mso-fareast-language:EN-US;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;
mso-fareast-language:EN-IN;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;
mso-fareast-language:EN-US;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle23
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-IN" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">Hi Daniel,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Thanks for your clarification on below query!!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">I have one more query regarding certificate , we have created new self-sign certificate and update in kamailio.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">While checking syslog I found below logs, can you please clarify on this.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">We verified file and location are same also permission also but still got below error.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNoSpacing">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)'<o:p></o:p></p>
<p class="MsoNoSpacing"><span style="background:yellow;mso-highlight:yellow">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'</span><o:p></o:p></p>
<p class="MsoNoSpacing">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<o:p></o:p></p>
<p class="MsoNoSpacing">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<o:p></o:p></p>
<p class="MsoNoSpacing"><span style="background:yellow;mso-highlight:yellow">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</span><o:p></o:p></p>
<p class="MsoNoSpacing">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)<o:p></o:p></p>
<p class="MsoNoSpacing">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)<o:p></o:p></p>
<p class="MsoNoSpacing">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<o:p></o:p></p>
<p class="MsoNoSpacing">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)<o:p></o:p></p>
<p class="MsoNoSpacing">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<o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:EN-IN">Thanks and Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:EN-IN">Mangesh Kharade</span><span style="color:windowtext;mso-fareast-language:EN-IN"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D;mso-fareast-language:EN-IN">Consultant - Microsoft Azure | Managed Services<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#002776;mso-fareast-language:EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-IN"><img width="124" height="22" style="width:1.2916in;height:.2291in" id="_x0000_i1026" src="cid:image002.png@01D4EAF5.751BF2C0" alt="cid:image003.png@01D15FFB.27B1AA80"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#002776;mso-fareast-language:EN-IN">Pune IT Park, 34 Aundh Road<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#002776;mso-fareast-language:EN-IN">Bhau Patil Marg, Pune 411020
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#002776;mso-fareast-language:EN-IN">Tel: +91.20.30204000 | Extn. 9694<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#002776;mso-fareast-language:EN-IN">VOIP: +1.713.353.7464
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#002776;mso-fareast-language:EN-IN">Mobile: +91.9168181166<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#5B9BD5;mso-fareast-language:EN-IN"><a href="mailto:Mangesh.kharade@silicus.com"><span style="color:blue">Mangesh.kharade@silicus.com</span></a>|</span><span lang="EN-US" style="font-size:10.0pt;color:#002060;mso-fareast-language:EN-IN">
</span><span style="color:windowtext;mso-fareast-language:EN-IN"><a href="http://www.silicus.com/"><span lang="EN-US" style="font-size:10.0pt;color:blue">www.silicus.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext;mso-fareast-language:EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;color:#1F497D;mso-fareast-language:EN-IN">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.</span><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-IN"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#5B9BD5;mso-fareast-language:EN-IN"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-IN">From:</span></b><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-IN"> Daniel-Constantin Mierla <miconda@gmail.com>
<br>
<b>Sent:</b> 03 April 2019 12:10 PM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>; Mangesh Kharade <Mangesh.Kharade@silicus.com>; sr-dev@lists.kamailio.org<br>
<b>Cc:</b> Shailendra Birthare <Shailendra.Birthare@silicus.com>; Nitesh Kumar <Nitesh.Kumar@silicus.com>; Anand Ayati <Anand.Ayati@silicus.com>; rjeon <rjeon@universalremote.com><br>
<b>Subject:</b> Re: [SR-Users] Kamailio-error reading: Connection reset by peer<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hello,<span style="mso-fareast-language:EN-IN"><o:p></o:p></span></p>
<p>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.<o:p></o:p></p>
<p>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.<o:p></o:p></p>
<p>Cheers,<br>
Daniel<o:p></o:p></p>
<div>
<p class="MsoNormal">On 02.04.19 15:18, Mangesh Kharade wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi Team,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">We are facing issue with kamailio application , we are not able to communicate to kamailio application getting below error.<o:p></o:p></p>
<p class="MsoNormal">Can you please suggestion us how to resolved this issue issue, it production servers and we did not get any clue to resolve it.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Error1:-<o:p></o:p></p>
<p class="MsoNormal">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)<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">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)<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">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)<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Error1:-<o:p></o:p></p>
<p class="MsoNormal">Apr 2 06:54:26 urcmcs /usr/local/sbin/kamailio[2179]: INFO: <script>: WebSocket connection from ###################:3008 has closed<o:p></o:p></p>
<p class="MsoNormal">Apr 2 06:54:26 urcmcs /usr/local/sbin/kamailio[2179]: INFO: <script>: WebSocket connection from ###################:3009 has closed<o:p></o:p></p>
<p class="MsoNormal">Apr 2 06:54:26 urcmcs /usr/local/sbin/kamailio[2179]: INFO: <script>: WebSocket connection from ###################:3010 has closed<o:p></o:p></p>
<p class="MsoNormal">Apr 2 06:54:26 urcmcs /usr/local/sbin/kamailio[2179]: INFO: <script>: WebSocket connection from ###################:3011 has closed<o:p></o:p></p>
<p class="MsoNormal">Apr 2 06:54:26 urcmcs /usr/local/sbin/kamailio[2179]: INFO: <script>: WebSocket connection from ###################:3012 has closed<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Please let us know if you need more help from our end.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:EN-IN">Thanks and Regards,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:EN-IN"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:EN-IN">Mangesh Kharade</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D;mso-fareast-language:EN-IN">Consultant - Microsoft Azure | Managed Services</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#002776;mso-fareast-language:EN-IN"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-IN"><img border="0" width="124" height="22" style="width:1.2916in;height:.2291in" id="Picture_x0020_1" src="cid:image003.png@01D4EAF4.703135A0" alt="cid:image003.png@01D15FFB.27B1AA80"></span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#002776;mso-fareast-language:EN-IN">Pune IT Park, 34 Aundh Road</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#002776;mso-fareast-language:EN-IN">Bhau Patil Marg, Pune 411020
</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#002776;mso-fareast-language:EN-IN">Tel: +91.20.30204000 | Extn. 9694</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#002776;mso-fareast-language:EN-IN">VOIP: +1.713.353.7464
</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#002776;mso-fareast-language:EN-IN">Mobile: +91.9168181166</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#5B9BD5;mso-fareast-language:EN-IN"><a href="mailto:Mangesh.kharade@silicus.com"><span style="color:blue">Mangesh.kharade@silicus.com</span></a>|</span><span lang="EN-US" style="font-size:10.0pt;color:#002060;mso-fareast-language:EN-IN">
</span><span style="mso-fareast-language:EN-IN"><a href="http://www.silicus.com/"><span lang="EN-US" style="font-size:10.0pt;color:blue">www.silicus.com</span></a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-IN"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;color:#1F497D;mso-fareast-language:EN-IN">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.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#5B9BD5;mso-fareast-language:EN-IN"> </span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-IN"><br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Kamailio (SER) - Users Mailing List<o:p></o:p></pre>
<pre><a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><o:p></o:p></pre>
<pre><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></pre>
</blockquote>
<pre>-- <o:p></o:p></pre>
<pre>Daniel-Constantin Mierla -- <a href="http://www.asipto.com">www.asipto.com</a><o:p></o:p></pre>
<pre><a href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a><o:p></o:p></pre>
<pre>Kamailio World Conference - May 6-8, 2019 -- <a href="http://www.kamailioworld.com">www.kamailioworld.com</a><o:p></o:p></pre>
</div>
</body>
</html>