Closed samsong8610 closed 8 years ago
It works well if installed from github, which is the same version as the previous one.
$ npm install git+https://github.com/drewzboto/grunt-connect-proxy.git --save-dev
grunt-connect-proxy@0.2.0 node_modules/grunt-connect-proxy
├── lodash@0.9.2
└── http-proxy@1.11.2 (eventemitter3@1.1.1, requires-port@0.0.1)
+1 Same issue tested on 9/21
It should also work if we install the package not from github. Does anyone know what the problem is?
@snajo IMO, this can be fixed by updating NPM package. With the same version, NPM package has different source code from github.
@samsong8610 Sure, but in my opinion this isn`t a solution if you are behind a firewall which blocks requests against github. The new source code should deployed to npmjs.org with a increased version number.
@snajo I agree.
I´ve the same problem here. It only works if I use "npm install git+https://github.com/drewzboto/grunt-connect-proxy.git --save-dev". Is there any fix available?
I need proxy http request to an https site on the localhost. My proxy config is as below.
Start server with
grunt -dv serve
, accesshttp://localhost:9000/gateway/oauth/authorize
using browser, grunt outputsProxy error: HPE_INVALID_CONSTANT
, details as below:The error message in my local https site is
http: TLS handshake error from 10.0.2.2:57550: tls: first record does not look like a TLS handshake
. It seems like that the proxy dosen't use SSL to connect to the target server.EDIT: grunt-connect-proxy version is 0.2.0, installed by: