bad authentication while ...
bad authentication while using ddclient
- 主页
- 后台控制中心
- Community Forum
- Services
- Dynamic DNS Service
- bad authentication while using ddclient
- Community Forum
- bad authentication while using ddclient
Topic: bad authentication while using ddclient
Hello,I am using the ddclient perl script to update my ip, but it seems that my username and password are always rejected.username and password are configured in /etc/ddclient.conf on my debian system.When I try with# ddclient -daemon=0 -debug -verbose -noquietThe result is (...)DEBUG: proxy = DEBUG: url = checkip.dynu.com/DEBUG: server = checkip.dynu.comCONNECT: checkip.dynu.comCONNECTED: using HTTPSENDING: GET / HTTP/1.0SENDING: Host: checkip.dynu.comSENDING: User-Agent: ddclient/3.8.2SENDING: Connection: closeSENDING: RECEIVE: HTTP/1.1 200 OKRECEIVE: Date: Wed, 19 Apr 2017 23:10:17 GMTRECEIVE: Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16RECEIVE: X-Powered-By: PHP/5.4.16RECEIVE: Content-Length: 34RECEIVE: Connection: closeRECEIVE: Content-Type: text/html; charset=UTF-8RECEIVE: RECEIVE: Current IP Address: 81.164.162.130DEBUG: get_ip: using web, checkip.dynu.com/ reports 81.164.162.130INFO: forcing updating haezebrouck.dynu.com because no cached entry exists.DEBUG: DEBUG: nic_dyndns2_update -------------------INFO: setting IP address to 81.164.162.130 for haezebrouck.dynu.comUPDATE: updating haezebrouck.dynu.comDEBUG: proxy = DEBUG: url = http://api.dynu.com/nic/update?system=dyndns&hostname=haezebrouck.dynu.com&myip=81.164.162.130DEBUG: server = api.dynu.comCONNECT: api.dynu.comCONNECTED: using SSLSENDING: GET /nic/update?system=dyndns&hostname=haezebrouck.dynu.com&myip=81.164.162.130 HTTP/1.0SENDING: Host: api.dynu.comSENDING: Authorization: Basic obcuredforsecurityreasons==SENDING: User-Agent: ddclient/3.8.2SENDING: Connection: closeSENDING: RECEIVE: HTTP/1.1 200 OKRECEIVE: Date: Wed, 19 Apr 2017 16:10:8 GMTRECEIVE: Server: Dynu Web ServerRECEIVE: X-Powered-By: Dynu Dynamic DNS ServiceRECEIVE: Content-Length: 7RECEIVE: Content-Type: text/htmlRECEIVE: RECEIVE: badauthFAILED: updating haezebrouck.dynu.com: badauth: Bad authorization (username or password)The content of ddclientconfigsyslog=yesprotocol=dyndns2use=web, web=checkip.dynu.com/, web-skip='IP Address'server=api.dynu.comlogin=loginUsedOnTheWebsitepassword=passwordUsedOnTheWebsitemail=rootmail-failure=rootdaemon=7200ssl=yesplaceholderforname.dynu.comI tried withpassword=passwordUsedOnTheWebsiteandpassword='passwordUsedOnTheWebsite'Should I configure a password for the ddclient somewhere, that is different from the password used to login to the website?
Reply with quote | Report
The authentication error is caused by the wrong hostname. The hostname you have in your account is haezebrouck.dynu.net, not haezebrouck.dynu.com.
Reply with quote | Report
Author | Topic: bad authentication while using ddclient |
---|---|
Stijn Haezebrouck Joined: 2017/1/7 |
bad authentication while using ddclient 2017年4月19日 19:06
Hello,I am using the ddclient perl script to update my ip, but it seems that my username and password are always rejected.username and password are configured in /etc/ddclient.conf on my debian system.When I try with# ddclient -daemon=0 -debug -verbose -noquietThe result is (...)DEBUG: proxy = DEBUG: url = checkip.dynu.com/DEBUG: server = checkip.dynu.comCONNECT: checkip.dynu.comCONNECTED: using HTTPSENDING: GET / HTTP/1.0SENDING: Host: checkip.dynu.comSENDING: User-Agent: ddclient/3.8.2SENDING: Connection: closeSENDING: RECEIVE: HTTP/1.1 200 OKRECEIVE: Date: Wed, 19 Apr 2017 23:10:17 GMTRECEIVE: Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16RECEIVE: X-Powered-By: PHP/5.4.16RECEIVE: Content-Length: 34RECEIVE: Connection: closeRECEIVE: Content-Type: text/html; charset=UTF-8RECEIVE: RECEIVE: Current IP Address: 81.164.162.130DEBUG: get_ip: using web, checkip.dynu.com/ reports 81.164.162.130INFO: forcing updating haezebrouck.dynu.com because no cached entry exists.DEBUG: DEBUG: nic_dyndns2_update -------------------INFO: setting IP address to 81.164.162.130 for haezebrouck.dynu.comUPDATE: updating haezebrouck.dynu.comDEBUG: proxy = DEBUG: url = http://api.dynu.com/nic/update?system=dyndns&hostname=haezebrouck.dynu.com&myip=81.164.162.130DEBUG: server = api.dynu.comCONNECT: api.dynu.comCONNECTED: using SSLSENDING: GET /nic/update?system=dyndns&hostname=haezebrouck.dynu.com&myip=81.164.162.130 HTTP/1.0SENDING: Host: api.dynu.comSENDING: Authorization: Basic obcuredforsecurityreasons==SENDING: User-Agent: ddclient/3.8.2SENDING: Connection: closeSENDING: RECEIVE: HTTP/1.1 200 OKRECEIVE: Date: Wed, 19 Apr 2017 16:10:8 GMTRECEIVE: Server: Dynu Web ServerRECEIVE: X-Powered-By: Dynu Dynamic DNS ServiceRECEIVE: Content-Length: 7RECEIVE: Content-Type: text/htmlRECEIVE: RECEIVE: badauthFAILED: updating haezebrouck.dynu.com: badauth: Bad authorization (username or password)The content of ddclientconfigsyslog=yesprotocol=dyndns2use=web, web=checkip.dynu.com/, web-skip='IP Address'server=api.dynu.comlogin=loginUsedOnTheWebsitepassword=passwordUsedOnTheWebsitemail=rootmail-failure=rootdaemon=7200ssl=yesplaceholderforname.dynu.comI tried withpassword=passwordUsedOnTheWebsiteandpassword='passwordUsedOnTheWebsite'Should I configure a password for the ddclient somewhere, that is different from the password used to login to the website?
|
timothytw Joined: 2002/5/2 |
bad authentication while using ddclient 2017年4月20日 9:10
The authentication error is caused by the wrong hostname. The hostname you have in your account is haezebrouck.dynu.net, not haezebrouck.dynu.com.
|
StijnHaezebrouck Joined: 2017/1/7 |
bad authentication while using ddclient 2017年4月20日 14:39
That was the problem indeed. I totally overlooked that.Thanks!
|
It is currently 2024年11月23日 19:37 US Mountain Standard Time
2024年11月23日 19:37