Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Error 401 #14

Open
TDGalea opened this issue Nov 30, 2020 · 4 comments
Open

HTTP Error 401 #14

TDGalea opened this issue Nov 30, 2020 · 4 comments

Comments

@TDGalea
Copy link

TDGalea commented Nov 30, 2020

Hello!
I've just tried implementing this, but regardless of how I run the script (whether with direct arguments or a %file) Python reports HTTP error 401. I've tried recreating my key & secret but still getting the same thing. Any ideas?

Python3 version 3.6.8. As far as I can tell, all dependencies are installed (although apt doesn't find any of them - perhaps I'm just being dumb.

@soneups
Copy link

soneups commented Dec 9, 2020

TDGalea - have you already created the DNS entry that you are trying to update via this script? - I have this working to host a DNS name (ISP Dynamic IP) for a local openvpn server so may be able to offer some help.

@TDGalea
Copy link
Author

TDGalea commented Dec 9, 2020

Hey soneups. After posting this, I ended up just figuring out what the domain and format of the API is and created my own Bash script which is now working flawlessly. I don't intend to advertise my own work here so I won't go further into that. As such I'm not desperate for this to work now, but I would still like to help.

The DNS entry does exist, and I tried multiple API keys but got the same result.

@soneups
Copy link

soneups commented Dec 9, 2020

So I call the script explicity via 'python3 -path-to/godaddy_dns.py %/path-to/godaddy-ddns.config'
and in the config file i have these four lines
domain
--key
key
--secret
secret
but i had already created the domain - hth

@TDGalea
Copy link
Author

TDGalea commented Dec 9, 2020

Yep, pretty much did the same thing but got the 401 error every single time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants