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

Error behind proxy with Authentication #73

Closed
Haves1001 opened this issue Mar 22, 2017 · 5 comments · Fixed by #76
Closed

Error behind proxy with Authentication #73

Haves1001 opened this issue Mar 22, 2017 · 5 comments · Fixed by #76
Labels

Comments

@Haves1001
Copy link

When trying to get a connection behind our companies proxy (which requires you to use username+password+url+port to access anything behind it) I get this weird error:

write EPROTO 101057795:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s23_clnt.c:794:

Do you know if this is a currently supported feature? My proxy setting looks like this:

proxy: 'http://${this.proxy.user}:${this.proxy.password}@${this.proxy.address}'

@rexxars
Copy link
Member

rexxars commented Apr 17, 2017

Think this might be happening when you use an HTTP proxy for a HTTPS url. Will see if I can reproduce and fix.

@rexxars rexxars added the Bug label Apr 17, 2017
@SteveCruise
Copy link

@rexxars I meet an error too, when I use a HTTP proxy for a HTTPS url. Hope you to fix it, Thank you very much!

@SteveCruise
Copy link

SteveCruise commented May 17, 2017

@rexxars I didn't use the authentication, just set {https: {rejectUnauthorized: false}, proxy: proxy}. When use http, it works well, but cannot use https to pass proxy. Hope you to fix it, Thank you very much, great project.

@rexxars
Copy link
Member

rexxars commented May 28, 2017

Fixed in v1.0.2.

@69
Copy link

69 commented Dec 21, 2018

Having a similar problem, but with a different error.
Using http://username:password@uk433.nordvpn.com:80/ for a proxy, I get a 407 Proxy Authentication Required error meanwhile it works perfectly fine with libraries like request and command line tools like curl.

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

Successfully merging a pull request may close this issue.

4 participants