Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

403 error (and fix) #7

Open
CTTY-NUL opened this issue Jul 28, 2021 · 0 comments
Open

403 error (and fix) #7

CTTY-NUL opened this issue Jul 28, 2021 · 0 comments

Comments

@CTTY-NUL
Copy link

CTTY-NUL commented Jul 28, 2021

When running "gradlew check" you'll get the following error message:

Downloading http://services.gradle.org/distributions/gradle-1.11-all.zip
Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 403 for URL: http://services.gradle.org/distributions/gradle-1.11-all.zip

The fix is simple, in /gradle/wrapper/gradle-wrapper.properties change the line:

distributionUrl=http://services.gradle.org/distributions/gradle-1.11-all.zip

to:

distributionUrl=https://services.gradle.org/distributions/gradle-1.11-all.zip

The 403 error is caused by not using HTTPS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant