Skip to content

Pixi add not working behind proxy and firewall #1035

Closed
@vigneshmanick

Description

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

pixi init
pixi add python

Issue description

Hello,

thanks for the awesome project. I have an issue when using pixi via proxy and a firewall that intercepts the communications (MITM). I tried to test the demo script to see if it works and this is the following output i get. Any pointers on how to use pixi that's behind proxy with a custome ca-certificate?. I have no issues when running pixi when not behind proxy and firewall.

My os is windows 11 pro and pixi version is 0.17.0

ERROR fetch_repo_data{cache_path=C:\Users\user\AppData\Local\rattler/cache\repodata}: rattler_repodata_gateway::fetch: error=Request error: error sending request for url (https://conda.anaconda.org/conda-forge/noarch/repodata.json.zst): error trying to connect: tcp connect error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (os error 10060)
ERROR fetch_repo_data{cache_path=C:\Users\user\AppData\Local\rattler/cache\repodata}: rattler_repodata_gateway::fetch: error=Request error: error sending request for url (https://conda.anaconda.org/conda-forge/win-64/repodata.json.zst): error trying to connect: tcp connect error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (os error 10060)
  × failed to fetch repodata from channels
  ├─▶ Request error: error sending request for url (https://conda.anaconda.org/conda-forge/win-64/repodata.json.zst):
  │   error trying to connect: tcp connect error: A connection attempt failed because the connected party did not
  │   properly respond after a period of time, or established connection failed because connected host has failed to
  │   respond. (os error 10060)
  ├─▶ error sending request for url (https://conda.anaconda.org/conda-forge/win-64/repodata.json.zst): error trying
  │   to connect: tcp connect error: A connection attempt failed because the connected party did not properly respond
  │   after a period of time, or established connection failed because connected host has failed to respond. (os error
  │   10060)
  ├─▶ error trying to connect: tcp connect error: A connection attempt failed because the connected party did not
  │   properly respond after a period of time, or established connection failed because connected host has failed to
  │   respond. (os error 10060)
  ├─▶ tcp connect error: A connection attempt failed because the connected party did not properly respond after a
  │   period of time, or established connection failed because connected host has failed to respond. (os error 10060)
  ╰─▶ A connection attempt failed because the connected party did not properly respond after a period of time, or
      established connection failed because connected host has failed to respond. (os error 10060)

Thanks!

Expected behavior

pixi add works without any timeout

Activity

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

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions