[Ddclient-forum] [ddclient - Help] RE: ddclient freezing
Brought to you by:
supersandro2000,
wimpunk
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 |