Vinicius Gabriel
12/12/2023, 7:07 PM1) Failed to load pact - Failed to load pact from '<https://broker.pactflow.io>'
From consumer side, I got it normally
// Verify the Provider with local Pact Files
err := verifier.VerifyProvider(s.T(), provider.VerifyRequest{
ProviderBaseURL: fmt.Sprintf("<http://127.0.0.1>:%d", port),
Provider: "web-front",
ProviderVersion: "1.0.0", // TODO: get commit SHA
BrokerURL: "<https://broker.pactflow.io>", // TODO: get from env
BrokerToken: "token", // TODO: get from env
Vinicius Gabriel
12/12/2023, 7:09 PM12-12T19:03:44.337255Z INFO ThreadId(01) pact_verifier::pact_broker: Fetching path '/pacts/provider/web-front/consumer/web-front-consumer/pact-version/222221279197eda18248e7c888cb2440ce0a9482/metadata/c1tdW2xdPXRydWUmc1tdW2N2XT0xMw' from pact broker
2023-12-12T19:03:44.337302Z DEBUG ThreadId(01) hyper::client::pool: reuse idle connection for ("https", <http://broker.pactflow.io|broker.pactflow.io>)
2023-12-12T19:03:44.337358Z DEBUG tokio-runtime-worker Connection{peer=Client}: h2::codec::framed_write: send frame=Headers { stream_id: StreamId(7), flags: (0x5: END_HEADERS | END_STREAM) }
2023-12-12T19:03:44.774798Z DEBUG tokio-runtime-worker Connection{peer=Client}: h2::codec::framed_read: received frame=Headers { stream_id: StreamId(7), flags: (0x4: END_HEADERS) }
2023-12-12T19:03:44.774926Z DEBUG tokio-runtime-worker Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(7) }
2023-12-12T19:03:44.774952Z DEBUG tokio-runtime-worker Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(7) }
2023-12-12T19:03:44.774961Z DEBUG tokio-runtime-worker Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(7), flags: (0x1: END_STREAM) }
2023-12-12T19:03:44.778494Z DEBUG tokio-runtime-worker Connection{peer=Client}: h2::codec::framed_write: send frame=GoAway { error_code: NO_ERROR, last_stream_id: StreamId(0) }
2023-12-12T19:03:44.778536Z DEBUG tokio-runtime-worker Connection{peer=Client}: h2::proto::connection: Connection::poll; connection error error=GoAway(b"", NO_ERROR, Library)
2023-12-12T19:03:44.778609Z ERROR ThreadId(01) pact_verifier: Failed to load pact - Failed to load pact from '<https://broker.pactflow.io>'
2023-12-12T19:03:44.778703Z WARN ThreadId(01) pact_matching::metrics:
Vinicius Gabriel
12/12/2023, 9:59 PMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Vinicius Gabriel
12/13/2023, 12:42 PM