Webhook 503 to Build Machine

Issue #17708 new
Former user created an issue

We are receiving a 503 on all requests sent to our Build machine.

We have whitelisted the IPs mentioned in this article: https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall-343343385.html

(for hooks like POST)

104.192.136.0/21
34.198.203.127
34.198.32.85

When we open the machine to allow all traffic it works. Different IPs appear to being used.

Comments (6)

  1. Sergio Jovani

    Hi.

    We are experiencing same issue. To solve it, we have whitelisted following IPs:

    • 18.234.32.226
    • 18.234.32.227

    The linked page by @cbaumcratz does not mention that IPs.

    Please, Bitbucket, update official documentation or use the right IPs.

    Thanks.

    Regards.

  2. Former user Account Deleted reporter

    @Sergio Jovani the IPs i saw come in were:

    18.234.32.225
    18.234.32.226
    18.234.32.227

    My concern is these are not documented and does Atlassian even know this is happening?

  3. Sergio Jovani

    I guess they are using range 18.234.32.128/25 for outbound connections. This range is defined as "(Since July 28, 2018) IPv4 inbound for bitbucket.org, api.bitbucket.org, and altssh.bitbucket.org".

    I think the best is to whitelist all IP ranges in the document to avoid that the firewall blocks some requests.

  4. Zach Wade

    Thanks for the help. Is this a bug on Bitbucket's end, or should we be prepared for these IP addresses to change again in the future? (directed @ bitbucket staff)

  5. Sergio Jovani

    In order to ensure all IP used by Bitbucket are whitelisted in our firewall I had to add the following IPs and ranges to the inclusion list in the firewall:

    104.192.143.1
    104.192.143.2
    104.192.143.3
    104.192.143.65
    104.192.143.66
    104.192.143.67
    104.192.136.0/21
    34.198.203.127
    34.198.32.85
    104.192.143.4
    104.192.143.5
    104.192.143.6
    104.192.143.68
    104.192.143.69
    104.192.143.70
    18.205.93.0/25
    18.234.32.128/25
    13.52.5.0/25
    

    I hope this helps.

    Regards.

  6. Log in to comment