Issue when running paper trading
I keep getting this error after a few hours of running zenbot.
{ Error: getaddrinfo EAI_AGAIN api.gdax.com:443 at Object.exports._errnoException (util.js:1050:11) at errnoException (dns.js:33:15) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:73:26) code: 'EAI_AGAIN', errno: 'EAI_AGAIN', syscall: 'getaddrinfo', hostname: 'api.gdax.com', host: 'api.gdax.com', port: 443 }
I think it's a network problem.
you could try to run a tool like "forever" to restart zenbot if it crashes. that's what i am doing currently.
simply run
sudo npm install -g forever
forever zenbot.sh trade
zenbot should still handle these kinds of things gracefully.
graceful retries are now a part of GDAX extension