Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

iam trying to trigger the webhook but aim getting 403 error code

Ashok Jetti
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 25, 2024

iam able to trigger the jenkins job with node.js but unable to trigger with webhook

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 29, 2024

Hi Ashok and welcome to the community!

I checked the webhooks logs for your repo and the reason for the 403 error is that you are using a private IP in the webhook URL. Private IP addresses are assigned to computers in an internal network, e.g. your home network or your office network. Bitbucket webhooks send requests over the internet, and it is not possible to connect to other devices on the internet with a private IP address. You will need to use a public IP address or domain name.

If the server where Jenkins is running is behind a firewall, you will also need to whitelist the IPs that Bitbucket uses for webhook delivery. These can be found here in the section "Outgoing Connections":

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events