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

Failure when using two part TLDs (namecheap) #25

Open
snk-nick opened this issue Jan 31, 2019 · 1 comment
Open

Failure when using two part TLDs (namecheap) #25

snk-nick opened this issue Jan 31, 2019 · 1 comment

Comments

@snk-nick
Copy link

snk-nick commented Jan 31, 2019

Authentication fails to namecheap when trying to use any .net.au or .com.au TLD. Using .com or .net domains under same account with same code work no issues.

Hook command "/etc/letsencrypt/scripts/lexicon-namecheap.sh create" returned error code 255 Error output from lexicon-namecheap.sh: Traceback (most recent call last): File "/usr/local/bin/lexicon", line 10, in <module> sys.exit(main()) File "/usr/local/lib/python3.5/dist-packages/lexicon/cli.py", line 117, in main results = client.execute() File "/usr/local/lib/python3.5/dist-packages/lexicon/client.py", line 71, in execute return self.provider.create_record(record_type, name, content) File "/usr/local/lib/python3.5/dist-packages/lexicon/providers/base.py", line 80, in create_record return self._create_record(rtype, name, content) File "/usr/local/lib/python3.5/dist-packages/lexicon/providers/namecheap.py", line 201, in _create_record self.client.domains_dns_addHost(self.domain, record) File "/usr/local/lib/python3.5/dist-packages/namecheap.py", line 373, in domains_dns_addHost host_records_remote = self.domains_dns_getHosts(domain) File "/usr/local/lib/python3.5/dist-packages/namecheap.py", line 346, in domains_dns_getHosts sld, tld = domain.split(".") ValueError: too many values to unpack (expected 2)

Opened up on the Lexicon issues page here, advised to let you guys know: AnalogJ/lexicon#353

@simonmcnair
Copy link

I'm having this too with a .co.uk :-(

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