Skip to content

Bug: Crash on 500 response due to missing error.config #101

Description

@thebitrock

Description
When the ACME client receives a 500 Internal Server Error response, the request() function in src/axios.js throws an unhandled exception:
Cannot read properties of undefined (reading 'config')

Steps to Reproduce
Use the client to send a request that triggers a 500 server error.

Detailed acme-client log:
{"message":"Promise rejected attempt #1, retrying in 5000ms: Cannot read properties of undefined (reading 'config')"}

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