How to solve this Bitbucket Webhook problem
Asked by Fernando Quintanilla:

Hi, everyone! {#toc-hId--436545037}
-----------------------------------

**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: {#toc-hId--1542934922}

### http://\<myJenkinsServer\>:\<PORT\>/bitbucket-hook/ {#toc-hId--1553438026}

**HTTP status** : -3

**Request time** : 16 minutes ago

#### Headers {#toc-hId--862876552}

|------------------|-------------------------------------------------------|
| X-Cache          | MISS from ip-10-18-21-83.us-west-2.compute.internal   |
| Server           | squid                                                 |
| Connection       | keep-alive                                            |
| X-Squid-Error    | ERR_CONNECT_FAIL 110                                  |
| Vary             | Accept-Language                                       |
| Mime-Version     | 1.0                                                   |
| Content-Length   | 3155                                                  |
| Date             | Fri, 08 Sep 2023 21:14:34 GMT                         |
| Content-Language | en                                                    |
| Content-Type     | text/html;charset=utf-8                               |
| Via              | 1.1 ip-10-18-21-83.us-west-2.compute.internal (squid) |


Answers:
author: Syahrul
body: G'day [@Fernando Quintanilla](/t5/user/viewprofilepage/user-id/5312335)

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](https://support.atlassian.com/organization-administration/docs/ip-addresses-and-domains-for-atlassian-cloud-products/#Outgoing-Connections)

Let me know if that helps.

Regards,  
Syahrul

comments: author: Fernando Quintanilla
body: #### **Hi Syahrul.** {#toc-hId-264573171}

We only add this block of IPs

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/279938i2B75DCFDDC6E2249/image-size/large?v=v2&px=999 "image.png")

Do we need to add the other block in our whitelist?  
![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/279939i251268A0431D5F02/image-dimensions/157x352?v=v2 "image.png")


author: Syahrul
body: Hi [@Fernando Quintanilla](/t5/user/viewprofilepage/user-id/5312335)

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

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud