Open computerlearning opened 7 years ago
@luigiplr I also got that problems as well. Any ideas?
++
The same problem here. Is anyone can answer this problem?
bugsnag.js:616 Error: connect ECONNREFUSED 127.0.0.1:1337 at Object.exports._errnoException (util.js:1024) at exports._exceptionWithHostPort (util.js:1047) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1150)
This is the error message I have. Please help me.
bugsnag.js:616 Error: connect ECONNREFUSED 127.0.0.1:1337 at Object.exports._errnoException (util.js:1024) at exports._exceptionWithHostPort (util.js:1047) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1150)
This is the error message I have. Please help me.
i have that error too,any body know why?
have you made an account etc.?
hi did anyone find the solution for that ???
It's a typo
const openvpnBin = require('./openvpn-bin');
const path = require('path');
openvpnBin
.initialize('openvpn', {
host: '127.0.0.1',
port: 1337,
config: path.normalize('/Users/junius/Downloads/electron/VPN App 2/se.gothenburg.ovpn.com.ovpn'),
})
.then(function () {
const managerInstance = openvpnmanager.connect({
host: '127.0.0.1',
port: 1337,
});
managerInstance.on('connected', function () {
openvpnmanager.authorize({
user: 'juniusl',
pass: 'Ican@vpn',
});
});
managerInstance.on('console-output', function (output) {
console.log(output);
});
});
When I'm using this code
I am getting these errors
Also in terminal after I enter my password on the popup while trying to connect to the server I am getting these errors.
Any ideas on how I would go about fixing these issues? Thanks!
Currently I'm just using a button that calls a function that includes the code above. I'm new to node.js and electron.js so if it is something stupid I'm sorry. I think the problem is with the line that has managerInstance.authorize, maybe I messed up installing the packages?