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

Report bugs to World4You dns api #3269

Open
NerLOR opened this issue Nov 26, 2020 · 25 comments
Open

Report bugs to World4You dns api #3269

NerLOR opened this issue Nov 26, 2020 · 25 comments
Assignees
Labels
3rd party api report bugs to dns api, deploy hooks and notification hooks

Comments

@NerLOR
Copy link
Contributor

NerLOR commented Nov 26, 2020

This is the place to report bugs in the World4You DNS API.

If you experience a bug, please report it in this issue.

Thanks!

@Neilpang Neilpang added the 3rd party api report bugs to dns api, deploy hooks and notification hooks label Nov 27, 2020
@thefox69
Copy link

get an error "Unable to parse paketnr".
used command: ./acme.sh --issue --dns dns_world4you -d example.com -d www.example.com
Tried it with different World4you domain/accounts

Logging in is successfull, but paketno. cannot be read
Log extract:
[So Dez 20 19:32:25 CET 2020] Successfully logged in
[So Dez 20 19:32:25 CET 2020] GET
[So Dez 20 19:32:25 CET 2020] url='https://my.world4you.com/en/dashboard/paketuebersicht'
[So Dez 20 19:32:25 CET 2020] timeout=
[So Dez 20 19:32:25 CET 2020] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g '
[So Dez 20 19:32:26 CET 2020] ret='0'
[So Dez 20 19:32:26 CET 2020] Unable to parse paketnr

Thanks!

@NerLOR
Copy link
Contributor Author

NerLOR commented Dec 20, 2020

Bug already fixed. If you need the solution immediatly, use https://github.com/NerLOR/acme.sh
I also made a pull request, so the fix should be soon available in the official repo.

@thefox69
Copy link

thefox69 commented Dec 20, 2020

Thanks for fast response, just copied the dns_world4you.sh now i get an different error:

[So Dez 20 20:25:04 CET 2020] Using world4you to add record
[So Dez 20 20:25:04 CET 2020] Logging in...
[So Dez 20 20:25:06 CET 2020] Successfully logged in
[So Dez 20 20:25:08 CET 2020] Adding record...
[So Dez 20 20:25:10 CET 2020] Unable to add record:
grafik

@NerLOR
Copy link
Contributor Author

NerLOR commented Dec 20, 2020

Can you send me the full "HTML-Document"? (If you wish, you can obfuscate any sensitive information)

@thefox69
Copy link

Attached a copy of the html console output, so maybe not well formated
html-reccorded.zip

@NerLOR
Copy link
Contributor Author

NerLOR commented Dec 20, 2020

Thank you. I tried to figure out, what went wrong, but I found nothing yet. For me the script works fine after the last fix and the GitHub tests didn't fail until now either. Your html-document is a ... strange response from world4you... (did you start multiple acme.sh/world4you instances at once or tried to log in in the web interface during the script ran?)

I'll try to look into it in the next days.

@FloJ12
Copy link

FloJ12 commented Apr 28, 2022

[Thu Apr 28 07:57:13 CEST 2022] _CURL='curl --silent --dump-header /root/.acme.sh/http.header --trace-ascii /tmp/tmp.XBzZd9M2i2 -g '
[Thu Apr 28 07:57:13 CEST 2022] _ret='0'
[Thu Apr 28 07:57:13 CEST 2022] GET
[Thu Apr 28 07:57:13 CEST 2022] url='https://my.world4you.com/en/6/dns'
[Thu Apr 28 07:57:13 CEST 2022] timeout=
[Thu Apr 28 07:57:13 CEST 2022] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L --trace-ascii /tmp/tmp.5iS0nWoXUO -g '
[Thu Apr 28 07:57:14 CEST 2022] ret='0'
[Thu Apr 28 07:57:22 CEST 2022] Unable to add record: Unknown error
[Thu Apr 28 07:57:22 CEST 2022] Error add txt for domain:_acme-challenge.*************
[Thu Apr 28 07:57:22 CEST 2022] _on_issue_err
[Thu Apr 28 07:57:22 CEST 2022] Please add '--debug' or '--log' to check more details.
[Thu Apr 28 07:57:22 CEST 2022] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh

Hello, I get following error when trying to renew a certificate with world4you dns challenge

@NerLOR
Copy link
Contributor Author

NerLOR commented Apr 28, 2022

Hi. This is strange... for me everything works just fine.

Are you sure, you work with the latest version? Is it possible, that you have 2FA enabled for your World4You account?
It seems, that the URL https://my.world4you.com/en/6/dns should contain more than just only this '6'...

Can you provide more information for this issue?

@FloJ12
Copy link

FloJ12 commented Apr 28, 2022

latest version of acme
2FA is not enabled.
It seems to me, that the txt entries are set, I can see them on the web portal, but it fails nevertheless

@NerLOR
Copy link
Contributor Author

NerLOR commented Apr 28, 2022

Is it possible, that you run multiple instances of this api at once or log in to World4You during execution? World4You only allows one active session, all previous session will be automatically logged out. Perhaps something like this happens?

@FloJ12
Copy link

FloJ12 commented Apr 28, 2022

