DDCLIENT Bad Auth (Username or Password) DDCLIENT Bad Auth (Userna...

Argomento: DDCLIENT Bad Auth (Username or Password)

Post DDCLIENT Bad Auth (Username or Password)
di josephspoon su giovedì 30 agosto 2018

Hello,

I am having an issue where I'm getting bad auth no matter what username and password I put in for authentication.

Platform - Raspbian

My Configuration File:

protocol=dyndns2
use=web, if=eth0
server=api.dynu.com
login=<username no quotes>
password=<password single quotes>
test2.mydomain.com (not actual domain, setup as an A record)

Output from a sudo ddclient -daemon=0 -debug -verbose -noquiet:
=== opt ====
opt{cache} : <undefined>
opt{cmd} : <undefined>
opt{cmd-skip} : <undefined>
opt{daemon} : 0
opt{debug} : 1
opt{exec} : <undefined>
opt{facility} : <undefined>
opt{file} : <undefined>
opt{force} : <undefined>
opt{fw} : <undefined>
opt{fw-login} : <undefined>
opt{fw-password} : <undefined>
opt{fw-skip} : <undefined>
opt{geturl} : <undefined>
opt{help} : <undefined>
opt{host} : <undefined>
opt{if} : <undefined>
opt{if-skip} : <undefined>
opt{ip} : <undefined>
opt{login} : <undefined>
opt{mail} : <undefined>
opt{mail-failure} : <undefined>
opt{max-interval} : 2592000
opt{min-error-interval} : 300
opt{min-interval} : 30
opt{options} : <undefined>
opt{password} : <undefined>
opt{pid} : <undefined>
opt{postscript} : <undefined>
opt{priority} : <undefined>
opt{protocol} : <undefined>
opt{proxy} : <undefined>
opt{query} : <undefined>
opt{quiet} : 0
opt{retry} : <undefined>
opt{server} : <undefined>
opt{ssl} : <undefined>
opt{syslog} : <undefined>
opt{test} : <undefined>
opt{timeout} : <undefined>
opt{use} : <undefined>
opt{verbose} : 1
opt{web} : <undefined>
opt{web-skip} : <undefined>
=== globals ====
globals{daemon} : 60
globals{debug} : 1
globals{if} : eth0
globals{login} : <username> (removed for privacy)
globals{password} : <password> (removed for privacy)
globals{protocol} : dyndns2
globals{quiet} : 0
globals{server} : api.dynu.com
globals{use} : web
globals{verbose} : 1
=== config ====
config{test2.mydomain.com}{atime} : 0
config{test2.mydomain.com}{backupmx} : 0
config{test2.mydomain.com}{cacheable} : ARRAY(0x1af93c0)
config{test2.mydomain.com}{cmd} : <undefined>
config{test2.mydomain.com}{cmd-skip} :
config{test2.mydomain.com}{custom} : 0
config{test2.mydomain.com}{fw} :
config{test2.mydomain.com}{fw-login} : <undefined>
config{test2.mydomain.com}{fw-password} :
config{test2.mydomain.com}{fw-skip} :
config{test2.mydomain.com}{host} : test2.mydomain.com
config{test2.mydomain.com}{if} : eth0
config{test2.mydomain.com}{if-skip} :
config{test2.mydomain.com}{ip} : <undefined>
config{test2.mydomain.com}{login} : <username> (removed for privacy)
config{test2.mydomain.com}{max-interval} : 2592000
config{test2.mydomain.com}{min-error-interval} : 300
config{test2.mydomain.com}{min-interval} : 30
config{test2.mydomain.com}{mtime} : 0
config{test2.mydomain.com}{mx} :
config{test2.mydomain.com}{password} :<password> (removed for privacy)
config{test2.mydomain.com}{protocol} : dyndns2
config{test2.mydomain.com}{server} : api.dynu.com
config{test2.mydomain.com}{static} : 0
config{test2.mydomain.com}{status} :
config{test2.mydomain.com}{use} : web
config{test2.mydomain.com}{warned-min-error-interval} : 0
config{test2.mydomain.com}{warned-min-interval} : 0
config{test2.mydomain.com}{web} : dyndns
config{test2.mydomain.com}{web-skip} :
config{test2.mydomain.com}{wildcard} : 0
config{test2.mydomain.com}{wtime} : 30
=== cache ====
cache{test2.mydomain.com}{atime} : 0
cache{test2.mydomain.com}{backupmx} : 0
cache{test2.mydomain.com}{custom} : 0
cache{test2.mydomain.com}{host} : test2.mydomain.com
cache{test2.mydomain.com}{mtime} : 0
cache{test2.mydomain.com}{mx} :
cache{test2.mydomain.com}{static} : 0
cache{test2.mydomain.com}{status} : badauth
cache{test2.mydomain.com}{warned-min-error-interval} : 1535643910
cache{test2.mydomain.com}{warned-min-interval} : 0
cache{test2.mydomain.com}{wildcard} : 0
cache{test2.mydomain.com}{wtime} : 30
DEBUG: proxy =
DEBUG: url = http://checkip.dyndns.org/
DEBUG: server = checkip.dyndns.org
CONNECT: checkip.dyndns.org
CONNECTED: using HTTP
SENDING: GET / HTTP/1.0
SENDING: Host: checkip.dyndns.org
SENDING: User-Agent: ddclient/3.8.0
SENDING: Connection: close
SENDING:
RECEIVE: HTTP/1.1 200 OK
RECEIVE: Content-Type: text/html
RECEIVE: Server: DynDNS-CheckIP/1.0.1
RECEIVE: Connection: close
RECEIVE: Cache-Control: no-cache
RECEIVE: Pragma: no-cache
RECEIVE: Content-Length: 105
RECEIVE:
RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP Address: (MY IP - REMOVED)</body></html>
DEBUG: get_ip: using web, http://checkip.dyndns.org/ reports (MY IP - REMOVED)
DEBUG:
DEBUG: nic_dyndns2_update -------------------
INFO: setting IP address to (MY IP REMOVED) for test2.mydomain.com
UPDATE: updating test2.mydomain.com
DEBUG: proxy =
DEBUG: url = http://api.dynu.com/nic/update?system=dyndns&hostname=test2.mydomaincom&myip=(MY IP REMOVED)
DEBUG: server = api.dynu.com
CONNECT: api.dynu.com
CONNECTED: using HTTP
SENDING: GET /nic/update?system=dyndns&hostname=test2.mydomain.com&myip=(MY IP REMOVED) HTTP/1.0
SENDING: Host: api.dynu.com
SENDING: Authorization: Basic am9zZXBoc3Bvb246QnJhc3NzdGl4MTEx
SENDING: User-Agent: ddclient/3.8.0
SENDING: Connection: close
SENDING:
RECEIVE: HTTP/1.1 200 OK
RECEIVE: Date: Thu, 30 Aug 2018 15:45:18 GMT
RECEIVE: Server: Dynu Web Server
RECEIVE: X-Powered-By: Dynu Dynamic DNS Service
RECEIVE: Content-Length: 7
RECEIVE: Content-Type: text/html; charset=UTF-8
RECEIVE:
RECEIVE: badauth
FAILED: updating test2.mydomain.com: badauth: Bad authorization (username or password)

I have tried my account email, my account username, my account password, I also reset the IP update password two different times from more complicated to less complicated and i get the same results. I've reinstalled ddclient and the issue persists. I'm sure there's something that i'm missing but cannot find what that may be. All assistance is appreciated.

Thanks

Rispondi con citazione | Segnalare
Post Re: DDCLIENT Bad Auth (Username or Password)
di acoustic17 su martedì 4 settembre 2018

test2.mydomain.com (not actual domain, setup as an A record) is the problem. You will have to sign up for test2.mydomain.com as a real domain.

Otherwise, use mydomain.com&alias=test2.

Rispondi con citazione | Segnalare
mercoledì 4 dicembre 2024 17:16
Loading...