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

Get post request works by using postman but dose not work in requests #5318

Closed
nnit-kzhg opened this issue Jan 17, 2020 · 1 comment
Closed

Comments

@nnit-kzhg
Copy link

Hello Mates,

i got a problem to post a HTTP request to a internal web server and it works when i using postman and dosent work in python request. the request is pretty simple just like below,

response=requests.post("https\myserver",auth=('admin','****'),verify=False), i got following error log,

requests.exceptions.ProxyError: HTTPSConnectionPool(host='xx.xx.xx.xx', port=443): Max retries exceeded with url: /myserver (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 504 Gateway Timeout')))

can anyone give me some tips on where i should look into? thanks a lot

@nateprewitt
Copy link
Member

Hi @nnit-kzhg,

This is an issue with your proxy configuration that we won’t be able to debug on this issue board. I’d encourage opening an question on Stackoverflow to debug further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants