Open h311m4n opened 6 years ago
I've made the following change in node_modules/poloniex.js/lib/poloniex.js:
options.json = true;
options.headers['User-Agent'] = Poloniex.USER_AGENT;
options.strictSSL = Poloniex.STRICT_SSL;
options.timeout = 60 * 2000;
Before it was 60*1000, I'm not sure if it fixes the problem or what exact consequences this may have. However the bot has been running for 20mins now without any timeout occuring.
Ok, so the bot has now been running for over a day and I haven't seen these timeout issues again.
I do however, every now and then get the infamous nonce error where is says nonce is x and I provided y. The difference between the 2 nonce is 2000.
I've google this quite extensively but I'm not sure of what fix should be applied? I read some people where advancing their clocks a few seconds to counter this, sounds a bit edgy though, especially for bot trading.
Also read to create new API+Key pair, should I try this once more? These nonce errors are popping up every now and then but it seems not in a constant manner (like not every x minutes).
Any insight welcome!
Hey @h311m4n , im trying to run bot for the first time.
It keeps showing same blue timestamp. Is it running?
2018-07-31 04:26:56
now its 4:33. I've tried run it several times, no effect.
Its not the same, but still poloniex.
Hello,
I've launched a bot on Poloniex with a small amount of funds to try it out on the BTC-USDT pair. It made it's first trade and bought USDT. Zenbot running on an Ubuntu 16.04 vm.
Using node.js 8.11.3
However, I'm getting errors likes these at a few minutes interval:
However it does get the correct USDT balance from my polo account on the GUI. I'm getting similar errors for getting trades etc. And when I relaunch the bot, I have no trade history on the GUI (don't know if this is normal or not?).
When I relaunch the bot, all is fine, but after say 10mins, I start getting these timeouts. It seems to crash after a while with a nonce error.
I'm a complete node.js noob so this doesn't really speak to me. What I've tried:
New api key+secret: no difference Checked my firewall (running pfsense at home): nothing is getting blocked DNS requests seem to work fine from the linux box
Can someone advise on what needs to be done? I've googled around but nothing specific to this error with Zenbot and Poloniex.
Thanks!