Gunthy

GUNBOT: The automatic profit generator => Technical Support & Development => Topic started by: mitchrs on March 20, 2019, 08:16:26 AM

Title: Bot keeps crashing
Post by: mitchrs on March 20, 2019, 08:16:26 AM
Hey Guys,

I am new to the bot. I have configured my first trading pairs with Binance, When i start the bot it says it cant connect to Binance and then the bot crashes. Below are parts of the received messages.

Error: {}
    at errorHandler (C:\snapshot\gblackv12\ctx-wrapper.js:0:0)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
Unable to connect to binance
Please if this error persists, stop Gunbot, wait a few minutes and then start it again...
Loading config...
   info  - socket.io started
GUI Server Deployed: http://localhost:5000
Loading exchange - binance
Loading data....


The bot then crashes


at new Promise (C:\snapshot\gblackv12\node_modules\bluebird\js\release\promise.js:79:10)
    at loadConfig (C:\snapshot\gblackv12\bot.gunbot.js:0:0)
    at Object.start (C:\snapshot\gblackv12\bot.gunbot.js:0:0)
    at Object.<anonymous> (C:\snapshot\gblackv12\bot.gunbot.js:0:0)
    at Module._compile (pkg/prelude/bootstrap.js:1243:22)
    at Object.Module._extensions..js (module.js:650:10)
    at Module.load (module.js:558:32)
    at tryModuleLoad (module.js:501:12)
    at Function.Module._load (module.js:493:3)
    at Module.require (module.js:583:17)
    at Module.require (pkg/prelude/bootstrap.js:1153:31)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (C:\snapshot\gblackv12\index.js:0:0)
    at Module._compile (pkg/prelude/bootstrap.js:1243:22)
    at Object.Module._extensions..js (module.js:650:10)
    at Module.load (module.js:558:32)
    at tryModuleLoad (module.js:501:12)
    at Function.Module._load (module.js:493:3)
    at Function.Module.runMain (pkg/prelude/bootstrap.js:1298:12)
    at startup (bootstrap_node.js:227:16)
    at bootstrap_node.js:649:3


Thank you in advance for your assistance.
Title: Re: Bot keeps crashing
Post by: sbogovac on March 20, 2019, 10:47:34 AM
What is your delay set to? Looks like an API ban, maybe...?
Title: Re: Bot keeps crashing
Post by: Aitor on March 21, 2019, 11:56:05 AM
This is a typical error msg. Easy fix. 95% of the times it's fixed following step 1:

https://gunbot.shop/how-to-fix-unable-to-connect-to-exchange-error-on-gunbot/

Hope it helps.
Title: Re: Bot keeps crashing
Post by: olliecrypto on March 23, 2019, 02:27:38 PM
have you tried running the "network time synch" tool?
my pc kept falling behind on time and giving me a similar issue, but that tool seems to have solved it for me.
try it out, see if it helps