Bitbucket webhook gettting 400

julian.elve's Avatar

julian.elve

03 Nov, 2015 07:50 AM

Project SSAT.Identity
Webhook https://ci.appveyor.com/api/bitbucket/webhook?id=m32sryt4yj7rfs1m
Repository git@bitbucket.org:ssat/ssat.identity.git

Bitbucket is showing that the webhook is getting a 400 response

For info (in case they have changed) Bitbucket say that these IP ranges should be whitelisted:
131.103.20.160/27 165.254.145.0/26 104.192.143.0/24

  1. Support Staff 1 Posted by Feodor Fitsner on 03 Nov, 2015 07:57 AM

    Feodor Fitsner's Avatar

    Have you added that webhook manually? It should be "service" of "POST" type, not "webhook". BitBucket webhooks 2.0 are not supported by AppVeyor yet.

  2. 2 Posted by julian.elve on 03 Nov, 2015 08:00 AM

    julian.elve's Avatar

    Yes I did - will change to POST service and re-test

  3. 3 Posted by julian.elve on 03 Nov, 2015 08:05 AM

    julian.elve's Avatar

    Have removed the webhook. The POST was already there, presumably added by Appveyor.

    I have pushed commit 4612d553a21bf1063475d59f7920bf0270267ff4 after checking Bitbucket settings (a couple of minutes ago) and as yet no build queued.

  4. Support Staff 4 Posted by Feodor Fitsner on 03 Nov, 2015 08:15 AM

    Feodor Fitsner's Avatar

    I've just checked on a test repo - it worked. Maybe it was intermittent hiccup on their side. Looks like problems with webhooks happen regularly: http://status.bitbucket.org/

  5. Support Staff 5 Posted by Feodor Fitsner on 03 Nov, 2015 08:26 AM

    Feodor Fitsner's Avatar

    Sorry, I was too soon with my reply. I've checked logs and some requests were rejected because of IP addresses filter. I updated IP addresses with ones from your message and it works now. Thanks for letting me know about this issue!

  6. 6 Posted by julian.elve on 03 Nov, 2015 08:35 AM

    julian.elve's Avatar

    running now thanks for your help Feodor

  7. julian.elve closed this discussion on 03 Nov, 2015 08:35 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac