Mark Naguib
05/09/2025, 4:36 PMfailed: io.grpc.StatusRuntimeException: UNKNOWN: HTTP status code 200
invalid content-type: null
headers: Metadata(:status=200,grpc-status-name=OK,matched-stub-id=15e246a4-7484-45e8-9d09-33265398dcc5)
DATA-----------------------------
{
"xx": "1123",
"xxx": "123"
}
DATA-----------------------------
] with root cause
io.grpc.StatusRuntimeException: UNKNOWN: HTTP status code 200
invalid content-type: null
headers: Metadata(:status=200,grpc-status-name=OK,matched-stub-id=15e246a4-7484-45e8-9d09-33265398dcc5)
DATA-----------------------------
{
"xx": "1123",
"xxx": "123"
}
DATA-----------------------------
stub
final WireMockServer wm = new WireMockServer(wireMockConfig()
.port(port)
.extensions(new GrpcExtensionFactory())
);
wm.start();
final String url = ""
final WireMock wireMock = new WireMock(url, wm.port());
mockPaymentService = new WireMockGrpcService(
wireMock,
"service"
);
mockPaymentService.stubFor(method("method")
.willReturn(message(Object)));
its spring boot 3, i'm using the standalone wiremock and wiremock-grpc-extension-jetty12 any idea what is wrong?