<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Olle,<br>
<br>
Do you have any other errors in log before the lines you already
mentioned ?<br>
<br>
Regards,<br>
<br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Summit 2018
<a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam">http://www.opensips.org/events/Summit-2018Amsterdam</a>
</pre>
<div class="moz-cite-prefix">On 04/03/2018 08:31 PM, Olle Frimanson
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:021e01d3cb71$8c609840$a521c8c0$@zaark.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<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 - förformaterad Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
tt
{mso-style-priority:99;
font-family:"Courier New";}
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;}
span.HTML-frformateradChar
{mso-style-name:"HTML - förformaterad Char";
mso-style-priority:99;
mso-style-link:"HTML - förformaterad";
font-family:"Consolas",serif;
color:black;}
span.E-postmall21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-postmall22
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-postmall23
{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:70.85pt 70.85pt 70.85pt 70.85pt;}
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]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">Hi ,<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" lang="EN-US">Sorry
I think I type incorrect in my previous mail, just tested
again and I get same error:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">2018-04-03T17:26:02.238170+00:00
err sipedge-qa-1 ERROR:tm:msg_send: send() to
172.27.251.4:5060 for proto tcp/2 failed<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">2018-04-03T17:26:02.238590+00:00
err sipedge-qa-1 ERROR:tm:t_forward_nonack: sending request
failed<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">This
is a snippet from my config:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">#
Internal<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">listen=udp:172.27.0.17:5070
AS 172.27.0.17:5070<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">listen=tcp:172.27.0.17:5070
AS 172.27.0.17:5070<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">…..<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">
if (is_method("INVITE") || is_method("REGISTER")) {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">
xlog("L_INFO","$ci|Route0|Change du|Add homeproxy to path");<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">
$du = <a class="moz-txt-link-rfc2396E" href="sip:172.27.251.4:5060">"sip:172.27.251.4:5060"</a>;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">
xlog("L_INFO","$ci|Route0|force_send_socket|");<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">
force_send_socket(tcp:172.27.0.17:5070);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">
xlog("L_INFO","$ci|Route0|Record route|");<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">
record_route("");<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">
if (!t_relay()) {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">
sl_reply_error();<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">
};<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">Br/Olle<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US"><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
style="color:windowtext;mso-fareast-language:SV">Från:</span></b><span
style="color:windowtext;mso-fareast-language:SV">
Bogdan-Andrei Iancu [<a class="moz-txt-link-freetext" href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>] <br>
<b>Skickat:</b> den 3 april 2018 18:03<br>
<b>Till:</b> OpenSIPS users mailling list
<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a>; Olle Frimanson
<a class="moz-txt-link-rfc2396E" href="mailto:olle@zaark.com"><olle@zaark.com></a><br>
<b>Ämne:</b> Re: [OpenSIPS-Users] Problem with
force_send_socket<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi Olle,</span></tt><span
style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
<tt>Are you sure the setup is correct ? based on the error
log </tt><br>
</span><br>
<tt><span style="font-size:10.0pt" lang="EN-US">2018-03-22T16:58:50.517287+00:00
err sipedge-qa-1 ERROR:tm:msg_send: send() to
172.27.251.4:5070 for proto tcp/2 failed</span></tt><span
style="font-size:10.0pt;font-family:"Courier New""
lang="EN-US"><br>
<br>
<tt>you are trying to send to 172.27.251.4:5070 as
destination. In the same time, you use the same IP and
port as local socket (as source). </tt><br>
<br>
<br>
</span><tt><span style="font-size:10.0pt">Best regards,</span></tt><span
style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
</span><span style="mso-fareast-language:SV"><o:p></o:p></span></p>
<pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
<pre> <a href="http://www.opensips-solutions.com" moz-do-not-send="true">http://www.opensips-solutions.com</a><o:p></o:p></pre>
<pre>OpenSIPS Summit 2018<o:p></o:p></pre>
<pre> <a href="http://www.opensips.org/events/Summit-2018Amsterdam" moz-do-not-send="true">http://www.opensips.org/events/Summit-2018Amsterdam</a><o:p></o:p></pre>
<div>
<p class="MsoNormal">On 03/22/2018 07:17 PM, Olle Frimanson
wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US">Hi , we are using
Opensips 2.3.3 and have a setup with </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">UAC- Edge Proxy –
Registrar – Freeswitch</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Clients connect using
TLS and we use UDP for internal communication.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Edge proxy use
force_send_socket(udp:172.27.251.4:5070) and all have been
fine even for packets of around 1700 bytes.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Now we have installed
the system in a new environment and have started to see
MTU problems and we want to switch to TCP for the internal
communication.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">We have switched to
setting the sent socket to tcp:
force_send_socket(tcp:172.27.251.4:5070) but this fails.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">We listen on the same
port on both UDP and TCP.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">With debug logging
this is the only output:</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">2018-03-22T16:58:50.517287+00:00
err sipedge-qa-1 ERROR:tm:msg_send: send() to
172.27.251.4:5070 for proto tcp/2 failed</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">2018-03-22T16:58:50.517669+00:00
err sipedge-qa-1 ERROR:tm:t_forward_nonack: sending
request failed</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Any ideas?</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Thanks in advance /
Olle</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:SV"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Users mailing list<o:p></o:p></pre>
<pre><a href="mailto:Users@lists.opensips.org" moz-do-not-send="true">Users@lists.opensips.org</a><o:p></o:p></pre>
<pre><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="mso-fareast-language:SV"><o:p> </o:p></span></p>
</div>
</blockquote>
<br>
</body>
</html>