Skip to content

pixi certificate problems in version 0.68.1 and higher #6229

Closed

Description

@melund

After upgrading pixi in our corporate environment from 0.67.2 to 0.68.1 we get the following error:

PS C:\Users\molu\scratch\test> pixi lock       
  ⠁ default:win-64       [00:00:03] resolving pypi dependencies    Error:   × failed to solve the pypi requirements of environment
  │ 'default' for platform 'win-64'
  ├─▶ failed to resolve pypi dependencies
  ├─▶ Failed to fetch: `https://pypi.org/simple/dash-auth/`
  ├─▶ Request failed after 3 retries
  ├─▶ error sending request for url (https://pypi.org/simple/
  │   dash-auth/)
  ├─▶ client error (Connect)
  ╰─▶ unable to find any user-specified roots in the final cert
      chain

We build pixi our self with the following options

cargo build --release --no-default-features --features native-tls

@ruben-arts mentioned that the newer version had some changes to "reqwest and with that use rust-tls".

Activity

  1. wolfv commented on May 28, 2026

    @wolfv
    Member

    Do you set the TLS roots, or any other environemnt variables? Do you have a "corporate" proxy?

  2. melund commented on May 28, 2026

    @melund
    Author

    @wolfv Yes, we are in a corporate proxy environment.

    Environment variables:

    • HTTP_PROXY/HTTPS_PROXY and http_proxy/https_proxy are set to our corporate proxy.
    • NO_PROXY/no_proxy are set.
    • We have no special SSL stuff set. SSL_CERT_FILE, SSL_CERT_DIR, REQUESTS_CA_BUNDLE, CURL_CA_BUNDLE, and PIP_CERT are all unset.

    Pixi setup:

    • We build Pixi ourselves with: cargo build --release --no-default-features --features native-tls
    • We use a global Pixi config with channel/PyPI mirrors and pypi-config.extra-index-urls.
    • We do not explicitly set tls-root-certs or proxy-config.

    Additional check:

    • I tested again with the PyPI mirror removed (direct pypi.org), and I get the exact same certificate failure.
    • So this does not appear to be mirror-specific.
  3. baszalmstra commented on May 28, 2026

    @baszalmstra
    Contributor

    Can you run pixi info of your build and paste the output here?

  4. melund commented on May 28, 2026

    @melund
    Author
    ❯ &./pixi info
    System
    ------------
           Pixi version: 0.68.1
            TLS backend: native-tls
               Platform: win-64
       Virtual packages: __win=10.0.22631=0
                       : __cuda=13.0=0
                       : __archspec=1=skylake
              Cache dir: C:\Users\molu\AppData\Local\rattler\cache
           Auth storage: C:\Users\molu\.rattler\credentials.json
       Config locations: C:\ProgramData\pixi\config.toml
    
    Global
    ------------
                Bin dir: C:\Users\molu\.pixi\bin
        Environment dir: C:\Users\molu\.pixi\envs
           Manifest dir: C:\Users\molu\.pixi\manifests\pixi-global.toml
    
  5. melund commented on May 28, 2026

    @melund
    Author

    @baszalmstra I will try to build the newest version from main and see if it also has problems.

  6. baszalmstra commented on May 28, 2026

    @baszalmstra
    Contributor

    I think I have a fix in #6235 . Would you be able to try that?

  7. melund commented on May 29, 2026

    @melund
    Author

    @baszalmstra. Yes. I have built a new version from 0.69 with you branch merged in, and that fixes the problem for me 👍

  8. baszalmstra commented on May 29, 2026

    @baszalmstra
    Contributor

    Thank you for testing! Much appreciated!

  9. melund commented on May 29, 2026

    @melund
    Author

    @baszalmstra. Awesome. What is your planned timeframe for the next release with this included? I am asking to know if I should just build my own version of 0.69.0 with the fix

  10. baszalmstra commented on May 29, 2026

    @baszalmstra
    Contributor

    Early next week most likely

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

Metadata

Metadata

Assignees

No one assigned

    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