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

Unable to connect via the proxy [407 AuthorizedOnly] #35

Open
ankitkul opened this issue May 20, 2017 · 1 comment
Open

Unable to connect via the proxy [407 AuthorizedOnly] #35

ankitkul opened this issue May 20, 2017 · 1 comment

Comments

@ankitkul
Copy link

ankitkul commented May 20, 2017

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 ankitkul changed the title Unable to authorize behind the proxy Unable to connect via the proxy [407 AuthorizedOnly] May 20, 2017
@lokeshkumarn
Copy link

will this be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants