deislabs/hippo-cli

http2 error: protocol error: frame with invalid size

bacongobbler opened this issue · 2 comments

Anyone hit this error before?

$ hippofactory --server http://******** --hippo-url http://******** --hippo-username ******** --hippo-password ******** .
Error: Error creating request: reqwest::Error { kind: Request, url: Url { scheme: "http", username: "", password: None, host: Some(Domain("********")), port: Some(********), path: "/v1/_i", query: None, fragment: None }, source: hyper::Error(Http2, Error { kind: Proto(FRAME_SIZE_ERROR) }) }

Caused by:
    0: error sending request for url (http://********/v1/_i): http2 error: protocol error: frame with invalid size
    1: http2 error: protocol error: frame with invalid size
    2: protocol error: frame with invalid size

bindle is listening on HTTP rather than HTTPS. Could that be the issue here?

I have a feeling this is in part due to Azure App Gateway's inability to conect to backend pools over HTTP/2.

https://docs.microsoft.com/en-us/azure/application-gateway/configuration-listeners#http2-support

Issue occurs because Azure App Gateways do not support proxying HTTP/2 requests to the backend pool. Rolling my own custom nginx config does the trick.