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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,554,338
Community Members
 
Community Events
184
Community Groups

Bitbucket webhook to build jenkins Job 403

Jenkins is running on my http://localhost:8080

<blockquote id="error"> 129<p><b>Access Denied.</b></p> 130</blockquote> 131 132<p>Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.</p> 133 134<p>Your cache administrator is <a href="mailto:webmaster">webmaster</a>.</p> 135<br> 136</div> 137 138<hr> 139<div id="footer"> 140<p>Generated Fri, 22 Oct 2021 14:00:35 GMT by ip-10-101-38-42.net.atlassian.com (squid)</p> 141<!-- ERR_ACCESS_DENIED -->

 

Jinkins Webhook URL Configured :   http://localhost:8080/bitbucket-hook

Please how i fix 403 Access Denied error. 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 26, 2021

Hi Asif,

Localhost refers to the local computer where a program is running. Bitbucket Cloud cannot access your webhook if you are using localhost, this can only be accessed by the server where Jenkins is running in your local network. You will need to use the public IP address or domain name in the URL, instead of localhost.

In case your server is behind a firewall, you may also need to whitelist our IP addresses for webhook delivery. You can check the following documentation page for this, specifically the section "Valid IP addresses for webhook delivery":

Kind regards,
Theodora

Hi Team 

I am still getting the same error even after changing localhost to public IP 

<blockquote id="error"> <p><b>Access Denied.</b></p> </blockquote> <p>Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.</p> <p>Your cache administrator is <a href="mailto:webmaster">webmaster</a>.</p> <br>

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 02, 2023

Hi @Shyam_corecon,

If your server is behind a firewall, you may need to whitelist the IPs used by Bitbucket Cloud for webhook delivery (see my previous answer). Some other configuration on your server or network may also prevent our requests from reaching your server, you'll need to reach out to your network admin about this.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events