Cloudflare CAPTCHAS break gradlew, please whitelist Tor for services.gradle.org


(Rusty Bird) #1

A frequent error when running gradlew over Tor:

Downloading https://services.gradle.org/distributions/gradle-2.13-bin.zip

Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: https://services.gradle.org/distributions/gradle-2.13-bin.zip
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)
[...]

HTTP 403 is Cloudflare’s CAPTCHA. Can you please whitelist Tor connections to services.gradle.org? https://support.cloudflare.com/hc/en-us/articles/203306930