Guo Zhang Liew
04/17/2023, 12:18 AMpactfoundation/pact-cli:latest docker image
/usr/lib/ruby/gems/3.1.0/gems/pact_broker-client-1.66.1/lib/pact_broker/client/hal/http_client.rb:49:in `create_request': undefined method `request_uri' for #<URI::Generic //pact.dev.stackjourney.xyz/contracts/publish> (NoMethodError)
request = Net::HTTP.const_get(http_method).new(uri.request_uri)
^^^^^^^^^^^^
I have searched through all issues in the pact foundation github space
this is the docker command I used
docker run -t -i --rm --init --volume .. --env PACT_BROKER_BASE_URL --env PACT_BROKER_USERNAME --env PACT_BROKER_PASSWORD --env GIT_BRANCH=gz/FEAT-69/brokerclient/1 pactfoundation/pact-cli:latest /bin/sh -e -c $'pact-broker help\npact-broker publish backend/pacts --tag-with-git-branch'Matt (pactflow.io / pact-js / pact-go)
Copy code//pact.dev.stackjourney.xyz/contracts/publish
my guess is the URL is ill-formatted
Guo Zhang Liew
04/17/2023, 12:29 AMPACT_BROKER_BASE_URL=<https://pact.dev.stackjourney.xyz>Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
--verbose flag to your command. My guess is that the arguments being passed aren’t quite what you were wantingGuo Zhang Liew
04/17/2023, 2:25 AM