Receiving 'httpcore.ProxyError: 403 Forbidden' when using proxies for request with https schema and port. #1708
Answered
by
felippemsc
felippemsc
asked this question in
Potential Issue
-
I'm trying to use a proxy to make requests to a url that is composed by a HTTPS scheme and a port. Example: proxies = {
"all://": "http://localhost:8080",
}
with httpx.Client(proxies=proxies) as client:
r = client.get("https://localhost:5555") However, every time that I run the previous code I receive a httpcore.ProxyError raised from here. |
Beta Was this translation helpful? Give feedback.
Answered by
felippemsc
Jun 23, 2021
Replies: 1 comment
-
Actually, it was the proxy provider that was giving me the 403 🤦 . Sorry for the trouble. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
felippemsc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actually, it was the proxy provider that was giving me the 403 🤦 . Sorry for the trouble.