Closed jimtyrro closed 4 years ago
Thank you for replying.
I did run
export ME_Key="sdfsdfsdfljlbjkljlkjsdfoiwje"
export ME_Secret="qdfqsdfkjdskfj"
And it did save them into.
~/.acme.sh/account.conf
What else could I check?
Anyone?
[Mon Jan 14 04:52:19 UTC 2019] 'dns_me' does not contain 'dns'
is probably the issue, I don't have this in my debug log. I would recommend doing a new clone of the repo and just try running command from that folder
Thank you for suggestion. OK, I will try but the DNS manual mode works fine.
'dns_me' does not contain 'dns'
what does it mean?
It looks like DnsMadeEasy has added some fields to their output:
{
"axfrServer": {
"fqdn": "axfr1.dnsmadeeasy.com",
"groupId": 1,
"ipv4": "63.219.151.3"
},
"delegateNameServers": [
"ns0.dnsmadeeasy.com.",
"ns1.dnsmadeeasy.com.",
"ns2.dnsmadeeasy.com.",
"ns3.dnsmadeeasy.com.",
"ns4.dnsmadeeasy.com.",
"ns5.dnsmadeeasy.com."
],
"transferAclId": 1234,
"processMulti": false,
"activeThirdParties": [],
"gtdEnabled": false,
"nameServers": [
{
"ipv6": "2600:1800:0::1",
"fqdn": "ns0.dnsmadeeasy.com",
"groupId": 1,
"ipv4": "208.94.148.2",
"id": 1
},
{
"ipv6": "2600:1801:1::1",
"fqdn": "ns1.dnsmadeeasy.com",
"groupId": 1,
"ipv4": "208.80.124.2",
"id": 2
},
{
"ipv6": "2600:1802:2::1",
"fqdn": "ns2.dnsmadeeasy.com",
"groupId": 1,
"ipv4": "208.80.126.2",
"id": 3
},
{
"ipv6": "2600:1801:3::1",
"fqdn": "ns3.dnsmadeeasy.com",
"groupId": 1,
"ipv4": "208.80.125.2",
"id": 4
},
{
"ipv6": "2600:1802:4::1",
"fqdn": "ns4.dnsmadeeasy.com",
"groupId": 1,
"ipv4": "208.80.127.2",
"id": 5
}
],
"updated": 1581047237147,
"folderId": 12345,
"pendingActionId": 0,
"created": 1580515200000,
"name": "example.com",
"id": 123456789
}
This is breaking the simple grep that is looking for domain id, as there are now multiple keys for "id", and without context, the grep line is grabbing the first one.
This code is fragile, and I can't think of a non-fragile way to handle this only using basic tools like grep.
This creates a dependency on the jq utility being installed, but it is a lot cleaner:
_domain_id=$(printf "%s\n" "$response" | jq .id )
I also started experiencing this issue, and the fix above works. The edit is to replace this file:line here
@Blfrg can you send a PR ?
I can confirm this fix is working. I also experienced this problem today and this solution has fixed it.
Thank you ptol.
Also had this issue since a few days. Seems DNS Made Easy added an array with nameservers that also contain "id"
.
Fixed it by replacing head -n 1
with tail -n 1
so the last "id"
is used from the JSON response. This is not as clean as using jq, but does not require the dependency.
Steps to reproduce
acme.sh --issue -d mydomain.com -d *.mydomain.com --dns dns_me --keylength ec-384 --debug 2
Debug log
Any help highly appreciated. What could be the problem?