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

Correct use of corporate proxy #4432

Closed
1 task done
LioRei opened this issue Oct 3, 2022 · 2 comments
Closed
1 task done

Correct use of corporate proxy #4432

LioRei opened this issue Oct 3, 2022 · 2 comments
Milestone

Comments

@LioRei
Copy link

LioRei commented Oct 3, 2022

What kind of issue is this?

  • PlatformIO Core.
    If you’ve found a bug, please provide an information below.

You can erase any parts of this template not applicable to your Issue.


Configuration

Operating system: Windows

PlatformIO Version (platformio --version): PlatformIO Core, version 6.1.4

Description of problem

Platformio is not able to correctly install behind a corporate proxy. HTTPClient and FileDownloader isn't reading env variable to see if there is a proxy or not so the download of platformio/contrib-piohome is not possible.

Steps to Reproduce

  1. have a computer behing a corporate proxy
  2. install platformio
  3. try to do a "pio home"

Actual Results

Error in download of the package

Expected Results

No error

Additional info

I've modified the python script on my computer and I will link a draft PR with my change

@LioRei
Copy link
Author

LioRei commented Oct 3, 2022

draft PR: #4433

@ivankravets ivankravets added this to the 6.1.5 milestone Oct 3, 2022
@ivankravets
Copy link
Member

Could you re-test with pio upgrade --dev? See newly added docs on how to configure the proxy https://docs.platformio.org/en/latest/core/installation/proxy-configuration.html

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

No branches or pull requests

2 participants