question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DnsMadeEasy authentication issue

See original GitHub issue

Hey everyone,

Dnsmadeeasy is throwing an exception with the following command: lexicon dnsmadeeasy --auth-username="xxxx" --auth-token="xxxx" list mydomain.com TXT where auth-username is API key & auth-token is Secret key.

root@test:~# lexicon dnsmadeeasy --auth-username="xxxx" --auth-token="xxxx" list mydomain.com TXT
Arguments: Namespace(action='list', auth_token='xxxx', auth_username='xxxx', content=None, delegated=None, domain='mydomain.com', identifier=None, name=None, priority=None, provider_name='dnsmadeeasy', ttl=None, type='TXT')
Starting new HTTPS connection (1): api.dnsmadeeasy.com
https://api.dnsmadeeasy.com:443 "GET /V2.0/dns/managed/name?domainname=mydomain.com HTTP/1.1" 403 79
Traceback (most recent call last):
  File "/usr/local/bin/lexicon", line 11, in <module>
    load_entry_point('dns-lexicon==2.1.12', 'console_scripts', 'lexicon')()
  File "/usr/local/lib/python2.7/dist-packages/lexicon/__main__.py", line 69, in main
    client.execute()
  File "/usr/local/lib/python2.7/dist-packages/lexicon/client.py", line 38, in execute
    self.provider.authenticate()
  File "/usr/local/lib/python2.7/dist-packages/lexicon/providers/dnsmadeeasy.py", line 40, in authenticate
    raise e
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.dnsmadeeasy.com/V2.0/dns/managed/name?domainname=mydomain.com

I’ve already made sure the keys are correct. Appreciate any tips on troubleshooting this.

EDIT: This issue has been resolved. If anyone is still facing issues relating to authentication, reset your clock with correct date/time.

Kind regards, Pavin Joseph.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
AnalogJcommented, Dec 1, 2017

v2.1.13 is now released and includes a fix for this issue.

3reactions
nydrcommented, Nov 28, 2017

I’ve opened a PR which should resolve this. I suspect it’s caused by Babel depending on the en_US locale being installed on your machine so I replaced that part with the python standard library

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently Asked Questions | DNS Made Easy
Browse our FAQ page and find the answers for all your queries related to DNS hosting and other managed DNS services.
Read more >
Enable Two Factor Authentication - DNS Made Easy support
Two-Factor authentication allows a DNS Made Easy user to implement the second method of verification for account access in addition to the ...
Read more >
Configure SMTP Service - DNS Made Easy support
Configuring SMTP authentication. Add the user name and password you would like to use to authenticate to the DNS Made Easy SMTP server,...
Read more >
DNS Activity Log
The activity log is an incredibly useful tool that is integrated into the DNS Made Easy control panel. View every change or action...
Read more >
DNS Made Easy | Fast and Most Reliable Provider
DNS Made Easy is a top provider that offers best DNS management services and tools. Sign up for free and enjoy the fastest...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found