Skip to content
New issue

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

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

Already on GitHub? # to your account

Make script aware of 407 when downloading gradle #1485

Closed
koppor opened this issue Aug 11, 2017 · 0 comments
Closed

Make script aware of 407 when downloading gradle #1485

koppor opened this issue Aug 11, 2017 · 0 comments

Comments

@koppor
Copy link

koppor commented Aug 11, 2017

builds.snapcraft.io rejects downloading gradle.

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

Exception in thread "main" java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"

Source: https://build.snapcraft.io/user/JabRef/jabref/67152

An issue has been submitted - see canonical-web-and-design/build.snapcraft.io#918. I don't know, if this will be fixed or if it is easier to quickyl adapt gradle.py.

I assume, gradle.py has to be adapted accordingly? https://github.com/snapcore/snapcraft/blob/master/snapcraft/plugins/gradle.py#L88; if gradlew exists, execute it. If that fails with proxy 407 error (grepping stdout?), execute gradle

sergiusens pushed a commit that referenced this issue Aug 17, 2017
LP: #1682534

Bring ant and gradle up to par with maven plugin wrt. authenticated proxies. Fixes #1485 and re-fixes the linked LP bug.
kalikiana pushed a commit to kalikiana/snapcraft that referenced this issue Sep 21, 2017
…onical#1490)

LP: #1682534

Bring ant and gradle up to par with maven plugin wrt. authenticated proxies. Fixes canonical#1485 and re-fixes the linked LP bug.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant