Skip to content

Gradle task graalPyInstallPackages does not honor PROXY settings #552

@dlmiles

Description

@dlmiles

Hopefully this is the correct repo to report this. Please advise if the you recognise the module at fault here.

I have a global $HOME/.gradle/gradle.properties with:

systemProp.http.proxyHost=hostname.domain.com
systemProp.http.proxyPort=1234
systemProp.https.proxyHost=hostname.domain.com
systemProp.https.proxyPort=1234

It seems the proxyHost is honoured and Python pip._vendor.urllib3.connection.HTTPSConnection reports errno=5 Connection refused because it is trying to connect to the proxy on the TCP port 80.

Somewhere there is a translation of the Gradle proxy settings into the Python proxy settings and it seems to not manage the proxyPort part of the settings to potentially construct the form Python needs which maybe hostname.domain.com:1234. Which is put into the $HTTPS_PROXY environment variable for Python urllib3 to find ?

Metadata

Metadata

Assignees

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