FYI by trial and error I checked that the example ...
# protobufs
j
FYI by trial and error I checked that the example project https://github.com/pact-foundation/pact-plugins/tree/main/examples/gRPC/area_calculator/consumer-jvm works only up until
pact-protobuf-plugin
version 0.1.8 0.1.9 and 0.1.10 are failing to run
u
Ok, let me check that
Oh, we now default the plugin to IP4 addresses to be able to run from within docker containers. In the manifest file, there is a
"hostToBindTo"
field. Try change that from
"127.0.0.1"
to
"::1"
j
there is a change in behaviour for sure, now it fails with
Copy code
08:03:26.959 [Test worker] ERROR a.c.d.pact.consumer.dsl.PactBuilder - Plugin process did not output the correct startup message in 10000 ms - got null
with
127.0.0.1
it fails with
Copy code
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /0:0:0:0:0:0:0:1:58408
I saw it in some other thread here as well
u
Ok, maybe just remove that field. I'm rolling out a fix to Pact-JVM now as well
1
j
yea that works 😉 thanks!
🙌 1