jasper
jasper copied to clipboard
[Request] Can I request to add 'https-proxy-agent' for https.request in Jasper?
Hi,
Have purchased a license to continue to use in my job, but Jasper cannot access to the licensing server from my office. I have tested with curl command to confirm the connection with my license, it succeeded. But Jasper's 'License' dialog does not respond after pushing OK button. I thought it may be caused by our proxy server with an authentication, so I tested a sample code in the following npm module's site with my usual proxy configuration, it was OK.
https://www.npmjs.com/package/https-proxy-agent
Well, can I request to add the 'https-proxy-agent' feature if user configured the 'http_proxy' environment variable globally for Node.js environment?
Code like this:
var HttpsProxyAgent = require('https-proxy-agent');
var proxy = process.env.http_proxy;
var agent = new HttpsProxyAgent(proxy); // in case of 'proxy' is not empty
options.agent = agent; // in case of 'proxy' is not empty
https.get(options, function (res) {
// process API responses from GitHub/Licensing Server
});
To be honest, if you can support the proxy authentication settings like as VSCode or Mattermost, I think it makes more users happy.