[Freeswitch-users] Gateway registration issue, can only be solved through "killgw"

Roman_ lists at ione.ch
Mon Aug 9 20:02:43 PDT 2010


Hi all,

I experienced an issue with gateway registration yesterday, where the
registration first failed with a "Request Timeout (408)" error and after
that it kept failing with "Bad Request (400)". It kept retrying periodically
with increasing delays in between, but even after almost 24 hours the
registration still failed (and with delays of about 40 minutes between
attempts).
Only then did I notice that the gateway had failed, and restarting the
gateway ("killgw" then "rescan") immediately solved the problem and the
gateway registered successfully.

This is part of the log:

2010-08-08 16:31:30.464055 [ERR] sofia_reg.c:1502 gateyway.com Registration
Failed with status Request Timeout [408]. failure #1
2010-08-08 16:31:35.444058 [WARNING] sofia_reg.c:387 gateway.com Failed
Registration, setting retry to 60 seconds.
2010-08-08 16:32:54.674056 [NOTICE] sofia_reg.c:342 Registering gateway.com
2010-08-08 16:32:54.744052 [ERR] sofia_reg.c:1502 gateway.com Registration
Failed with status Bad Request [400]. failure #2
2010-08-08 16:33:04.614052 [WARNING] sofia_reg.c:387 gateway.com Failed
Registration, setting retry to 90 seconds.

this then continued for almost 24 hours before I noticed it, always with
error code 400.

Now, what worries me about this is that the gateway stopped working, but was
not able to recover from the problem by itself. Only manual intervention by
restarting the gateway solved the issue.

Is there any way I can make sure that the gateway does not get stuck like
this and can recover by itself? Does the fact that it did not recover by
itself not suggest that there might be a bug in Freeswitch when registration
fails, which prevents a successful registration until one manually kills and
restarts the gateway?

I am using the Freeswitch version from the master branch of the git
repository, compiled on July 19.

Any help is appreciated, thanks.

Best regards,

Roman

-- 
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Gateway-registration-issue-can-only-be-solved-through-killgw-tp5391507p5391507.html
Sent from the freeswitch-users mailing list archive at Nabble.com.



More information about the FreeSWITCH-users mailing list