Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to solve this Bitbucket Webhook problem

Fernando Quintanilla September 8, 2023

Hi, everyone!

 

For context: I have a Linux server in my company with its public access and I am integrating Jenkins with Bitbucket Cloud, I already have everything installed, Jenkins works if I do a manual build from the portal. The problem comes when I create my Webhook in Bitbucket for Jenkins to run automatically. I am receiving the following error that I show you below. I have already configured all the IPs with Outgoing that I have read in the documentation that I have to place them in the whitelist of my firewall, that is done. I don't know what else to do if I'm missing some step, I'm placing the URL wrong, if you can help me please.

 

My Firewall: FORTINET

This is my webhook URL: 

 http://<myJenkinsServer>:<PORT>/bitbucket-hook/

 

HTTP status: -3

Request time: 16 minutes ago

Headers

X-CacheMISS from ip-10-18-21-83.us-west-2.compute.internal
Serversquid
Connectionkeep-alive
X-Squid-ErrorERR_CONNECT_FAIL 110
VaryAccept-Language
Mime-Version1.0
Content-Length3155
DateFri, 08 Sep 2023 21:14:34 GMT
Content-Languageen
Content-Typetext/html;charset=utf-8
Via1.1 ip-10-18-21-83.us-west-2.compute.internal (squid)

 

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 10, 2023

G'day @Fernando Quintanilla 

Welcome to the community!

Based on the error code "ERR_CONNECT_FAIL 110," we are experiencing connectivity issues with your Jenkins server. This problem is likely occurring because some of our IP addresses have not been added to your firewall's allowlist.

To resolve this issue, please refer to the documentation related to Outbound Connections and make sure that you have allowed all the required IP addresses:

Webhook Outgoing-Connections 

Let me know if that helps.

Regards,
Syahrul

Fernando Quintanilla September 11, 2023

Hi Syahrul.

 

We only add this block of IPs

image.png

 

Do we need to add the other block in our whitelist?
image.png

Like Sabine Mayer likes this
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 11, 2023

Hi @Fernando Quintanilla 

Please allow the IPV6 as well, and let me know if it's still blocked.

Regards,
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events