Ritchie Anesco
10/14/2024, 11:46 PMenvoy to proxy calls before hitting wiremock. Unfortunately the client app is throwing “missing trailers” error as it expects the response to contain grpc trailers. Is it possible to log the request and response headers from wiremock? I am using --verbose argument but not getting much information from that.
Host: [localhost:8080]
User-Agent: [curl/8.5.0]
Accept: [*/*]Tom
10/15/2024, 2:09 PMRitchie Anesco
10/15/2024, 7:51 PMmissing trailers error.
Since I am using envoy to proxy grpc-web calls to wiremock I would assume that the required response headers expected from the front end would be intact.
Just a fyi, I previously used gripmock as grpc mock server with this setup and that was also working fine.Ritchie Anesco
10/15/2024, 8:46 PMenvoy logs… i can see that the trailers are NOT being passed and the stream being closed
2024-10-16 07:14:55 [2024-10-15 20:14:55.595][41][debug][http] [source/common/http/conn_manager_impl.cc:1533] [C0][S5164429598623932382] encoding trailers via codec:
2024-10-16 07:14:55 [2024-10-15 20:14:55.596][41][debug][http2] [source/common/http/http2/codec_impl.cc:1417] [C1] stream 1 closed: 0Ritchie Anesco
10/15/2024, 10:48 PMTom
10/16/2024, 8:28 AMRitchie Anesco
10/16/2024, 8:11 PM