-
-
Notifications
You must be signed in to change notification settings - Fork 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
infomaniak: does not create TXT record, so fails to renew certificates #2370
Comments
Can you try with a token that has all the scopes? |
Ah, that seems to work? |
I think the scope Because the client calls:
|
If I remember well the |
I can try and confirm this too. |
can you try with |
Hm. I don't see a Here is a list of the scopes that I can see:
|
I don't think that changing the TTL will fix the problem. |
no it should not be needed
no I think it's an API validation issue. please try settings a default TTL to 300 to check. |
I don't think so, NXDOMAIN error is, in 90% of the cases, related to a propagation issue because it's DNS error and not an API error. |
Do you remember why you set the default TTL to this huge 7200? |
I was able to get a renewal with I will try to find another domain and see if a token with limited scopes works with that as well? |
no but 120 TTL is not yet supported, 300 is |
Ok but this is not the question 😄 |
it's the no part in the answer, I don't remember. |
ok, depending on the @ahankinson feedback, the default propagation timeout can be changed. |
If I add If I leave off the timeouts and polling intervals, the same token fails with:
So it seems to be a problem with the timeouts? |
ok thank you 👍 we will adjust the default timeout. |
our team is reporting to see 7200 TTL now and it's working (instead of 120). |
(A side note that I also filed a support issue with Infomaniak earlier, so sorry if there's some duplicate confusion) |
A default TTL of 120 is not a requirement, but 7200 is too big IMHO. I changed the TTL to 300 and the propagation timeout to 120 (2 minutes) |
thank you @ahankinson for your report, and thank you @L3o-pold for your reactivity 👍 |
Welcome
What did you expect to see?
The Infomaniak DNS provider no longer seems to work with their API. I have experienced this with several of the domains hosted with them.
The issue seems to be that, even though I have set up the appropriate permissions in their API token manager (
domain, domain:read, domain:write, dns:read, dns:write
) the plugin does not seem to automatically create the TXT record as it should.@L3o-pold was the initial creator of the integration and supports it, so I will tag him.
What did you see instead?
When running the command given, with a working token (I checked it with cURL) it will never renew the certificate.
How do you use lego?
Binary
Reproduction steps
domain:read, domain:write, dns:read, dns:write
privilegesVersion of lego
lego version 4.20.4 linux/amd64
Logs
# paste output here
Go environment (if applicable)
The text was updated successfully, but these errors were encountered: