Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Poor log message when trying to connect with https to an http endpoint #1116

@Tratcher

Description

@Tratcher

If someone sends an https request to an http endpoint it fails as expected, but the log message does not help them understand why: "No space character found after method in request line."

This was found when a site had a redirect to https rule but the site had not yet set up https.

Proposal: If the request line fails to parse consider checking if it has the format of an SSL/TLS handshake and provide a more specific error like 'An invalid SSL/TLS handshake was attempted on an HTTP endpoint."

@mikaelm12 @muratg @danroth27

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions