Hello, I have a couple instances of the following error in my logs. I am not sure where to start here.
ERROR:core:udp_send: sendto(sock,0x2ac741ab2828,999,0,0x2ac741ab0e50,16): Invalid argument(22) CRITICAL:core:udp_send: invalid sendtoparameters one possible reason is the server is bound to localhost and attempts to send to the net ERROR:tm:msg_send: udp_send failed ERROR:tm:t_forward_nonack: sending request failed
The system is being used for two things.
1 - a PSTN routing engine using the LCR module. I have two gateways in the same group with the same weight, so I suppose I am just doing round-robin load balancing on the two.
2 - a SIP proxy where I send INVITE to the Kamailio server with a Route header set with a fully qualified SIP URI.
I am not sure which of these two scenarios could cause this issue... mostly because I don't really know what I am looking at. Please note, this system processed about 25,000+ successful outbound calls today, and this error only cropped up 3 times in the logs.
Thanks! Geoff
El Martes, 24 de Marzo de 2009, Geoffrey Mina escribió:
Hello, I have a couple instances of the following error in my logs. I am not sure where to start here.
ERROR:core:udp_send: sendto(sock,0x2ac741ab2828,999,0,0x2ac741ab0e50,16): Invalid argument(22) CRITICAL:core:udp_send: invalid sendtoparameters one possible reason is the server is bound to localhost and attempts to send to the net ERROR:tm:msg_send: udp_send failed ERROR:tm:t_forward_nonack: sending request failed
Are you listening (also) in localhost?
No I am not listening on localhost, but the machine is multi-homed.
###### Global Parameters ##### debug=1 log_stderror=no log_facility=LOG_LOCAL0 fork=yes children=16 disable_tcp=yes listen=eth0:5060 listen=eth1:5060
eth1 is the private LAN, and in this deployment no traffic is going over that interface. The only reason I have it up is so that my nagios machine which has no public IP and no rules through our firewall can monitor it via OPTIONS messages.
Thanks! Geoff
On Mon, Mar 23, 2009 at 8:45 PM, Iñaki Baz Castillo ibc@aliax.net wrote:
El Martes, 24 de Marzo de 2009, Geoffrey Mina escribió:
Hello, I have a couple instances of the following error in my logs. I am not sure where to start here.
ERROR:core:udp_send: sendto(sock,0x2ac741ab2828,999,0,0x2ac741ab0e50,16): Invalid argument(22) CRITICAL:core:udp_send: invalid sendtoparameters one possible reason is the server is bound to localhost and attempts to send to the net ERROR:tm:msg_send: udp_send failed ERROR:tm:t_forward_nonack: sending request failed
Are you listening (also) in localhost?
-- Iñaki Baz Castillo
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
On 03/24/2009 01:08 PM, Geoffrey Mina wrote:
No I am not listening on localhost, but the machine is multi-homed.
###### Global Parameters ##### debug=1 log_stderror=no log_facility=LOG_LOCAL0 fork=yes children=16 disable_tcp=yes listen=eth0:5060 listen=eth1:5060
eth1 is the private LAN, and in this deployment no traffic is going over that interface. The only reason I have it up is so that my nagios machine which has no public IP and no rules through our firewall can monitor it via OPTIONS messages.
Looks like the server is trying to forward via a blocked socket - bound to firewalled eth1. Try to put a debug message to print the message type, source ip, from, to for all messages getting to sip server. The you will identify the case when such error occur and we can help further.
Cheers, Daniel
Thanks! Geoff
On Mon, Mar 23, 2009 at 8:45 PM, Iñaki Baz Castillo ibc@aliax.net wrote:
El Martes, 24 de Marzo de 2009, Geoffrey Mina escribió:
Hello, I have a couple instances of the following error in my logs. I am not sure where to start here.
ERROR:core:udp_send: sendto(sock,0x2ac741ab2828,999,0,0x2ac741ab0e50,16): Invalid argument(22) CRITICAL:core:udp_send: invalid sendtoparameters one possible reason is the server is bound to localhost and attempts to send to the net ERROR:tm:msg_send: udp_send failed ERROR:tm:t_forward_nonack: sending request failed
Are you listening (also) in localhost?
-- Iñaki Baz Castillo
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users