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
Problem with http-https redirection behind proxy: Error: tunneling socket could not be established, cause=Parse Error #1357
Comments
so, you're getting a redirect to also, a standalone test case that reproduces the problem would be really helpful. see |
Getting this same error as well. My question is where can we find this error message in the Found it: https://github.com/mikeal/tunnel-agent/blob/master/index.js#L174 |
@rkrejcii figure out what was causing mine. It's an error when it tries to parse the headers in my case. I'm using Thoughts now are, perhaps I need to |
Well, |
The |
On what operating systems are you all on? Could you please check if my comments in npm/npm#3084 (comment) are usefule to you? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi.
I have problem using following code (GET request via authorised proxy) in the case of redirection from HTTP to HTTPS site. When I for example request
http://twitter.com
I'm getting error message
{ [Error: tunneling socket could not be established, cause=Parse Error] code: 'ECONNRESET' }
Redirection is taken in account as the
followRedirect
callback returns followingresponse.headers
:The problematic code (sensitive info hidden):
Thanks for every help.
The text was updated successfully, but these errors were encountered: