Support Package fails to download if proxy is in use
See original GitHub issueAfter successfully testing the HelloWorld application using briefcase dev I attempted to move on to tutorial 3 and got the following error:
Using support package https://briefcase-support.org/python?platform=windows&version=3.6&arch=amd64 Unable to downloading support package; is your computer offline?
I am behind a Proxy but I configured the git config --global http.proxy and https.proxy using the same proxy configurations I use for pip behind the proxy but it still resulted in the same error. Please advise.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Error when downloading a Support Package with proxy
When I try to install the package by the Support Package Installer (SPI) from Internet, an error occurs because of my proxy.
Read more >proxy issue when downloading Software Updates
On our Primary site server, under Admin > Site System properties, we have set the proxy settings with username and password.
Read more >Error in install.packages : unable to install packages - General
Help please, I have been trying to download the package dplyr into my r studio but is unable to do so - maybe...
Read more >Uploading support packages manually - IBM
You can use the management GUI or the command-line interface to upload support packages to the support center. If support assistance is configured...
Read more >Can't donwnload some files when using web proxy (works ...
Please ask a new question if you need help. ... On the proxy (Squid) I can see the failing files downloaded and I...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the report!
In this case, the problem isn’t with git or pip (Briefcase does use those two services as well); it’s with the https://briefcase-support.org website that hosts our pre-build Python support packages. In your particular case, the URL that is listed will be redirecting to download https://www.python.org/ftp/python/3.6.8/python-3.6.8-embed-amd64.zip
We don’t currently have any proxy support baked in for accessing that service - it sounds like we may need to add support for proxies.
To help us work out what is required: What configuration would you need in briefcase to allow:
to successfully download the ZIP file?
As a workaround; if you can manually download that file, you can add
support_package = 'path\to\python-3.6.8-embed-amd64.zip'
to the MSI section of your pyproject.toml - that will circumvent Briefcase’s attempt to download the support package and use the local version.Just as a note for anyone who may be having the following issue when building for linux behind a proxy:
This is a docker proxy issue that can be solved here: https://docs.docker.com/config/daemon/systemd/