Skip to content

how to troubleshoot post error 400 "challenge or authorization must be in pending state" #997

Description

@arcovangeest

Hi,

We use dehydrated with EAB and dns validation and it used to work like a charm.
After switching to a new acme endpoint we get :

+ Responding to challenge for hostname.com authorization...
+ ERROR: An error occurred while sending post-request to https://acme-v02.harica.gr/acme/ (Status 400)

Details:
HTTP/1.1 100 Continue

HTTP/1.1 400 Bad Request
Date: Wed, 08 Apr 2026 06:58:31 GMT
Server: Apache
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
Content-Type: application/problem+json
Content-Length: 119
X-Frame-Options: sameorigin
X-XSS-Protection: 1; mode=block
Connection: close

{
  "type": "urn:ietf:params:acme:error:malformed",
  "detail": "challenge or authorization must be in pending state"
}

EXPECTED value GOT EOF

this happens after the txt records are checked. (if I use the EAB in certbot I get a certificate)
I checked with API=1 and API=2

Is there a way to see what is malformed?

OS/RPM: RHEL8, openssl-1.1.1k, dehydrated.noarch 0.7.1-6.el8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions