Hi Lonut-Razvan, <div><br></div><div>Thank you! :)<span></span><br><br>On Thursday, 24 September 2015, Ionut Ionita <<a href="mailto:ionutionita@opensips.org">ionutionita@opensips.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Arsen,<br>
<br>
If i completely understand the problem, the server doesn't provide the deserved response. The problem in this case is that rc_send_server function which is used by rc_acct function (which gives you the error) uses a blocking socket and recvfrom blocks until it receives the RADIUS message response. You can see the source code here [0] line 224. Blocking causes problems in scheduling other timers in opensips, in your case tm and dialog timers, and that is the cause for your warnings. So it is a drawback of the freeradius-client(or radiusclient-ng) implementation. We tried to solve this problem in opensips 2.2 with radius async features[1].<br>
<br>
Regards,<br>
Ionut-Razvan Ionita<br>
<br>
[0] <a href="https://github.com/FreeRADIUS/freeradius-client/blob/master/lib/sendserver.c" target="_blank">https://github.com/FreeRADIUS/freeradius-client/blob/master/lib/sendserver.c</a><br>
[1] <a href="http://www.opensips.org/html/docs/modules/2.2.x/aaa_radius.html#id294274" target="_blank">http://www.opensips.org/html/docs/modules/2.2.x/aaa_radius.html#id294274</a><br>
<br>
On 24.09.2015 14:12, Arsen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I constantly get following Warnings and opensips seems fails to work once I try to send a custom accounting request to a remote Radius server.<br>
<br>
Sep 24 10:46:24 ip-172-31-22-93 /usr/sbin/opensips[14435]: LOG: WITHINDLG: [BYE FROM: <a href="http://sip:256779346904@31.22.1.133:5060" target="_blank">sip:256779346904@31.22.1.133:5060</a> <<a href="http://sip:256779346904@31.22.1.133:5060" target="_blank">http://sip:256779346904@31.22.1.133:5060</a>> TO: <a href="http://sip:447451904526@31.22.1.133:5060" target="_blank">sip:447451904526@31.22.1.133:5060</a> <<a href="http://sip:447451904526@31.22.1.133:5060" target="_blank">http://sip:447451904526@31.22.1.133:5060</a>>]<br>
Sep 24 10:46:25 ip-172-31-22-93 /usr/sbin/opensips[14432]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already schedualed for 89610 ms (now 89710 ms), it may overlap..<br>
Sep 24 10:46:25 ip-172-31-22-93 /usr/sbin/opensips[14432]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already schedualed for 89710 ms (now 89810 ms), it may overlap..<br>
Sep 24 10:46:25 ip-172-31-22-93 /usr/sbin/opensips[14432]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already schedualed for 89810 ms (now 89910 ms), it may overlap..<br>
Sep 24 10:46:25 ip-172-31-22-93 /usr/sbin/opensips[14432]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already schedualed for 89910 ms (now 90010 ms), it may overlap..<br>
Sep 24 10:46:25 ip-172-31-22-93 /usr/sbin/opensips[14432]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already schedualed for 90010 ms (now 90110 ms), it may overlap..<br>
Sep 24 10:46:25 ip-172-31-22-93 /usr/sbin/opensips[14432]: WARNING:core:timer_ticker: timer task <dlg-pinger> already schedualed for 30680 ms (now 90110 ms), it may overlap..<br>
<br>
I can confirm that the radius packages have been send to the server and I see them on the radius server, but no reply:<br>
<br>
Sep 24 10:46:27 ip-172-31-22-93 /usr/sbin/opensips[14436]: rc_send_server: no reply from RADIUS server <a href="http://remote_radius.com:1813" target="_blank">remote_radius.com:1813</a> <<a href="http://remote_radius.com:1813" target="_blank">http://remote_radius.com:1813</a>><br>
Sep 24 10:46:27 ip-172-31-22-93 /usr/sbin/opensips[14436]: ERROR:aaa_radius:send_acct_func: radius accounting message failed to send<br>
<br>
It works with a local freeradius server but not with a remote one..<br>
<br>
Any advices?<br>
<br>
-- <br>
Regards,<br>
Arsen.<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a>Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a>Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br><br>-- <br>Regards,<br>Arsen.<br><br>