no, I have created a certificate with acme on Jan 13, 2022, which I now wanted to renew. So i run acme.sh --renew -d *** --force
I am not logged in anywhere

@FloJ12
Copy link

FloJ12 commented Apr 28, 2022

could it be that the issue is that the certificate has two domains in it? I validate srv1.###.at and srv2.###.at in one certificate

@NerLOR
Copy link
Contributor Author

NerLOR commented Apr 28, 2022

Gernerally multi-domain certificates work. I use 'example.com' and '*.example.com' in one certificate. Acme simply executes the dns api for each domain, one after the other (as fas as I know).

@FloJ12
Copy link

FloJ12 commented Apr 28, 2022

okay. I also deactivated dnssec, but it didnt help.
what else could I try?
Issuing a new certificate fails with the same error

@NerLOR
Copy link
Contributor Author

NerLOR commented Apr 28, 2022

I found a small error in my code and fixed it: NerLOR@12d9acd

You can apply this change manually and should see some html files created for debugging. These might help you

@FloJ12
Copy link

FloJ12 commented Apr 28, 2022

Error-01.html:

    <title>Redirecting to /en/paketauswahl/dns</title>
</head>
<body>
    Redirecting to <a href="/en/paketauswahl/dns">/en/paketauswahl/dns</a>.
</body>

Error-02 is the DNS Entries area for me as customer. I am not sure if it helps you to find the error though and I don't want to scan through all the possible sensible data.

Is this expected behavior?

@NerLOR
Copy link
Contributor Author

NerLOR commented Apr 28, 2022

Yes, this is expected behavior. Error-02 may give you some insight on what went wrong. Try to search for some message box or something...

@NerLOR
Copy link
Contributor Author

NerLOR commented Apr 28, 2022

Hi! I updated the code again: NerLOR@f6b2b4a

For me it now says: Unable to add record: my.world4you.com: The chosen action has already been carried out too often today.

So I will have to wait until tomorrow for further testing. But you might be able to get a more descriptive error message with the new fixes :)

@FloJ12
Copy link

FloJ12 commented Apr 28, 2022

[Thu Apr 28 19:52:18 CEST 2022] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g '
[Thu Apr 28 19:52:19 CEST 2022] ret='0'
[Thu Apr 28 19:52:19 CEST 2022] Unable to add record: my.world4you.com:
[Thu Apr 28 19:52:19 CEST 2022] Error add txt for domain:_acme-challenge.****
[Thu Apr 28 19:52:19 CEST 2022] _on_issue_err
[Thu Apr 28 19:52:19 CEST 2022] Please add '--debug' or '--log' to check more details.
[Thu Apr 28 19:52:19 CEST 2022] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[Thu Apr 28 19:52:19 CEST 2022] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/103051323957/gR-7AQ'
[Thu Apr 28 19:52:19 CEST 2022] payload='{}'
[Thu Apr 28 19:52:20 CEST 2022] POST
[Thu Apr 28 19:52:20 CEST 2022] _post_url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/103051323957/gR-7AQ'
[Thu Apr 28 19:52:20 CEST 2022] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g '
[Thu Apr 28 19:52:20 CEST 2022] _ret='0'
[Thu Apr 28 19:52:20 CEST 2022] code='200'
[Thu Apr 28 19:52:20 CEST 2022] socat doesn't exist.
[Thu Apr 28 19:52:21 CEST 2022] Diagnosis versions:
openssl:openssl
OpenSSL 1.0.2k-fips 26 Jan 2017
apache:
apache doesn't exist.
nginx:
nginx doesn't exist.
socat:
[Thu Apr 28 19:52:21 CEST 2022] pid
[Thu Apr 28 19:52:21 CEST 2022] No need to restore nginx, skip.
[Thu Apr 28 19:52:21 CEST 2022] _clearupdns
[Thu Apr 28 19:52:21 CEST 2022] dns_entries
[Thu Apr 28 19:52:21 CEST 2022] skip dns.

I am sorry, no new debug error messages

@NerLOR
Copy link
Contributor Author

NerLOR commented Apr 28, 2022

Can you verify, that the number in /en/<NR>/dns actually is your real "Paketnummer"? (For me it's in the format of 3XXXXXXX)

@FloJ12
Copy link

FloJ12 commented Apr 28, 2022

yes, you are right. If I go in the dns panel on w4y, there it says 3XXXXXX
if I enter /en/6/dns when logged in, I am redirected to that number

@FloJ12
Copy link

FloJ12 commented Apr 28, 2022

could it be that there is a problem with the new webhosting paket which is named Webhosting Complete 6 ?
on the top of the panel it says Webhosting Complete 6, 3XXXXXXX

@NerLOR
Copy link
Contributor Author

NerLOR commented Apr 28, 2022

I tried to fix _parse_paket_nr: NerLOR@68faaf1

please check, if this works for you.

@FloJ12
Copy link

FloJ12 commented Apr 28, 2022

It worked brilliantly!
Thank you very much

@NerLOR
Copy link
Contributor Author

NerLOR commented Apr 28, 2022

Great :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd party api report bugs to dns api, deploy hooks and notification hooks
Projects
None yet
Development

No branches or pull requests

4 participants