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

Build from private conda-forge mirror failing since v0.30.0 #1304

Open
chaumage opened this issue Jan 6, 2025 · 5 comments
Open

Build from private conda-forge mirror failing since v0.30.0 #1304

chaumage opened this issue Jan 6, 2025 · 5 comments

Comments

@chaumage
Copy link

chaumage commented Jan 6, 2025

I'm using rattler-build to package pure python libraries on a windows machine, with a private conda-forge mirror and no access to any other package index.
My command looks like:

rattler-build build --recipe ./recipe/recipe.yaml -c https://host/repository/py-conda-forge --output-dir ../build/

It worked perfectly until i updated to the latest version.
I tried all recent versions, I get the following error since version 0.30.0 (included):

Error:
  × Failed to resolve dependencies: Request failed after 3 retries
  ├─▶ Request failed after 3 retries
  ├─▶ error sending request for url (https://host/repository/py-conda-forge/win-64/repodata_shards.msgpack.zst)
  ├─▶ client error (Connect)
  ╰─▶ invalid peer certificate: UnknownIssuer
@wolfv
Copy link
Member

wolfv commented Jan 6, 2025

Does the URL have a valid HTTPS certificate? Is there a difference with the URL indicated, and one that (probably) works like https://host/repository/py-conda-forge/win-64/repodata.json?

@wolfv
Copy link
Member

wolfv commented Jan 6, 2025

Ie. could you share what curl-ing those two URLs returns?

@chaumage
Copy link
Author

chaumage commented Jan 6, 2025

Not sure I understand all the technicalities here, but curl-ing those urls returns a 404 error. I think the urls have no valid HTTPS certificate, when using pixi I have to set tls-no-verify = true.

@wolfv
Copy link
Member

wolfv commented Jan 6, 2025

Do you need to use -k or --insecure when using curl?

@chaumage
Copy link
Author

chaumage commented Jan 6, 2025

Sorry I mistyped the command, now curl https://host/repository/py-conda-forge/ returns the list of all available packages, and no need for -k or --insecure

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

No branches or pull requests

2 participants