dialogflow-python-client icon indicating copy to clipboard operation
dialogflow-python-client copied to clipboard

Unable to connect via the proxy [407 AuthorizedOnly]

Open ankitkul opened this issue 8 years ago • 1 comments
trafficstars

Getting the following error when connecting to API AI via proxy. socket.error: Tunnel connection failed: 407 AuthorizedOnly

When I looked into request.py I could see HTTPConnection being used which only considers proxy server and port and not the username and password.

Do you plan to support requests module or another fix so that username and password can also be passed to authenticate against proxies.

Ideally should take username/password from environment with the pattern: https://<username>:<password>@<proxy_server>:<port>

ankitkul avatar May 20 '17 18:05 ankitkul

will this be fixed

lokeshkumarn avatar Jan 08 '18 09:01 lokeshkumarn