Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Bittrex 'Error during syncing balance' #1164

Closed
brucetus opened this issue Jan 17, 2018 · 3 comments
Closed

Bittrex 'Error during syncing balance' #1164

brucetus opened this issue Jan 17, 2018 · 3 comments
Labels
bug exchange Relating to an exchange

Comments

@brucetus
Copy link
Contributor

brucetus commented Jan 17, 2018

System information

  • Have I written custom code (as opposed to using zenbot vanilla): No
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Debian 9
  • Zenbot version: Latest
  • NodeJS version: 8.9.4
  • Python version: ?
  • Exact command to reproduce: ./zenbot.sh trade bittrex.ADA-BTC

Describe the problem

New error popping up multiple times related to syncing balances and API keys

Source code / logs

I'm running multiple pairs in different screens. I've been getting this error recently which I haven't gotten before, so it may be related to recent changes. It seems to have something to do with my API key, but I've checked multiple times and it is correct in the conf.js and the permissions are correct. This is related to issue #1085 , which has been closed by the creator, but doesn't give a solid fix. Also he seemed to get the error instantly after starting up the bot while mine happens hours after. I think an easy fix would be to put in an line that prevents the bot from crashing if the API can't call the account balance, either around line 506 of the trade.js file or somewhere in Bittrex's exchange.js file. If anybody can think of a way to do this let me know. Thanks.

screen shot 2018-01-17 at 10 47 55 am

@brucetus brucetus changed the title Bittrex 'Error during synching balance' Bittrex 'Error during syncing balance' Jan 17, 2018
@DeviaVir DeviaVir added bug exchange Relating to an exchange labels Jan 17, 2018
@station384
Copy link
Contributor

Are you running all instances at 1 minute intervals?
(Below is my findings, I have found no official statements from bittrex)
I ask because if bittrex is polled to fast it gives odd errors, one of them I've noticed is this error.
I don't know this for sure but from what I have noticed, there is a max polling interval for each IP address connected to the server, so if your behind a NAT, the combined polling of all clients can result in bittrex sending out errors 500 or 504, I've also gotten this when there site crashes.

@brucetus
Copy link
Contributor Author

brucetus commented Jan 18, 2018

Im running with a 4h period_length and my polling options are all default. Eventually every instance I was running on Bittrex crashed with the same error :(

@station384
Copy link
Contributor

@brucetus, the fix for this has been merged into the unstable branch

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug exchange Relating to an exchange
Projects
None yet
Development

No branches or pull requests

3 participants