Thread: [Ddclient-forum] [ddclient - Help] RE: ddclient freezing
Brought to you by:
supersandro2000,
wimpunk
From: SourceForge.net <no...@so...> - 2009-08-16 18:44:23
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=7565097 By: cvinh Hello This problem seems to be present in 3.8.0 as I can reproduce it several times. I use web checkip on dyndns.org The daemon is stuck just after it sends the http request : # ps aux |grep ddclient root 26917 0.0 2.1 10620 5584 pts/0 S 08:13 0:00 ddclient - reading from checkip.dyn Here are my /var/log/messages : Aug 16 08:25:57 secure ddclient[26917]: CONNECT: checkip.dyndns.org Aug 16 08:25:57 secure ddclient[26917]: CONNECTED: using HTTP Aug 16 08:25:57 secure ddclient[26917]: SENDING: GET / HTTP/1.0 Aug 16 08:25:57 secure ddclient[26917]: SENDING: Host: checkip.dyndns.org Aug 16 08:25:57 secure ddclient[26917]: SENDING: User-Agent: ddclient/3.8.0 Aug 16 08:25:57 secure ddclient[26917]: SENDING: Connection: close Aug 16 08:25:57 secure ddclient[26917]: SENDING: ... and nothing more... It seems to be related to bug #2113169 https://sourceforge.net/tracker/?func=detail&aid=2113169&group_id=116817&atid=67 6128 ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=399428 |
From: SourceForge.net <no...@so...> - 2009-08-16 21:46:41
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=7565308 By: cvinh Thanks for replying so quick. My daemon runs every 60s but I only use dyndns.org to check my IP so dyndns does not block anything. I update my dns on ovh.com but it's not the problem as ddclient does not update if the cache matches the IP address. This is fine. The problem is that sometimes, the web page checkip.dyndns.org does not reply well (I am pretty sure it's because of our ISP here in French Polynesia that does have a transparent proxy, but we cannot do anything at this level...) Sometimes, the system timeout (180s for me) does well the job and ddclient does not freeze. Here are the logs to illustrate that behaviour : Aug 16 11:05:15 secure ddclient[30159]: CONNECT: checkip.dyndns.org Aug 16 11:05:15 secure ddclient[30159]: CONNECTED: using HTTP Aug 16 11:05:15 secure ddclient[30159]: SENDING: GET / HTTP/1.0 Aug 16 11:05:15 secure ddclient[30159]: SENDING: Host: checkip.dyndns.org Aug 16 11:05:15 secure ddclient[30159]: SENDING: User-Agent: ddclient/3.8.0 Aug 16 11:05:15 secure ddclient[30159]: SENDING: Connection: close Aug 16 11:05:15 secure ddclient[30159]: SENDING: Aug 16 11:08:16 secure ddclient[30159]: RECEIVE: HTTP/1.1 200 OK#015 Aug 16 11:08:16 secure ddclient[30159]: WARNING: TIMEOUT: checkip.dyndns.org after 120 seconds Aug 16 11:08:16 secure ddclient[30159]: WARNING: unable to determine IP address But sometimes, the timeout does not work... Here are my last logs before the daemon freezed again. Now it's 11:27, it's been 10 minutes it's stucked. Aug 16 11:16:27 secure ddclient[30159]: CONNECT: checkip.dyndns.org Aug 16 11:16:27 secure ddclient[30159]: CONNECTED: using HTTP Aug 16 11:16:27 secure ddclient[30159]: SENDING: GET / HTTP/1.0 Aug 16 11:16:27 secure ddclient[30159]: SENDING: Host: checkip.dyndns.org Aug 16 11:16:27 secure ddclient[30159]: SENDING: User-Agent: ddclient/3.8.0 Aug 16 11:16:27 secure ddclient[30159]: SENDING: Connection: close Aug 16 11:16:27 secure ddclient[30159]: SENDING: Aug 16 11:16:28 secure ddclient[30159]: RECEIVE: HTTP/1.1 200 OK#015 Aug 16 11:16:28 secure ddclient[30159]: RECEIVE: Content-Type: text/html#015 Aug 16 11:16:28 secure ddclient[30159]: RECEIVE: Server: DynDNS-CheckIP/1.0#015 Aug 16 11:16:28 secure ddclient[30159]: RECEIVE: Cache-Control: no-cache#015 Aug 16 11:16:28 secure ddclient[30159]: RECEIVE: Pragma: no-cache#015 Aug 16 11:16:29 secure ddclient[30159]: RECEIVE: Content-length: 105#015 Aug 16 11:16:29 secure ddclient[30159]: RECEIVE: Connection: close#015 Aug 16 11:16:29 secure ddclient[30159]: RECEIVE: Date: Sun, 16 Aug 2009 21:16:28 GMT#015 Aug 16 11:16:29 secure ddclient[30159]: RECEIVE: #015 Aug 16 11:16:29 secure ddclient[30159]: RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP Address: 202.90.76.180</body></html>#015 Aug 16 11:16:29 secure ddclient[30159]: SUCCESS: pf-easypme.invitu.com: skipped: IP address was already set to 202.90.76.180. Aug 16 11:17:29 secure ddclient[30159]: CONNECT: checkip.dyndns.org Aug 16 11:17:29 secure ddclient[30159]: CONNECTED: using HTTP Aug 16 11:17:29 secure ddclient[30159]: SENDING: GET / HTTP/1.0 Aug 16 11:17:29 secure ddclient[30159]: SENDING: Host: checkip.dyndns.org Aug 16 11:17:29 secure ddclient[30159]: SENDING: User-Agent: ddclient/3.8.0 Aug 16 11:17:29 secure ddclient[30159]: SENDING: Connection: close Aug 16 11:17:29 secure ddclient[30159]: SENDING: ... and that's it Here's my conf file : daemon=60 # check every 60 seconds syslog=yes # log update msgs to syslog mail=root # mail all msgs to root mail-failure=root # mail failed update msgs to root pid=/var/run/ddclient.pid # record PID in file. ssl=yes # use ssl-support. Works with verbose=yes debug=yes timeout=20 use=web protocol=dyndns2 server=www.ovh.com login=invitu.com-easypme password=******* pf-easypme.invitu.com the full result of `ddclient -daemon=0 -debug -verbose -noquiet` does not show more logs. Do you think you would still need it ? (it's hard to catch it as the problem occurs randomly and I must wait 3 minutes to check if the timeout works or not) PS: I tried with the last svn rev111, same thing I tried the modification found in the bug 2113169 but I have a segfault... Actually, the only solution I found is to restart ddclient every hour which is not elegant... Regards ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=399428 |
From: SourceForge.net <no...@so...> - 2009-08-17 07:00:46
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=7565749 By: wimpunk You get blocked because of your 60 seconds: see http://www.dyndns.com/developers/checkip.html for more information. As they say on the bottom of the place: Checks must be spaced 10 minutes apart to help reduce server load. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=399428 |
From: SourceForge.net <no...@so...> - 2009-08-17 08:33:24
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=7565895 By: cvinh Humm, you're right... thank you ! By the way, ddclient should not freeze like that, timeout should do its job, don't you think so ? I guess that if I want to have more reactivity for my IP change, I should check my IP on my router status webpage... I have a linksys WAG200G, I added the corresponding status page in ddclient : 'linksys-wag200g' => { 'name' => 'Linksys WAG200G FW', 'url' => '/setup.cgi?next_file=Status.htm', 'skip' => 'IP Address:', }, Regards ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=399428 |
From: SourceForge.net <no...@so...> - 2009-08-16 19:06:57
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=7565115 By: wimpunk Could you please post the full result of `ddclient -daemon=0 -debug -verbose -noquiet` and try to understand the logging. If you don't understand or find an error, post your config and the result on http://ddclient.pastebin.ca and post a link here. If you have a daemon setting less than 600, your just blocked by dyndns. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=399428 |