Hello Pact Team, I am getting connection refused e...
# pact-python
j
Hello Pact Team, I am getting connection refused error for
localhost:1234
while starting the pact service
pact.start_service()
in conftest.py. FYI, it is working fine in my local but failing in Buildkite Pipeline
m
Can you share more details on how this is setup? And the log output etc?
m
common things to check: • Timeouts (CI often runs slower than your dev machine because less resources available / runs on commodity hardware). Docker adds to this if you’re using the BK docker plugins to execute jobs • ipv4 vs ipv6 • Port conflicts (are you hard coding ports or using random generated ones?) • Networking restrictions that would prevent starting them Enabling debug level logs should help you see what’s happening
j
yeah it was networking issue as I was running pytest within container in pipeline
👍 1
that's why localhost was not reachable