mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
Feature Request: tell the status of the request, instead of just invalid #92
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Cyborgscode on GitHub (May 6, 2016).
This the the json that came back from LE:
{"type":"http-01","status":"pending","uri":"https://acme-v01.api.letsencrypt.org/acme/challenge/7ftGAV2gxxWnohIAl_Aq60JWZOSNhuR_4rQH5bRpUEA/74809467","token":"bDZxoGLIuz28jHDH0Ga5nDQ-erAKfXdUW9WWKeWLSd8","keyAuthorization":"bDZxoGLIuz28jHDH0Ga5nDQ-erAKfXdUW9WWKeWLSd8.e5FZjrnwb1SZURXTovcByAXqtydN8vSfcQLBNTs0yiM"}
The script says invalid :
But it's not invalid, it's just stuck on LE's side ( we have an issue open there for the domain in question )
@lukas2511 commented on GitHub (May 6, 2016):
Did you check if you are running an old version of the script? The output on errors should be similar to
Challenge is invalid! (returned: invalid) (result: [...]json here[...]).Also "returned: invalid" actually gets parsed from the json response, it's impossible for the script to just invent a status "invalid" at that point. As long as the status is "pending" it tries again and again until it's no longer "pending".
Closing this bug as it doesn't seem like an actual bug in the script.