-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
What is 'requests.exceptions.HTTPError: 451 Client Error'??? (binance) #15872
Comments
I also have the same problem when running auto trade in Binance Futures. The error appeared in the Google Cloud Functions. However, the ccxt seems to run well when I test it in my local debug environment(my notebook). I guess it must be something wrong with BinanceAPI or they are changing policies toward API management. |
I also got same problem nowadays like below. HTTPError: 451 Client Error: for url: https://fapi.binance.com/fapi/v1/exchangeInfo
ExchangeError: binance GET https://fapi.binance.com/fapi/v1/exchangeInfo I'm testing on Colab and running on GCP linux server. Keep me this post to get information to solve this problem. |
Try running the code in an environment other than the US. Link : https://www.binance.com/en/terms |
It makes sense they don't want to allow US customers, but to block their public api is a bit far. If anyone has a solution for client side workarounds other than connecting a device to a vpn/proxy, that'd be greatly appreciated. This is really screwing my project over. |
Inform end user before he creates server in a binance restricted location ccxt/ccxt#15872
It's quite an interesting behavior - we see similar behavior in CI (github actions runs on US Azure servers), however limited by time - seemingly to US "out of business" hours. CI with active calls is passing fine during the european afternoon / evening - but is failing overnight / mornings. |
如果是使用GCP Functions,可以透過以下方式解決,我已經可以使用了。 |
yeah, also i recommend using http://ip-api.com/json to check your ip |
see #15891 |
Hello.
I am operating a class that allows automatic sales through Python by communicating with CCXT through AWS server.
However, some students suddenly encounter the above error and cannot call the API.
Was it blocked due to excessive API calls? Or is there another problem?
Please give me feedback on when such a message comes.
The text was updated successfully, but these errors were encountered: