Open cecilpeng opened 6 years ago
nwjs sample: sample.zip
I can reproduce this issue on Windows 10 with nwjs-sdk-v0.27.5.
Run it with nodejs:
const request = require('request'); // npm i request first
request({
url: 'https://www.baidu.com',
proxy: 'http://127.0.0.1:8888'
}, (err) => {
console.log(err);
});
output:
null
NWJS Version : nwjs 0.27.5 Operating System : win7
Expected behavior
My application support system proxy. Both developers and testers of our program need to run it with fiddler capturing all http(s) traffics. I hope nwjs support nodejs enviroment variables completely.
Actual behavior
It is different between nodejs and nwjs. nwjs throw error in the condition of ca-configured-tls .
How to reproduce
nodejs code: