-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Unable to install packages behind corporate firewall/vpn #6773
Comments
Hi @drorata -- this is either a duplicate of #1012 or #1632 depending on if you are trying to make Poetry handshake against MITM style proxy, or are trying to instead redirect all requests against PyPI to a different index. My response in the issue you linked was to the original issue, which had an odd situation where configuring an additional source with a custom cert tried to apply that cert to PyPI. That is no longer reproducible, and is not the same as your issue. In your reproduction, you do not appear to have turned off SSL verification. In #1012 (comment) I tried to walk you through what was happening and what issues you can encounter. For a long-form discussion and debugging of this process, see #6681. In short, Poetry currently is in a weird spot where you can turn off all it's SSL validation, but it can be difficult to get it to work for pip as well. This will hopefully improve as we further decouple from pip. If you are able to provide a complete certificate bundle via I'm going to close this for now as a duplicate of either of the two issues I linked. If you would like to see if anyone wants to give you hands-on help getting |
I experienced what @neersighted described above with the custom cert and additional source. I solved this by simply correcting an error in specifying the priority of the source. It worked for me to go with the following in my pyproject.toml file: |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option) and have included the output below.Issue
Following on this comment #2839 (comment), I'm reporting that I still have an issue with installing packages using poetry:
The text was updated successfully, but these errors were encountered: