Skip to content

403 error (and fix) #7

Description

@CTTY-NUL

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions