HTTP 407 error when using a git source
See original GitHub issue- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).
- OS version and name: macOS 12.5.1, Debian 11
- Poetry version: 1.2.0, also tested against master and older 1.1 releases
- Link of a Gist with the contents of your pyproject.toml file: https://github.com/dsp-testing/poetry-407/blob/main/pyproject.toml
Issue
Hi Poetry friends 👋
In Dependabot we’re seeing an issue where when pyproject.toml contains a git source for a dependency we get a 407 Proxy Authentication Required. Dependabot uses a proxy that requires authentication to do updates. To reproduce the issue, I created https://github.com/dsp-testing/poetry-407 since it takes a bit of setup.
It seems that when the git source is present, Poetry loses the username and password to the proxy.
Let me know if you have other questions or I’ve left something out. Thanks!
Issue Analytics
- State:
- Created a year ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
git returns http error 407 from proxy after CONNECT
This means that you have not properly authenticated with the proxy. Can you double check the password you provide in this step is...
Read more >How To Fix HTTP Error 407 "Proxy Authentication Required"
HTTP Error 407 usually happens when the server is unable to complete a request as the client lacks proper authentication credentials for a...
Read more >unable to access received http code 407 github desktop #13330
When i tried to clone an application it's throwing an error "unable to access received http code 407 github desktop". We are using...
Read more >Received HTTP code 407 from proxy after CONNECT
According to your error message, the issue was caused by Proxy. Do you use proxy? If yes, please refer to below thread to...
Read more >407 Proxy Authentication Required - HTTP - MDN Web Docs
The HTTP 407 Proxy Authentication Required client error status response code indicates that the request has not been applied because it ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
No worries.
dulwich is reasonably active, if you do find the time to reproduce accurately they’d likely welcome the report.
I would encourage getting support into dulwich – long-term we don’t plan to keep the system-git-client option, but only after dulwich proves stable/feature complete for our uses.