Error 403 forbidden when external CI tries to wget a BitBucket project download Edited

Hello. My GitLab project CI depends on some binary files from this project

My Mac OSX "build" job is run on the Docker image andrewd/osxcross. Recently it is forbidden to download the file "love-0.10.2-macosx-x64.zip".

$ wget -N https://bitbucket.org/rude/love/downloads/love-0.10.2-macosx-x64.zip
converted 'https://bitbucket.org/rude/love/downloads/love-0.10.2-macosx-x64.zip' (ANSI_X3.4-1968) -> 'https://bitbucket.org/rude/love/downloads/love-0.10.2-macosx-x64.zip' (UTF-8)
--2017-09-12 00:50:40-- https://bitbucket.org/rude/love/downloads/love-0.10.2-macosx-x64.zip
Resolving bitbucket.org (bitbucket.org)... 104.192.143.1, 104.192.143.3, 104.192.143.2, ...
Connecting to bitbucket.org (bitbucket.org)|104.192.143.1|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://bbuseruploads.s3.amazonaws.com/0164b02e-d90e-4375-a3c8-63c415cdeed1/downloads/5619e533-b641-42fc-874f-89f3084a2c76/love-0.10.2-macosx-x64.zip?Signature=xfKMuF1E%2B45bOIL248PXy9%2FFL0Q%3D&Expires=1505179240&AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ&versionId=kAEjiZc6cAQyu__Uc55RNgLGPWiXTwgY&response-content-disposition=attachment%3B%20filename%3D%22love-0.10.2-macosx-x64.zip%22 [following]
converted 'https://bbuseruploads.s3.amazonaws.com/0164b02e-d90e-4375-a3c8-63c415cdeed1/downloads/5619e533-b641-42fc-874f-89f3084a2c76/love-0.10.2-macosx-x64.zip?Signature=xfKMuF1E%2B45bOIL248PXy9%2FFL0Q%3D&Expires=1505179240&AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ&versionId=kAEjiZc6cAQyu__Uc55RNgLGPWiXTwgY&response-content-disposition=attachment%3B%20filename%3D%22love-0.10.2-macosx-x64.zip%22' (ANSI_X3.4-1968) -> 'https://bbuseruploads.s3.amazonaws.com/0164b02e-d90e-4375-a3c8-63c415cdeed1/downloads/5619e533-b641-42fc-874f-89f3084a2c76/love-0.10.2-macosx-x64.zip?Signature=xfKMuF1E+45bOIL248PXy9/FL0Q=&Expires=1505179240&AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ&versionId=kAEjiZc6cAQyu__Uc55RNgLGPWiXTwgY&response-content-disposition=attachment; filename="love-0.10.2-macosx-x64.zip"' (UTF-8)
--2017-09-12 00:50:40-- https://bbuseruploads.s3.amazonaws.com/0164b02e-d90e-4375-a3c8-63c415cdeed1/downloads/5619e533-b641-42fc-874f-89f3084a2c76/love-0.10.2-macosx-x64.zip?Signature=xfKMuF1E+45bOIL248PXy9/FL0Q=&Expires=1505179240&AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ&versionId=kAEjiZc6cAQyu__Uc55RNgLGPWiXTwgY&response-content-disposition=attachment;%20filename=%22love-0.10.2-macosx-x64.zip%22
Resolving bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)... 52.216.228.208
Connecting to bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)|52.216.228.208|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2017-09-12 00:50:40 ERROR 403: Forbidden.

The same thing happens if I run the same Docker image on my own machine and wget the file.

It does not happen when I click the file on the project's downloads page, or wget the file directly onto my machine.

It also does not happen in my Windows build jobs, which run on the ubuntu:latest image and download "love-0.10.2-win64.zip" and "love-0.10.2-win32.zip". 

$ wget -N https://bitbucket.org/rude/love/downloads/love-0.10.2-win64.zip
--2017-09-11 23:49:07-- https://bitbucket.org/rude/love/downloads/love-0.10.2-win64.zip
Resolving bitbucket.org (bitbucket.org)... 104.192.143.1, 104.192.143.2, 104.192.143.3, ...
Connecting to bitbucket.org (bitbucket.org)|104.192.143.1|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://bbuseruploads.s3.amazonaws.com/0164b02e-d90e-4375-a3c8-63c415cdeed1/downloads/bd8977ce-70d7-4b4f-963c-e71d8c32eb93/love-0.10.2-win64.zip?Signature=%2FqMeAOpX7%2B3HW1zbuz9sFq3t61c%3D&Expires=1505175356&AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ&versionId=.iRw_IgwpfGhu6q5tX9kKLrgzTWupZLV&response-content-disposition=attachment%3B%20filename%3D%22love-0.10.2-win64.zip%22 [following]
--2017-09-11 23:49:07-- https://bbuseruploads.s3.amazonaws.com/0164b02e-d90e-4375-a3c8-63c415cdeed1/downloads/bd8977ce-70d7-4b4f-963c-e71d8c32eb93/love-0.10.2-win64.zip?Signature=%2FqMeAOpX7%2B3HW1zbuz9sFq3t61c%3D&Expires=1505175356&AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ&versionId=.iRw_IgwpfGhu6q5tX9kKLrgzTWupZLV&response-content-disposition=attachment%3B%20filename%3D%22love-0.10.2-win64.zip%22
Resolving bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)... 52.216.230.171
Connecting to bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)|52.216.230.171|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3144687 (3.0M) [application/zip]
Saving to: 'love-0.10.2-win64.zip'

Any advice is appreciated. Thank you.

 

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,261 views 8 11
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you