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

Webhook get connection to Jenkins server failed

Gil Katz December 18, 2022

We have a Jenkins Server in Amazone and we open incoming connections from Bitbucket ip's according to the following document we open port 80,443 and 22 from each ip

When triggering webhook we are getting the following

Response from https://<JENKINS-SERVER>/bitbucket-hook/

HTTP status: -3

and

ERROR: The requested URL could not be retrieved

 

<div id="content"> 125<p>The following error was encountered while trying to retrieve the URL: <a href="https://-<JENKINS-SERVER*">https://<JENKINS-SERVER/*</a></p> 126 127<blockquote id="error"> 128<p><b>Connection to <AWS-PUBLIC-IP> failed.</b></p> 129</blockquote> 130 131<p id="sysmsg">The system returned: <i>(110) Connection timed out</i></p> 132 133<p>The remote host or network may be down. Please try the request again.</p> 134 135<p>Your cache administrator is <a href="mailto:webmaster">webmaster</a>.</p> 136 137<br> 138</div>

1 answer

1 accepted

0 votes
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 19, 2022

Hey @Gil Katz 

G'day.

Could you try to whitelist the following IP ranges specifically for Webhook and let me know if that helps:

13.52.5.96/28
13.236.8.224/28
18.136.214.96/28
18.184.99.224/28
18.234.32.224/28
18.246.31.224/28
52.215.192.224/28
104.192.137.240/28
104.192.138.240/28
104.192.140.240/28
104.192.142.240/28
104.192.143.240/28
185.166.143.240/28
185.166.142.240/28

This list is from our outgoing IPs mentioned in this documentation here.

Cheers,
Syahrul

Gil Katz December 19, 2022

Thanks, @Syahrul  that solved the problem 

Like Syahrul likes this

Suggest an answer

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

Atlassian Community Events