Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid HTTP header field #22

Closed
rnd4222 opened this issue Apr 4, 2020 · 2 comments
Closed

Invalid HTTP header field #22

rnd4222 opened this issue Apr 4, 2020 · 2 comments

Comments

@rnd4222
Copy link

rnd4222 commented Apr 4, 2020

Hi,

I'm trying to use warp-grpc as a control plane server for envoy, which uses nghttp2 for a http2/grpc client.

And I'm getting an error (originating from nghttp2):

invalid frame: Invalid HTTP header field was received on stream 1

Here is response dump from envoy logs:

':status', '200'
'date', 'Sat, 04 Apr 2020 21:39:41 GMT'
'server', 'Warp/3.3.9'
'content-type', 'application/grpc+proto'
'grpc-encoding', 'identity'
'trailer', 'grpc-status'
'trailer', 'grpc-message'

I'm still investigating - but can you suggest what can be wrong with it? Thanks.

@rnd4222
Copy link
Author

rnd4222 commented Apr 4, 2020

Here is how it looks on a server side (using warp request logger):

[request] Request {requestMethod = "POST", httpVersion = HTTP/2.0, rawPathInfo = "/envoy.service.discovery.v3.AggregatedDiscoveryService/StreamAggregatedResources", rawQueryString = "", requestHeaders = [("Host","ads"),("TE","trailers"),("Content-Type","application/grpc"),("x-envoy-internal","true"),("x-forwarded-for","192.168.0.1")], isSecure = True, remoteHost = 127.0.0.1:35920, pathInfo = ["envoy.service.discovery.v3.AggregatedDiscoveryService","StreamAggregatedResources"], queryString = [], requestBody = <IO ByteString>, vault = <Vault>, requestBodyLength = ChunkedBody, requestHeaderHost = Just "ads", requestHeaderRange = Nothing} status=Status {statusCode = 200, statusMessage = "OK"}

@rnd4222
Copy link
Author

rnd4222 commented Apr 5, 2020

Nevermind, just got it working...

@rnd4222 rnd4222 closed this as completed Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant