looks like the Host var that you put the ENDPOINT in is now being parsed in ES.(on host it is https).
i fixed by:
npm install url -save
require('url') in index.js
add line to index.js
var TARGETHOST = url.parse(TARGET).hostname;
Use that for populating Host header.
looks like the Host var that you put the ENDPOINT in is now being parsed in ES.(on host it is https). i fixed by: npm install url -save require('url') in index.js add line to index.js var TARGETHOST = url.parse(TARGET).hostname; Use that for populating Host header.