-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Report Bugs to Schlundtech.de DNS API #2246
Comments
Hello,
The issue #1261 seems to contain something similar. Armin |
Hi Armin, so, you try the following command: And this doesn't work? I just checked for myself (had an renewal for 20 Domains on May 1st) and they went through this way. Can you please send me the Full Log, because right now I can't comprehend what's going wrong here, since I can't reproduce. Best, |
Hi Michael, that is the command I use. regards |
Hi Armin, thanks for the log. While I still don't understand 100% what is going on, I can see some significant differences in the XML-Communication. The most notable would be that the result of your run within the setting of the TXT-Record comes with an Payload that says " Would you have the chance to send a full debug? Or do you have an idea where this might come from (do you have any Information in the user-panel or so?) Regards |
Hello Michael, I used --debug (or --log). Is there another option to get even more debug? I cannot tell where this is coming from. The user panel looks normal, but we do have regards |
Ah okay. The script is doing two xml requests. The first xml request contains Why is it just |
Hi Armin, yep, this is the point where the problem happens. Normally you should have the zone-information, ns-information and so on in it (at least in my logs it appears). Instead your host (h) is set to com which isn't a valid domain. I'd need more of the communication insight to find out why this happens, i think. I was hoping that debug 2 delivers more information. What drives me insane is that I can't seem to reproduce this, no matter what i try. Do you have an txt-entry with acme_challenge in the domain? Regards |
One thing to try: Just to check, whether the message would work for the further process (although, as i stated, this is not the way it should go per specification) |
Hi Michael, no, there is no TXT entry for _acme-challenge. |
Could you again send me the log? |
Yes: |
Thank you very much. So the root cause for your problem seems to be that the zones somehow are at least unexpected. As I pointed out earlier the very strange thing is that when asking for the zones instead of getting one dedicated message the API sends two (therefore the strange Could it be that you have an extra Name-Server Entry in your Zone-File on Schlundtech that isn't valid? |
May I ask you to try the following and send me the resulting xml? This is the request that results in the faulty response with summary=2. What I did in this request was to raise the limit for the result, so we can see, why there are 2 datasets, where there should be only one. |
No, there is no extra name server entry. At least none seen in my configuration. Thank you. |
Thanks a lot. This helped me understand what happens. Given the "change" and "create" attributes, I assume that the zone containing the ns10 Schlundtech-Server is somehow "historical" and that the one with nsa5 is the right one. That's why the try, with ignoring the summary tag doesn't work, because you get the information with the ns10 Nameserver which doesn't seem to be the correct one. If you can't see those 2 Zones for the same domain in your webinterface I'd suggest to ask schlund-support about how to remove the first one (or merge it), so that you only get one zone for one given domain. Please let me know if this helped, I'm very curious to learn how this situation can happen. |
Hello Michael, thank you so much. I contacted Schlundtech Support because of those 2 zones. They said this is a leftover from old days and will be removed. 5 minutes later it worked! Thanks and regards |
Hi, Anonymized standard output as follows (used staging here this but results on prod are identical) # .acme.sh/acme.sh --test --issue --dns dns_schlundtech -d domain.de -d *.domain.de
[Fri May 17 22:24:35 CEST 2024] Using ACME_DIRECTORY: https://acme-staging-v02.api.letsencrypt.org/directory
[Fri May 17 22:24:36 CEST 2024] Using CA: https://acme-staging-v02.api.letsencrypt.org/directory
[Fri May 17 22:24:36 CEST 2024] Multi domain='DNS:domain.de,DNS:*.domain.de'
[Fri May 17 22:24:39 CEST 2024] Getting webroot for domain='domain.de'
[Fri May 17 22:24:39 CEST 2024] Getting webroot for domain='*.domain.de'
[Fri May 17 22:24:39 CEST 2024] Adding txt value: G-j0DyocjLCihpg_g6P3BlgFUF-3unKSVCUxktOzI_g for domain: _acme-challenge.domain.de
[Fri May 17 22:24:39 CEST 2024] invalid domain
[Fri May 17 22:24:39 CEST 2024] invalid domain
[Fri May 17 22:24:39 CEST 2024] Error add txt for domain:_acme-challenge.domain.de
[Fri May 17 22:24:39 CEST 2024] Please add '--debug' or '--log' to check more details.
[Fri May 17 22:24:39 CEST 2024] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
So I added --debug and this seems to be a parser error, based on the response: <?xml version="1.0" encoding="UTF-8" standalone="no"?><response><result><msg><text>Parser error.</text><code>EF00000</code><type>error</type><object><type>XML parser</type><value>The entity name must immediately follow the '&' in the entity reference.</value></object></msg><status><code>E00000</code><text>Errors occurred during processing.</text><type>error</type></status></result><stid>20240517-app4-349075</stid></response> Full (well, nearly) output of the error: [Fri May 17 22:30:03 CEST 2024] POST
[Fri May 17 22:30:03 CEST 2024] _post_url='https://gateway.schlundtech.de'
[Fri May 17 22:30:03 CEST 2024] body='<?xml version="1.0" encoding="UTF-8"?>
<request>
<auth>
<user>12345678</user>
<password>********</password>
<context>10</context>
</auth>
<task>
<code>0205</code>
<view>
<children>1</children>
<limit>1</limit>
</view>
<where>
<key>name</key>
<operator>eq</operator>
<value>domain.de</value>
</where>
</task>
</request>'
[Fri May 17 22:30:03 CEST 2024] _postContentType
[Fri May 17 22:30:03 CEST 2024] Http already initialized.
[Fri May 17 22:30:03 CEST 2024] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L --trace-ascii /tmp/tmp.3CtRuYqWFd -g '
[Fri May 17 22:30:03 CEST 2024] _ret='0'
[Fri May 17 22:30:03 CEST 2024] autodns_response='<?xml version="1.0" encoding="UTF-8" standalone="no"?><response><result><msg><text>Parser error.</text><code>EF00000</code><type>error</type><object><type>XML parser</type><value>The entity name must immediately follow the '&' in the entity reference.</value></object></msg><status><code>E00000</code><text>Errors occurred during processing.</text><type>error</type></status></result><stid>20240517-app4-349075</stid></response>'
[Fri May 17 22:30:03 CEST 2024] invalid domain
[Fri May 17 22:30:03 CEST 2024] invalid domain
[Fri May 17 22:30:03 CEST 2024] Error add txt for domain:_acme-challenge.domain.de
[Fri May 17 22:30:03 CEST 2024] _on_issue_err
[Fri May 17 22:30:03 CEST 2024] Please add '--debug' or '--log' to check more details.
[Fri May 17 22:30:03 CEST 2024] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh Any idea where this goes wrong and/or what to do would be appreciated :) Thanks, edit But funny enough, after changing the password I got the exact same issue as described above from Armin, and with the info provided here, I could verify that my domain also had 2 zones and I was able to resolve it - so thank you 👍 |
This is the place to report bugs in the ddnss.de DNS API.
If you experience a bug, please report it in this issue.
The text was updated successfully, but these errors were encountered: