You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to install tnode-sass on my machine and I keep hitting problems with my proxy server. I've raised the issue sass/node-sass#768, and it appears that this may be an issue with request, or a misuse of request.
Anyway, here is the case:
I've got a proxy (cntlm) that can be accessed through both HTTP and HTTPS. When I specify the proxy url using http: things work as expected. When I specify the proxy url using https: nothing works at all.
Basically, whenever I use https as proxy url I get the same root cause for the error: The script returns an ECONNRESET error (with no more information about what was wrong), and the proxy debug logs show the following:
This error message seems to indicate that the headers part of the request contains a & character that the proxy does not understand. It also seems that this & character is not followed by a line break.
The same thing happens whether I set tunnel to true or false.
The options object passed to request is the following:
Note that in my situation, I don't have many possible workarounds (such as setting the proxy URL to http) because the script must run without extra configuration on all the computers of my organization, which has a very heterogenous setup.
The text was updated successfully, but these errors were encountered:
This is also happening to me - very frustrating that I've done lots of research on this and there is no solution. Node-sass is the only one that causes me issues - I've installed hundreds of other modules with a proxy configuration with no issue.
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've been trying to install tnode-sass on my machine and I keep hitting problems with my proxy server. I've raised the issue sass/node-sass#768, and it appears that this may be an issue with request, or a misuse of request.
Anyway, here is the case:
I've got a proxy (cntlm) that can be accessed through both HTTP and HTTPS. When I specify the proxy url using
http:
things work as expected. When I specify the proxy url usinghttps:
nothing works at all.Basically, whenever I use
https
as proxy url I get the same root cause for the error: The script returns anECONNRESET
error (with no more information about what was wrong), and the proxy debug logs show the following:This error message seems to indicate that the headers part of the request contains a
&
character that the proxy does not understand. It also seems that this&
character is not followed by a line break.The same thing happens whether I set
tunnel
totrue
orfalse
.The
options
object passed to request is the following:Note that in my situation, I don't have many possible workarounds (such as setting the proxy URL to http) because the script must run without extra configuration on all the computers of my organization, which has a very heterogenous setup.
The text was updated successfully, but these errors were encountered: