Here are the instruction to configure the Optigo Capture Tool (software) on Windows to connect through an HTTPS Proxy.
Pre-requisites:
- Optigo Capture Tool 3.1.2rc11 or later
- Proxy server address and port information
- Administrator privilege to the host (PC) running the Optigo Capture Tool
Instructions:
-
Copy the following folders (e.g. using File Explorer)
from C:\Program Files (x86)\Optigo Capture Tool\zephyrus\node\node_modules\npm\node_modules
to C:\Program Files (x86)\Optigo Capture Tool\zephyrus\server\nodee_modules
You may require Administrator privilege.-
agent-base
-
https-proxy-agent
-
- Edit (e.g. using Notepad) this file to include the new code.
C:\Program Files (x86)\Optigo Capture Tool\zephyrus\server\cloud\axios.jsYou may require Administrator privilege.
const axios = require('axios');
const https = require('https');
const { HttpsProxyAgent } = require('https-proxy-agent');
const agent = new HttpsProxyAgent('http://99.99.99.99:3128');
// allow uploads to Optigo VBE with self-signed certificates
https.globalAgent.options.rejectUnauthorized = false;
const Axios = axios.create({
timeout: 30000, // in ms
httpsAgent: agent,
});
module.exports = Axios;- Replace 99.99.99.99 with the Proxy Server address
- Replace 3128 with the Proxy Server port
-
Make sure the server address in the Optigo Capture Tool, Cloudlink is set to FQDN WITHOUT the https:// in front (e.g. app.optigovn.com, app1.visualbacnet.com).
-
Restart the OptigoCaptureTool service
Comments
0 comments
Article is closed for comments.