Skip to content

Missing HttpStatus 526 Invalid SSL certificate #6873

Open
@message

Description

@message

Expected Behavior

HttpStatus.INVALID_SSL_CERTIFICATE

Actual Behaviour

When CloudFlare responds with 526 Invalid SSL certificate, http client fails while trying to create missing HttpStatus enum.

java.lang.IllegalArgumentException: Invalid HTTP status code: 526
	at io.micronaut.http.HttpStatus.valueOf(HttpStatus.java:265)
	at io.micronaut.http.client.netty.DefaultHttpClient$11.channelReadInstrumented(DefaultHttpClient.java:2352)

Steps To Reproduce

HttpRequest.GET something that returns 526

Environment Information

No response

Example Application

No response

Version

3.3.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions