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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

timeout on bitbucket webhook created by jenkins-bitbucket server integration plugin

I have followed the instructions per this article:

https://community.atlassian.com/t5/Bitbucket-articles/Atlassian-supported-Jenkins-integration-for-Bitbucket-Server/ba-p/1148326

The webhook is automatically created in Bitbucket upon saving the Jenkins Project configuration. The URL endpoint it creates is:

http://<url>:8080/bitbucket-server-webhook/trigger

Upon pushing a commit, the webhook triggers, but always errors with the timeout message:

java.net.SocketTimeoutException: 20,000 milliseconds timeout on connection http-outgoing-364 [ACTIVE]

(the number after http-outgoing- varies but is always 3 digits)

I get the same timeout error if I try to test the connection from the Edit Webhook page.

I've tried both an instance of Jenkins running in Docker and a fresh install directly on a machine running Ubuntu 18. There are no firewalls in the way. Jenkins has no problem retrieving and building from Bitbucket if I start the build manually.

Any ideas?

1 answer

1 accepted

0 votes
Answer accepted

you may try it with:

http://<url>:8080/bitbucket-hook/

According to tutorials in the internet it's important to add the last slash.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,826 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you