Troubleshooting Bitbucket Cloud Pipeline IP Whitelisting
プラットフォームについて: Cloud のみ - この記事は、 クラウド プラットフォームのアトラシアン製品にのみ適用されます。
要約
Bitbucket Pipeline is unable to connect to the server even after whitelisting Pipeline IPs provided on the IP addresses to allowlist in your corporate firewall
環境
Bitbucket Cloud pipelines
診断
The Pipeline build is unable to connect to the server completely or intermittently even after whitelisting all the mentioned pipeline IPs.
原因
It is possible that Server has not whitelisted all the Pipeline IPs from the list.
ソリューション
Use curl ifconfig.me command in the Bitbucket Pipeline IP and run the Pipeline.
If the connection fails in the Pipeline build, find out which Bitbucket IP was used in the specific build and confirm if the IP was whitelisted or not on the server end.
In the below example shown, "34.216.18.129" is the Pipelines IP address.
curl ifconfig.me
+ curl ifconfig.me
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 13 100 13 0 0 122 0 --:--:-- --:--:-- --:--:-- 123
34.216.18.129
参考
Still having problems?
Contact Atlassian Support. We'll be happy to advise you. Please include as much detail as possible, where applicable:
- 影響を受けているアプリケーションのログ (該当する場合)
- エラー メッセージのスクリーンショット (ログに含まれていない場合)
- 過去に行った手順についての情報