For the past few hours our Android builds have been failing due to not being able to downloading dependencies during the gradle build step.
Could not resolve com.android.tools.lint:lint:24.3.1.
Could not get resource ‘https://jcenter.bintray.com/com/android/tools/lint/lint/24.3.1/lint-24.3.1.pom’.
Could not GET ‘https://jcenter.bintray.com/com/android/tools/lint/lint/24.3.1/lint-24.3.1.pom’. Received status code 502 from server: Bad Gateway
When we try to rebuild it, at each rebuild it fails for different deps, but I can access those urls and download from a local machine no problem.
Where did the issue happen?
Android & Docker, on Ubuntu 16.04
Which build Step causes the issue and which version of the step?
Fastlane android check (always latest version), during the gradle build step
Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) :
NO, rebuilt ~10 times, same error but happens randomly in terms of which deps
Does a rebuild without caches help? (You can remove the
Cache:Pushsteps temporarily to not to use the cache, or you can delete all the caches on the
Settingstab of the app. : NO
Does the issue happen sporadically, or every time? : Every time
Does upgrading the build Step to the latest version help? : NO, set to always use latest
When did the issue start? : Since our first build today, so at least a couple of hours
Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what bitrise.io will get when it does a git clone in the clean environment! If possible please note which sections you tried.
No. building it locally using fastlane works every time.
Can it be reproduced by running the build locally, after doing a new git clone of the repository into the
/tmp directory and running the build from there with the Bitrise CLI ( Bitrise CLI )? If no, can it be reproduced with Docker (using the same docker images / environment we use on bitrise.io)? Related guide: Redirecting… .
Please copy paste the build’s bitrise.io URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - Contact us ), with a link to the related Discuss issue.