-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Description
consumer send grpc request, but mock server response as:
2026-01-12T00:19:48.887930Z INFO tokio-runtime-worker pact_mock_server::hyper_server: Received request POST /plugins.Calculator/calculate
2026-01-12T00:19:48.887941Z DEBUG tokio-runtime-worker pact_mock_server::hyper_server:
----------------------------------------------------------------------------------------
method: POST
path: /plugins.Calculator/calculate
query: None
headers: Some({"grpc-accept-encoding": ["identity", "deflate", "gzip"], "te": ["trailers"], "content-type": ["application/grpc"], "user-agent": ["grpc-php/1.72.0 grpc-c/47.0.0 (linux; chttp2)"]})
body: Present(67 bytes, application/grpc)
----------------------------------------------------------------------------------------
2026-01-12T00:19:48.887970Z DEBUG tokio-runtime-worker pact_mock_server::hyper_server: Request did not match: Request was not expected - HTTP Request ( method: POST, path: /plugins.Calculator/calculate, query: None, headers: Some({"grpc-accept-encoding": ["identity", "deflate", "gzip"], "te": ["trailers"], "content-type": ["application/grpc"], "user-agent": ["grpc-php/1.72.0 grpc-c/47.0.0 (linux; chttp2)"]}), body: Present(67 bytes, application/grpc) )
Here is full log (trace level): ffi 0.5.0 grpc.txt
Slack discussion: https://pact-foundation.slack.com/archives/C02BXLDJ7JR/p1768156499829449
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels