Skip to content

malformed authority error with HTTP2 and gRPC #525

Closed
@arthurlm

Description

@arthurlm

I am running h2 as a service in k8s to process gRPC requests.

Some clients of my service (envoy HTTP proxy) got error responses du to invalid authority field:

[2021-03-18T10:54:07Z DEBUG h2::server] malformed headers: malformed authority (b"extension/k8s-namespace-arthurlm-test/auth-server"): invalid uri character 

I do not have any ability to change envoy behavior: it need to use HTTP2 + TLS + cannot change request headers and payload.
I agree this authority is a little bit unexpected...

Should we make this kind of Authority allowed ?
Is there any way to allow h2 processing the request even if Authority::parse failed ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions