MoneroOcean/xmr-node-proxy

Error generated when starting proxy

Closed this issue · 0 comments

Trying to rebuild from scratch on Ubuntu 16.04

Starting proxy:
$pm2 start proxy.js --name=proxy --log-date-format="YYYY-MM-DD HH:mm Z"

Miner gets Connection refused

$pm2 logs proxy

1|proxy | 2019-03-11 01:50 -06:00: Xmr-Node-Proxy (XNP) v0.9.0
1|proxy | 2019-03-11 01:50 -06:00: Cluster master setting up 1 workers...
1|proxy | 2019-03-11 01:50 -06:00: /home/nodeproxy/xmr-node-proxy/lib/xmr.js:273
1|proxy | 2019-03-11 01:50 -06:00: function getMasterJob(pool, workerID) {
1|proxy | 2019-03-11 01:50 -06:00: ^^^^^^^^
1|proxy | 2019-03-11 01:50 -06:00: SyntaxError: Unexpected token function
1|proxy | 2019-03-11 01:50 -06:00: at Object.exports.runInThisContext (vm.js:76:16)
1|proxy | 2019-03-11 01:50 -06:00: at Module._compile (module.js:542:28)
1|proxy | 2019-03-11 01:50 -06:00: at Object.Module._extensions..js (module.js:579:10)
1|proxy | 2019-03-11 01:50 -06:00: at Module.load (module.js:487:32)
1|proxy | 2019-03-11 01:50 -06:00: at tryModuleLoad (module.js:446:12)
1|proxy | 2019-03-11 01:50 -06:00: at Function.Module._load (module.js:438:3)
1|proxy | 2019-03-11 01:50 -06:00: at Module.require (module.js:497:17)
1|proxy | 2019-03-11 01:50 -06:00: at require (internal/module.js:20:19)
1|proxy | 2019-03-11 01:50 -06:00: at new Pool (/home/nodeproxy/xmr-node-proxy/proxy.js:197:22)
1|proxy | 2019-03-11 01:50 -06:00: at /home/nodeproxy/xmr-node-proxy/proxy.js:354:42
1|proxy | 2019-03-11 01:50 -06:00: /home/nodeproxy/xmr-node-proxy/lib/xmr.js:273
1|proxy | 2019-03-11 01:50 -06:00: function getMasterJob(pool, workerID) {
1|proxy | 2019-03-11 01:50 -06:00: ^^^^^^^^
1|proxy | 2019-03-11 01:50 -06:00: SyntaxError: Unexpected token function
1|proxy | 2019-03-11 01:50 -06:00: at Object.exports.runInThisContext (vm.js:76:16)
1|proxy | 2019-03-11 01:50 -06:00: at Module._compile (module.js:542:28)
1|proxy | 2019-03-11 01:50 -06:00: at Object.Module._extensions..js (module.js:579:10)
1|proxy | 2019-03-11 01:50 -06:00: at Module.load (module.js:487:32)
1|proxy | 2019-03-11 01:50 -06:00: at tryModuleLoad (module.js:446:12)
1|proxy | 2019-03-11 01:50 -06:00: at Function.Module._load (module.js:438:3)
1|proxy | 2019-03-11 01:50 -06:00: at Module.require (module.js:497:17)
1|proxy | 2019-03-11 01:50 -06:00: at require (internal/module.js:20:19)
1|proxy | 2019-03-11 01:50 -06:00: at new Pool (/home/nodeproxy/xmr-node-proxy/proxy.js:197:22)
1|proxy | 2019-03-11 01:50 -06:00: at /home/nodeproxy/xmr-node-proxy/proxy.js:1594:42

These same errors are generated over and over again.

Tried using the config_sample.json as a T-shooting tool to see if my config file was bad, but got the same results.