We're struggling to get the envoy proxy working with `pact_verifier_cli`. We believe we've set up the `grpc_http1_bridge` correctly. When the verifier issues the request to the proxy server, this happens:
```17:50:08 [INFO] Running provider verification for 'GetContextFeedbackList'
17:50:08 [INFO] Sending request to provider at
http://localhost:10000/
17:50:08 [DEBUG] (1) pact_verifier::provider_client: Provider details = ProviderInfo { name: "provider", protocol: "http", host: "localhost", port: Some(10000), path: "/" }
17:50:08 [DEBUG] (1) pact_verifier::provider_client: Sending request HTTP Request ( method: POST, path: /, query: None, headers: Some({"Content-Type": ["application/json"]}), body: Present(535 bytes, application/json) )
17:50:08 [DEBUG] (1) reqwest::connect: starting new connection:
http://localhost:10000/
17:50:08 [DEBUG] (18) hyper::client::connect::dns: resolving host="localhost"
17:50:13 [DEBUG] (1) hyper::client::connect::http: connecting to 127.0.0.1:10000
17:50:13 [DEBUG] (1) hyper::client::connect::http: connected to 127.0.0.1:10000
17:50:13 [DEBUG] (5) hyper::proto::h1::io: flushed 675 bytes
17:50:13 [DEBUG] (14) hyper::proto::h1::io: parsed 7 headers
17:50:13 [DEBUG] (14) hyper::proto::h1::conn: incoming body is chunked encoding
17:50:13 [DEBUG] (1) reqwest::async_impl::client: response '415 Unsupported Media Type' for
http://localhost:10000/
17:50:13 [DEBUG] (1) pact_verifier::provider_client: Received native response: Response { url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("localhost")), port: Some(10000), path: "/", query: None, fragment: None }, status: 415, headers: {"content-type": "text/plain; encoding=utf-8", "grpc-status": "13", "grpc-message": "Content-Type 'application/json' is not supported", "x-envoy-upstream-service-time": "5", "date": "Tue, 25 Jan 2022 17:50:13 GMT", "server": "envoy", "transfer-encoding": "chunked"} }
17:50:14 [DEBUG] (14) hyper::proto::h1::conn: incoming body decode error: unexpected EOF during chunk size line
GetContextFeedbackList
Test Name: com.pandora.remoting.api.stations.contract.consumer.grpc.PithosConsumerContractTest.consumeGetContextFeedbackList(SynchronousMessages)
Failures:
1) Verifying a pact between stations-grpc and pithos-grpc - GetContextFeedbackList - request or response body error: error reading a body from connection: unexpected EOF during chunk size line```
? And here's the request coming into Envoy (notice it's content-type is `application/json` which doesn't satisfy the filter requirements: _When a request is sent, the filter sees if the connection is HTTP/1.1 and the request content type is application/grpc._
```[2022-01-25 09:50:13.213][1580445][debug][http] [source/common/http/conn_manager_impl.cc:283] [C15] new stream
[2022-01-25 09:50:13.213][1580445][debug][http] [source/common/http/conn_manager_impl.cc:873] [C15][S12515614025377970192] request headers complete (end_stream=false):
':authority', 'localhost:10000'
':path', '/'
':method', 'POST'
'content-type', 'application/json'
'accept', '*/*'
'accept-encoding', 'gzip, deflate'
'content-length', '535'
[2022-01-25 09:50:13.214][1580445][debug][router] [source/common/router/router.cc:486] [C15][S12515614025377970192] cluster 'pithos' match for URL '/'
[2022-01-25 09:50:13.215][1580445][debug][router] [source/common/router/router.cc:702] [C15][S12515614025377970192] router decoding headers:
':authority', 'localhost:10000'
':path', '/'
':method', 'POST'
':scheme', 'http'
'content-type', 'application/json'
'accept', '*/*'
'accept-encoding', 'gzip, deflate'
'content-length', '535'
'x-forwarded-proto', 'http'
'x-request-id', '0748ec38-0a40-4ce7-bcf1-cc562328a837'
'x-envoy-expected-rq-timeout-ms', '15000'
[2022-01-25 09:50:13.215][1580445][debug][pool] [source/common/conn_pool/conn_pool_base.cc:250] [C5] using existing connection
[2022-01-25 09:50:13.215][1580445][debug][pool] [source/common/conn_pool/conn_pool_base.cc:176] [C5] creating stream
[2022-01-25 09:50:13.215][1580445][debug][router] [source/common/router/upstream_request.cc:418] [C15][S12515614025377970192] pool ready
[2022-01-25 09:50:13.215][1580445][debug][http] [source/common/http/filter_manager.cc:835] [C15][S12515614025377970192] request end stream
[2022-01-25 09:50:13.220][1580445][debug][router] [source/common/router/router.cc:1320] [C15][S12515614025377970192] upstream headers complete: end_stream=false
[2022-01-25 09:50:13.220][1580445][debug][http] [source/common/http/conn_manager_impl.cc:1472] [C15][S12515614025377970192] encoding headers via codec (end_stream=false):
':status', '415'
'content-type', 'text/plain; encoding=utf-8'
'grpc-status', '13'
'grpc-message', 'Content-Type 'application/json' is not supported'
'x-envoy-upstream-service-time', '5'
'date', 'Tue, 25 Jan 2022 17:50:13 GMT'
'server', 'envoy'
[2022-01-25 09:50:13.220][1580445][debug][http2] [source/common/http/http2/codec_impl.cc:1241] [C5] stream closed: 2```
We're unfortunately unable to make any further progress.