Basu Silviu
10/20/2022, 10:37 AM2022-10-20 10:02:31.347940 I [7:4360] pact-broker -- webhook_host_whitelist=["<http://jenkins.secretcompanyname.com|jenkins.secretcompanyname.com>", "<http://github.com|github.com>", "<http://secretcompanyname.slack.com|secretcompanyname.slack.com>"] source={:type=>:env, :key=>"PACT_BROKER_WEBHOOK_HOST_WHITELIST"}
Issue:
• Consumer:
◦ if I run it from Local machine (IntelliJ) -> Contract gets published to the broker ✅
◦ If I run it from Jenkins -> Contract also gets published to the broker ✅
• Provider
◦ if I run it from Local machine (IntelliJ) -> Result gets published to the broker ✅
◦ If I run it from Jenkins -> Result does NOT get published to the broker as the connection can't be established ❌
org.apache.http.conn.ConnectTimeoutException: Connect to my.secret.ip:9292 [/my.secret.ip] failed: Connection timed out
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:157)
Any ideas as why only the provider can't connect to the Broker from Jenkins but the consumer can (from the same Jenkins) ?Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Basu Silviu
12/05/2022, 12:58 PM