Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Error 429 ,502 #590

Open
k0ni opened this issue Dec 6, 2017 · 5 comments
Open

API Error 429 ,502 #590

k0ni opened this issue Dec 6, 2017 · 5 comments
Assignees

Comments

@k0ni
Copy link

k0ni commented Dec 6, 2017

Hey guys I'm having some problems using the bot (it's great BTW).
I'm guessing this is somehow related to the DDOS protection of the site , maybe I'm wrong .
anyway anyone facing the same problem? or have any idea for solution?
i get this errors when the bot trying to get so info from bitfinex...
Error API Error 502: The web server reported a bad gateway or gateway timeout error. Requesting https://api.bitfinex.com/v1/history

Error HTTPSConnectionPool(host='api.bitfinex.com', port=443): Read timed out. (read timeout=30) Requesting https://api.bitfinex.com/v1/balances

@rnevet
Copy link
Collaborator

rnevet commented Dec 6, 2017

Related to the DDOS... timeout, you can increase the timeout in your config up to 90sec but it might not solve the issue as it is on Bitfinex side.

@k0ni k0ni changed the title Error API Error 502: The web server reported a bad gateway or gateway timeout error. API Error Dec 6, 2017
@k0ni k0ni changed the title API Error API Error 429 ,502 Dec 6, 2017
@k0ni
Copy link
Author

k0ni commented Dec 6, 2017

Now i'm experiencing also and mostly API Error 429: { "error": "ERR_RATE_LIMIT" }.
anyone knows why is that? anyone have the same errors?

@laxdog
Copy link
Collaborator

laxdog commented Dec 14, 2017

If you turn off the AccountStats plugin it will help, but if you need / want the account stats, then just let the bot run and it will eventually fix itself.

We're looking at a fix for this issue now.

@laxdog laxdog self-assigned this Dec 14, 2017
@btclending
Copy link

Any update on this error? Would like to bring in the AccountStats history but it times out and errors 429 before it gets a chance. Thanks!

@utdrmac
Copy link
Contributor

utdrmac commented Jul 6, 2018

@btclending @k0ni 429 are errors from the exchange saying you are sending too many API calls. This is normal and happens to everyone. It is a temporary ban. The bot is designed to sleep for a certain period and wait for the ban to lift and then start again. Checkout #632 and see if that helps; it did for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants