Menu

#88 Timeouts using ddclient with SSL

current_version
closed
nobody
None
5
2018-08-09
2018-05-25
No

I'm trying to set up ddclient on my linux server to update my account at dynu.com, but I keep getting timeouts. What's odd is that it actually looks like the update succeeds, but then the connection times out after that, causing ddclient to consider it a failure. (And not update its cache file properly.)

I've narrowed down the problem a bit, and it seems like it only happens when I have "ssl=yes" set in my ddclient.conf file. When ssl is set, I get the timeout:

INFO: setting IP address to [my_ip] for [my_hostname]
UPDATE: updating [my_hostname]
CONNECT: api.dynu.com
CONNECTED: using SSL
SENDING: GET /nic/update?system=dyndns&hostname=[my_hostname]&myip=[my_ip] HTTP/1.0
SENDING: Host: api.dynu.com
SENDING: Authorization: Basic [my_password_hash]
SENDING: User-Agent: ddclient/3.8.3
SENDING: Connection: close
SENDING:
RECEIVE: HTTP/1.1 200 OK
RECEIVE: Date: Wed, 09 May 2018 20:20:14 GMT
RECEIVE: Server: Dynu Web Server
RECEIVE: X-Powered-By: Dynu Dynamic DNS Service
RECEIVE: Content-Length: 5
RECEIVE: Content-Type: text/html
RECEIVE:
WARNING: TIMEOUT: api.dynu.com after 120 seconds
FAILED: updating [my_hostname]: Could not connect to api.dynu.com.

But when I disable SSL, everything works fine:

INFO: setting IP address to [my_ip] for [my_hostname]
UPDATE: updating [my_hostname]
CONNECT: api.dynu.com
CONNECTED: using HTTP
SENDING: GET /nic/update?system=dyndns&hostname=[my_hostname]&myip=[my_ip] HTTP/1.0
SENDING: Host: api.dynu.com
SENDING: Authorization: Basic [my_password_hash]
SENDING: User-Agent: ddclient/3.8.3
SENDING: Connection: close
SENDING:
RECEIVE: HTTP/1.1 200 OK
RECEIVE: Date: Wed, 09 May 2018 20:19:23 GMT
RECEIVE: Server: Dynu Web Server
RECEIVE: X-Powered-By: Dynu Dynamic DNS Service
RECEIVE: Content-Length: 5
RECEIVE: Content-Type: text/html
RECEIVE:
RECEIVE: nochg
WARNING: updating [my_hostname]: nochg: No update required; unnecessary attempts to change to the current address are considered abusive

Judging from the output above, it looks like when SSL is disabled I'm successfully receiving a 5-character message "nochg". But when SSL is enabled, that message never gets received.

My ddclient.conf file is attached.

Any idea what the issue might be / how to fix?

1 Attachments

Discussion

  • David Rosenstrauch

    I think this was an issue with my router. (I upgraded it to dd-wrt, and the issue went away.) Can be closed.

     
  • wimpunk

    wimpunk - 2018-08-09
    • status: open --> closed
     

Log in to post a comment.