<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
hi,<br>
<br>
after trying a lot i still suffer the issue and when this happens i
see the below constantly flooding the cli<br>
<br>
..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
returned -1<br>
..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864
tport_recv_event() tport_recv_event(00000006A25BB0C0)<br>
..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
returned -1<br>
..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864
tport_recv_event() tport_recv_event(00000006A25BB0C0)<br>
..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
returned -1<br>
..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864
tport_recv_event() tport_recv_event(00000006A25BB0C0)<br>
..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
returned -1<br>
..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864
tport_recv_event() tport_recv_event(00000006A25BB0C0)<br>
..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
returned -1<br>
..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864
tport_recv_event() tport_recv_event(00000006A25BB0C0)<br>
..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
returned -1<br>
<br>
<br>
<div class="moz-signature">
<style>
body {
font-family: Verdana, sans-serif;
font-size: 0.8em;
color:#484848;
}
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
p.footr { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
h1 { font-size: 1.2em; }
h2, h3 { font-size: 1.1em; }
a, a:link, a:visited { color: #2A5685;}
a:hover, a:active { color: #c61a1a; }
a.wiki-anchor { display: none; }
hr {
width: 100%;
height: 1px;
background: #ccc;
border: 0;
}
</style>Regards,<br>
Bipin<br>
<br>
<br>
<hr>
</div>
<div class="moz-cite-prefix">-------- Original Message --------<br>
Subject: Re: [Freeswitch-users] FS weird issue with TLS/SRTP and
xml_curl on windows<br>
From: Bipin Patel <a class="moz-txt-link-rfc2396E" href="mailto:bipin@xbipin.com"><bipin@xbipin.com></a><br>
To: FreeSWITCH Users Help
<a class="moz-txt-link-rfc2396E" href="mailto:freeswitch-users@lists.freeswitch.org"><freeswitch-users@lists.freeswitch.org></a><br>
Date: 12/9/2017, 10:01:40 AM<br>
</div>
<blockquote type="cite"
cite="mid:26234fe5-bb5d-a99a-3a85-cc1cd8778b90@xbipin.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<font size="-1"><font face="Arial">hi,<br>
<br>
after setting timeout etc it is better but there is something
still wrong because xml_curl doesnt seem to cache properly as
the time now shows negative and it still calls script for
registration details<br>
<br>
Time Now: -101036188<br>
Expires: 1044723532<br>
2017-12-09 09:57:29.764708 [DEBUG] switch_xml.c:1990 Cache
expired for <a class="moz-txt-link-abbreviated"
href="mailto:user@1.2.3.4" moz-do-not-send="true">user@1.2.3.4</a>,
doing fresh lookup<br>
2017-12-09 09:57:29.804735 [DEBUG] switch_xml.c:2068 caching
lookup for user <a class="moz-txt-link-abbreviated"
href="mailto:user@1.2.3.4" moz-do-not-send="true">user@1.2.3.4</a>
for 1200000 milliseconds<br>
<br>
earlier both time now and expires was negative but after
running FS with -monotonic-clock expires came to positive but
time now still negative and the php script is always called
rather than using cache<br>
<br>
<br>
</font></font>
<div class="moz-signature">
<style>
body {
font-family: Verdana, sans-serif;
font-size: 0.8em;
color:#484848;
}
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
p.footr { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
h1 { font-size: 1.2em; }
h2, h3 { font-size: 1.1em; }
a, a:link, a:visited { color: #2A5685;}
a:hover, a:active { color: #c61a1a; }
a.wiki-anchor { display: none; }
hr {
width: 100%;
height: 1px;
background: #ccc;
border: 0;
}
</style>Regards,<br>
Bipin<br>
<br>
<br>
<hr> </div>
<div class="moz-cite-prefix">-------- Original Message --------<br>
Subject: Re: [Freeswitch-users] FS weird issue with TLS/SRTP and
xml_curl on windows<br>
From: Bipin Patel <a class="moz-txt-link-rfc2396E"
href="mailto:bipin@xbipin.com" moz-do-not-send="true"><bipin@xbipin.com></a><br>
To: FreeSWITCH Users Help <a class="moz-txt-link-rfc2396E"
href="mailto:freeswitch-users@lists.freeswitch.org"
moz-do-not-send="true"><freeswitch-users@lists.freeswitch.org></a><br>
Date: 10/17/2017, 10:54:11 AM<br>
</div>
<blockquote type="cite"
cite="mid:e0bf7374-eed8-8485-aa19-e3be0775d9d4@xbipin.com">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<font size="-1"><font face="Arial">hi,<br>
<br>
the webserver and server where FS runs is same, for now i
have added the timeout options in xml_curl so lets see if it
happens again and ill report back, the other issue is for no
reason at times FS just hangs or so, running the fs_cli app
shows blank, this happened today morning itself, after
killing the process and restarting the service it went back
to normal<br>
<br>
<br>
</font></font>
<div class="moz-signature">
<style>
body {
font-family: Verdana, sans-serif;
font-size: 0.8em;
color:#484848;
}
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
p.footr { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
h1 { font-size: 1.2em; }
h2, h3 { font-size: 1.1em; }
a, a:link, a:visited { color: #2A5685;}
a:hover, a:active { color: #c61a1a; }
a.wiki-anchor { display: none; }
hr {
width: 100%;
height: 1px;
background: #ccc;
border: 0;
}
</style>Regards,<br>
Bipin<br>
<br>
<br>
<hr> </div>
<div class="moz-cite-prefix">-------- Original Message --------<br>
Subject: Re: [Freeswitch-users] FS weird issue with TLS/SRTP
and xml_curl on windows<br>
From: Godson Gera <a class="moz-txt-link-rfc2396E"
href="mailto:godson.g@gmail.com" moz-do-not-send="true"><godson.g@gmail.com></a><br>
To: FreeSWITCH Users Help <a class="moz-txt-link-rfc2396E"
href="mailto:freeswitch-users@lists.freeswitch.org"
moz-do-not-send="true"><freeswitch-users@lists.freeswitch.org></a><br>
Date: 10/16/2017, 10:45:08 AM<br>
</div>
<blockquote type="cite"
cite="mid:CAPTXd0pJ1ivi64G2tN+3JzzOZsSjn8mXWcawVabxRrH63fnF8g@mail.gmail.com">
<div dir="ltr">Hi Bipin,
<div><br>
</div>
<div>I ran into some thing like this once. Turned out to be
a the webservice which is called by xml_curl took too long
to repond and FS waited there forever with out timing out.
Later on timeout option is introduced in xml curl config.
Try setting a reasonable timeout and see if that resolves
your issue.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Oct 6, 2017 at 7:39 PM,
Bipin Patel <span dir="ltr"><<a
href="mailto:bipin@xbipin.com" target="_blank"
moz-do-not-send="true">bipin@xbipin.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> <font
size="-1"><font face="Arial">hi,<br>
<br>
i have two instances of FS running on a windows
server, one is used for routing to carriers and
that uses xml files and that works fine, the
second instance is set up to allow clients to
register to it using tls and srtp and users are
authenticated using xml_curl which calls a php
script which inturn sends the directory users
details on a register from a client. The problem
is every few hours or so FS stops accepting new
clients unless i restart the service, i check
the php script and the webserver and those are
running just fine so no idea whats causing FS to
stop calling the script or something else.<span
class="HOEnZb"><font color="#888888"><br>
<br>
<br>
</font></span></font></font><span
class="HOEnZb"><font color="#888888">
<div class="m_8589011221775890119moz-signature">--
<br>
Regards,<br>
Bipin<br>
<br>
<br>
<hr> </div>
</font></span></div>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org"
moz-do-not-send="true">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org"
moz-do-not-send="true">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature"
data-smartmail="gmail_signature"><font size="2">Thanks
& Regards,<br>
Godson Gera</font><br>
</div>
<div class="gmail_signature"
data-smartmail="gmail_signature"><font size="2"><a
href="http://godson.in" moz-do-not-send="true">FreeSWITCH
Consultant</a></font></div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org" moz-do-not-send="true">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com" moz-do-not-send="true">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org" moz-do-not-send="true">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org" moz-do-not-send="true">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com" moz-do-not-send="true">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org" moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" moz-do-not-send="true">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org" moz-do-not-send="true">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org" moz-do-not-send="true">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com" moz-do-not-send="true">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org" moz-do-not-send="true">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org" moz-do-not-send="true">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com" moz-do-not-send="true">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org" moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" moz-do-not-send="true">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org" moz-do-not-send="true">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</body>
</html>