Skip to content

Correct use of corporate proxy #4432

@LioRei

Description

@LioRei

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions