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 bug to infomaniak.com dns api #3188

Open
reneluria opened this issue Sep 21, 2020 · 4 comments
Open

Report bug to infomaniak.com dns api #3188

reneluria opened this issue Sep 21, 2020 · 4 comments
Assignees
Labels
3rd party api report bugs to dns api, deploy hooks and notification hooks

Comments

@reneluria
Copy link
Contributor

This is the place to report bugs in the infomaniak.com 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 Oct 12, 2020
@8520456963
Copy link

Hello,
First of all, thank you for implementing the Infomaniak API in ACME!

I have a problem with a domain name with an accent. I wonder if the problem comes from the Infomaniak API or the script. I have tested for several days without finding a solution. By changing nameservers and script it worked (Cloudflare).
I suspect that the conversion punny-code / idn is not done.

When I make a call to the API with the domain name in punny-code

{
    "result": "success",
    "data": []
}

When I make a call to the api with the domain name in IDN

{
    "result": "success",
    "data": [
        {
            "id": [REDACTED],
            "account_id": [REDACTED],
            "service_id": 14,
            "service_name": "domain",
            "customer_name": "[REDACTED]",
            "internal_name": null,
            "created_at": [REDACTED],
            "expired_at": [REDACTED],
            "version": 1,
            "maintenance": false,
            "locked": false,
            "operation_in_progress": false,
            "tags": [],
            "unique_id": [REDACTED],
            "description": "",
            "is_free": false,
            "is_zero_price": false,
            "is_trial": false,
            "is_in_app_subscription": false,
            "is_part_of_ksuite": false,
            "rights": {
                "technical": true
            }
        }
    ]
}

I know this is an edgecase, so if there is no solution, I will continue to use Cloudflare NS. (What I would like to avoid)

@reneluria
Copy link
Contributor Author

Hello

I have a problem with a domain name with an accent. I wonder if the problem comes from the Infomaniak API or the script. I have tested for several days without finding a solution. By changing nameservers and script it worked (Cloudflare). I suspect that the conversion punny-code / idn is not done.

If you try to issue the certificate by using the accented domain it works (but may leave some traces of the acme challenge du to a small issue), don't convert to punny-code first.

@anolek
Copy link

anolek commented Sep 26, 2023

Hello,

This is just to point out that it doesn't work under Proxmox 6.x, 7.x and 8.x.
An example with a DNS Challenge:

The validation for [REDACTED] is pending!
[Tue Sep 26 11:56:27 CEST 2023] Infomaniak DNS API
[Tue Sep 26 11:56:36 CEST 2023] cannot find zone to modify
[Tue Sep 26 11:56:36 CEST 2023] Error add txt for domain:_acme-challenge.[REDACTED]
TASK ERROR: command 'setpriv --reuid nobody --regid nogroup --clear-groups --reset-env -- /bin/bash /usr/share/proxmox-acme/proxmox-acme setup infomaniak [REDACTED]' failed: exit code 1

But it does work with Debian 11.x,12.x and Ubuntu too :)

You can reproduce it with a fresh install of Proxmox with any domain
It doesn't happen with other dns provider

Thanks !

@MaObOriginal
Copy link

Hi, I get an error when I try to create my SSL certificates via the infomaniak API.

After I run the acme.sh command, the following error message appears:

[Mon Dec 18 08:27:02 PM CET 2023] Processing, The CA is processing your order, please just wait. (1/30)
[Mon Dec 18 08:27:06 PM CET 2023] Success
[Mon Dec 18 08:27:06 PM CET 2023] Verify finished, start to sign.
[Mon Dec 18 08:27:06 PM CET 2023] Lets finalize the order.
[Mon Dec 18 08:27:06 PM CET 2023] Le_OrderFinalize
[Mon Dec 18 08:27:06 PM CET 2023] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 3
[Mon Dec 18 08:27:06 PM CET 2023] Sign failed, finalize code is not 200.
[Mon Dec 18 08:27:06 PM CET 2023]
[Mon Dec 18 08:27:06 PM CET 2023] Please add '--debug' or '--log' to check more details.
[Mon Dec 18 08:27:06 PM CET 2023] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh

Searching the specified website results in the following error message:

CURLE_URL_MALFORMAT (3)

The URL was not properly formatted. 

Hope this halps to find the error.

My command was the following:

acme.sh --issue --dns dns_infomaniak -d *.mydomain.tld

Greetings and thank you

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

5 participants