Username: Password:

Author Topic: Getting error upon running Gunbot  (Read 6594 times)

Offline Rehnbot

  • Rookie
  • *
  • Posts: 4
    • View Profile
Getting error upon running Gunbot
« on: January 08, 2018, 11:33:31 PM »
I setup Gunbot on a Ubuntu 17.04 server that's hosted with Vultr.  I completed the beginners guide walkthrough and I believe I did everything right.  I have installed this previously on my mac, but wanted it hosted in the cloud for 24/7 performance.

After installing the two program files, I was able to access the localhost:5000 GUI.  However, it's not letting me preview the config I made.  Thinking this was strange and that maybe I skipped a step... I went into the terminal.  I figured I'd execute gunthy-linx64 and gunthy-gui-linx64 because that solded my problems when installing on my macbook.

Now I'm getting this error....

I have my API keys for my exchanges registered with the license server.  Do I need to edit the config.js file?  It was so much easier on my mac and not sure what I'm missing.



INVALID LICENSE FOR POLONIEX!!! Please contact Gunthar!
INVALID LICENSE FOR BITTREX!!! Please contact Gunthar!
INVALID LICENSE FOR KRAKEN!!! Please contact Gunthar!
INVALID LICENSE FOR CRYPTOPIA!!! Please contact Gunthar!
INVALID LICENSE FOR BITFINEX!!! Please contact Gunthar!
INVALID LICENSE FOR BINANCE!!! Please contact Gunthar!
Loading config...
events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: bind EADDRINUSE null:5001
    at Object.exports._errnoException (util.js:1026:11)
    at exports._exceptionWithHostPort (util.js:1049:20)
    at listenOnMasterHandle (net.js:1385:16)
    at rr (internal/cluster/child.js:111:12)
    at Worker.send (internal/cluster/child.js:78:7)
    at process.onInternalMessage (internal/cluster/utils.js:42:8)
    at emitTwo (events.js:130:20)
    at process.emit (events.js:213:7)
    at process.nextTick (internal/child_process.js:755:12)
    at _combinedTickCallback (internal/process/next_tick.js:95:7)
    at process._tickCallback (internal/process/next_tick.js:161:9)
Loading config...
events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: bind EADDRINUSE null:5001
    at Object.exports._errnoException (util.js:1026:11)
    at exports._exceptionWithHostPort (util.js:1049:20)
    at listenOnMasterHandle (net.js:1385:16)
    at rr (internal/cluster/child.js:111:12)
    at Worker.send (internal/cluster/child.js:78:7)
    at process.onInternalMessage (internal/cluster/utils.js:42:8)
    at emitTwo (events.js:130:20)
    at process.emit (events.js:213:7)
    at process.nextTick (internal/child_process.js:755:12)
    at _combinedTickCallback (internal/process/next_tick.js:95:7)
    at process._tickCallback (internal/process/next_tick.js:161:9)
Loading config...
events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: bind EADDRINUSE null:5001
    at Object.exports._errnoException (util.js:1026:11)
    at exports._exceptionWithHostPort (util.js:1049:20)
    at listenOnMasterHandle (net.js:1385:16)
    at rr (internal/cluster/child.js:111:12)
    at Worker.send (internal/cluster/child.js:78:7)
    at process.onInternalMessage (internal/cluster/utils.js:42:8)
    at emitTwo (events.js:130:20)
    at process.emit (events.js:213:7)
    at process.nextTick (internal/child_process.js:755:12)
    at _combinedTickCallback (internal/process/next_tick.js:95:7)
    at process._tickCallback (internal/process/next_tick.js:161:9)
Loading config...
INVALID LICENSE FOR POLONIEX!!! Please contact Gunthar!
INVALID LICENSE FOR BITTREX!!! Please contact Gunthar!
INVALID LICENSE FOR KRAKEN!!! Please contact Gunthar!
INVALID LICENSE FOR CRYPTOPIA!!! Please contact Gunthar!
INVALID LICENSE FOR BITFINEX!!! Please contact Gunthar!
INVALID LICENSE FOR BINANCE!!! Please contact Gunthar!
L

Offline Rehnbot

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Getting error upon running Gunbot
« Reply #1 on: January 09, 2018, 01:22:35 AM »
I must have had something wrong with the license.  I tried to run this again and am getting the following:

Bot crashed at 2018/01/09 01:12:38
Reason: Failed to load config!!!
Parameter: undefined
Original error: SyntaxError: Unexpected string in JSON at position 195
    at JSON.parse (<anonymous>)
    at Promise (/snapshot/gunbot-build/bot.lib.js:0:0)
    at Promise.module.exports.Promise._execute (/snapshot/gunbot-build/node_modules/bluebird/js/release/debuggability.js:300:9)
    at Promise.module.exports.Promise._resolveFromExecutor (/snapshot/gunbot-build/node_modules/bluebird/js/release/promise.js:483:18)
    at new Promise (/snapshot/gunbot-build/node_modules/bluebird/js/release/promise.js:79:10)
    at loadConfig (/snapshot/gunbot-build/bot.lib.js:0:0)
    at Object.start (/snapshot/gunbot-build/bot.lib.js:0:0)
    at Object.<anonymous> (/snapshot/gunbot-build/bot.lib.js:0:0)
    at Module._compile (pkg/prelude/bootstrap.js:1173:22)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
    at Module.require (pkg/prelude/bootstrap.js:1083:31)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/snapshot/gunbot-build/index.js:0:0)
    at Module._compile (pkg/prelude/bootstrap.js:1173:22)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)

Offline Rehnbot

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Getting error upon running Gunbot
« Reply #2 on: January 09, 2018, 02:09:56 AM »
I got it working following the "common errors" page on the wiki