edeng23 / binance-trade-bot

Automated cryptocurrency trading bot
GNU General Public License v3.0
7.75k stars 2.16k forks source link

APIError(code=0): Invalid JSON error message from Binance #411

Open franciscof5 opened 2 years ago

franciscof5 commented 2 years ago

binance.exceptions.BinanceAPIException: APIError(code=0): Invalid JSON error message from Binance: This endpoint has been deprecated, please integrate with “GET@/sapi/v1/asset/tradeFee”. See details in the announcement: https://www.binance.com/en/support/announcement/f45dde7da58b473aa885349946bed269

franciscof5 commented 2 years ago

binance_trader | 2021-08-31 13:49:38.550763 - CONSOLE - INFO - I am scouting 2021-08-31 13:49:38,657 - crypto_trading_logger - ERROR - Error while scouting... binance_trader | Traceback (most recent call last): binance_trader | File "/app/binance_trade_bot/scheduler.py", line 25, in _run_job binance_trader | super()._run_job(job) binance_trader | File "/usr/local/lib/python3.8/site-packages/schedule/init.py", line 172, in _run_job binance_trader | ret = job.run() binance_trader | File "/usr/local/lib/python3.8/site-packages/schedule/init.py", line 661, in run binance_trader | ret = self.job_func() binance_trader | File "/app/binance_trade_bot/strategies/multiple_coins_strategy.py", line 43, in scout binance_trader | self._jump_to_best_coin(coin, coin_price) binance_trader | File "/app/binance_trade_bot/auto_trader.py", line 139, in _jump_to_best_coin binance_trader | ratio_dict = self._get_ratios(coin, coin_price) binance_trader | File "/app/binance_trade_bot/auto_trader.py", line 126, in _get_ratios binance_trader | transaction_fee = self.manager.get_fee(pair.from_coin, self.config.BRIDGE, True) + self.manager.get_fee( binance_trader | File "/app/binance_trade_bot/binance_api_manager.py", line 50, in get_fee binance_trader | base_fee = self.get_trade_fees()[origin_coin + target_coin] binance_trader | File "/usr/local/lib/python3.8/site-packages/cachetools/decorators.py", line 26, in wrapper binance_trader | v = func(*args, kwargs) binance_trader | File "/app/binance_trade_bot/binance_api_manager.py", line 43, in get_trade_fees binance_trader | return {ticker["symbol"]: ticker["taker"] for ticker in self.binance_client.get_trade_fee()["tradeFee"]} binance_trader | File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 2390, in get_trade_fee binance_trader | res = self._request_withdraw_api('get', 'tradeFee.html', True, data=params) binance_trader | File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 270, in _request_withdraw_api binance_trader | return self._request(method, uri, signed, True, kwargs) binance_trader | File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 260, in _request binance_trader | return self._handle_response() binance_trader | File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 313, in _handle_response binance_trader | raise BinanceAPIException(self.response) binance_trader | binance.exceptions.BinanceAPIException: APIError(code=0): Invalid JSON error message from Binance: This endpoint has been deprecated, please integrate with “GET@/sapi/v1/asset/tradeFee”. See details in the announcement: https://www.binance.com/en/support/announcement/f45dde7da58b473aa885349946bed269 binance_trader |

israelins85 commented 2 years ago

Check the requirements.txt file:

python-binance==1.0.12 sqlalchemy==1.4.15 schedule==1.1.0 apprise==0.9.2 Flask==1.1.2 gunicorn==20.1.0 flask-cors==3.0.10 flask-socketio==5.0.1 eventlet==0.30.2 python-socketio[client]==5.2.1 cachetools==4.2.2 sqlitedict==1.7.0 unicorn-binance-websocket-api==1.33.0 unicorn-fy==0.11.0

then run: pip install -r requirements.txt

israelins85 commented 2 years ago

Hi, @franciscof5 worked?

franciscof5 commented 2 years ago

Not yer, I did a pull yesterday and got unicorn-binance-websocket-api==1.30.0

But I changed like you asked to, but a new error was found:

ERROR: unicorn-binance-websocket-api 1.33.0 has requirement websockets==9.1, but you'll have websockets 8.1 which is incompatible. Installing collected packages: multidict, yarl, async-timeout, typing-extensions, aiohttp, python-binance, unicorn-binance-websocket-api Attempting uninstall: python-binance Found existing installation: python-binance 0.7.11 Uninstalling python-binance-0.7.11: Successfully uninstalled python-binance-0.7.11 Attempting uninstall: unicorn-binance-websocket-api Found existing installation: unicorn-binance-websocket-api 1.30.0 Uninstalling unicorn-binance-websocket-api-1.30.0: Successfully uninstalled unicorn-binance-websocket-api-1.30.0 Successfully installed aiohttp-3.7.4.post0 async-timeout-3.0.1 multidict-5.1.0 python-binance-1.0.12 typing-extensions-3.10.0.2 unicorn-binance-websocket-api-1.33.0 yarl-1.6.3

But after that also tryed to run again, but got the same problem

binance_trader | binance.exceptions.BinanceAPIException: APIError(code=0): Invalid JSON error message from Binance: This endpoint has been deprecated, please integrate with “GET@/sapi/v1/asset/tradeFee”. See details in the announcement: https://www.binance.com/en/support/announcement/f45dde7da58b473aa885349946bed269 binance_trader | binance_trader | 2021-09-01 14:03:46.783607 - CONSOLE - INFO - I am scouting 2021-09-01 14:03:46,886 - crypto_trading_logger - ERROR - Error while scouting... binance_trader | Traceback (most recent call last): binance_trader | File "/app/binance_trade_bot/scheduler.py", line 25, in _run_job binance_trader | super()._run_job(job) binance_trader | File "/usr/local/lib/python3.8/site-packages/schedule/init.py", line 172, in _run_job binance_trader | ret = job.run() binance_trader | File "/usr/local/lib/python3.8/site-packages/schedule/init.py", line 661, in run binance_trader | ret = self.job_func() binance_trader | File "/app/binance_trade_bot/strategies/multiple_coins_strategy.py", line 43, in scout binance_trader | self._jump_to_best_coin(coin, coin_price) binance_trader | File "/app/binance_trade_bot/auto_trader.py", line 139, in _jump_to_best_coin binance_trader | ratio_dict = self._get_ratios(coin, coin_price) binance_trader | File "/app/binance_trade_bot/auto_trader.py", line 126, in _get_ratios binance_trader | transaction_fee = self.manager.get_fee(pair.from_coin, self.config.BRIDGE, True) + self.manager.get_fee( binance_trader | File "/app/binance_trade_bot/binance_api_manager.py", line 50, in get_fee binance_trader | base_fee = self.get_trade_fees()[origin_coin + target_coin] binance_trader | File "/usr/local/lib/python3.8/site-packages/cachetools/decorators.py", line 26, in wrapper binance_trader | v = func(args, kwargs) binance_trader | File "/app/binance_trade_bot/binance_api_manager.py", line 43, in get_trade_fees binance_trader | return {ticker["symbol"]: ticker["taker"] for ticker in self.binance_client.get_trade_fee()["tradeFee"]} binance_trader | File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 2390, in get_trade_fee binance_trader | res = self._request_withdraw_api('get', 'tradeFee.html', True, data=params) binance_trader | File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 270, in _request_withdraw_api binance_trader | return self._request(method, uri, signed, True, kwargs) binance_trader | File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 260, in _request binance_trader | return self._handle_response() binance_trader | File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 313, in _handle_response binance_trader | raise BinanceAPIException(self.response) binance_trader | binance.exceptions.BinanceAPIException: APIError(code=0): Invalid JSON error message from Binance: This endpoint has been deprecated, please integrate with “GET@/sapi/v1/asset/tradeFee”. See details in the announcement: https://www.binance.com/en/support/announcement/f45dde7da58b473aa885349946bed269 binance_trader | binance_trader | 2021-09-01 14:03:47.891779 - CONSOLE - INFO - I am scouting 2021-09-01 14:03:47,991 - crypto_trading_logger - ERROR - Error while scouting... binance_trader | Traceback (most recent call last): binance_trader | File "/app/binance_trade_bot/scheduler.py", line 25, in _run_job binance_trader | super()._run_job(job) binance_trader | File "/usr/local/lib/python3.8/site-packages/schedule/init.py", line 172, in _run_job binance_trader | ret = job.run() binance_trader | File "/usr/local/lib/python3.8/site-packages/schedule/init.py", line 661, in run binance_trader | ret = self.job_func() binance_trader | File "/app/binance_trade_bot/strategies/multiple_coins_strategy.py", line 43, in scout binance_trader | self._jump_to_best_coin(coin, coin_price) binance_trader | File "/app/binance_trade_bot/auto_trader.py", line 139, in _jump_to_best_coin binance_trader | ratio_dict = self._get_ratios(coin, coin_price) binance_trader | File "/app/binance_trade_bot/auto_trader.py", line 126, in _get_ratios binance_trader | transaction_fee = self.manager.get_fee(pair.from_coin, self.config.BRIDGE, True) + self.manager.get_fee( binance_trader | File "/app/binance_trade_bot/binance_api_manager.py", line 50, in get_fee binance_trader | base_fee = self.get_trade_fees()[origin_coin + target_coin] binance_trader | File "/usr/local/lib/python3.8/site-packages/cachetools/decorators.py", line 26, in wrapper binance_trader | v = func(args, kwargs) binance_trader | File "/app/binance_trade_bot/binance_api_manager.py", line 43, in get_trade_fees binance_trader | return {ticker["symbol"]: ticker["taker"] for ticker in self.binance_client.get_trade_fee()["tradeFee"]} binance_trader | File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 2390, in get_trade_fee binance_trader | res = self._request_withdraw_api('get', 'tradeFee.html', True, data=params) binance_trader | File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 270, in _request_withdraw_api binance_trader | return self._request(method, uri, signed, True, kwargs) binance_trader | File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 260, in _request binance_trader | return self._handle_response() binance_trader | File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 313, in _handle_response binance_trader | raise BinanceAPIException(self.response) binance_trader | binance.exceptions.BinanceAPIException: APIError(code=0): Invalid JSON error message from Binance: This endpoint has been deprecated, please integrate with “GET@/sapi/v1/asset/tradeFee”. See details in the announcement: https://www.binance.com/en/support/announcement/f45dde7da58b473aa885349946bed269 binance_trader |

oliver-zehentleitner commented 2 years ago

The reason why unicorn-binance-websocket-api is not upgrading is you are on websockets==8.1 and stay on it, but you need websockets==9.1 for it.

You can try: python3 -m pip install websockets --upgrade

Did you define the websockets version in your requirements.txt?

You are on python3.8 ?

israelins85 commented 2 years ago

Yes I'm using 3.8, on macOS the python 3.9 cause others errors.

oliver-zehentleitner commented 2 years ago

The question is, why do you not update to websockets 9.1? ... requirements.txt could help to see the reason.

franciscof5 commented 2 years ago

I follow your instructions, python3 -m pip install websockets --upgrade

The script were working fine for some weeks, but I think that Binance started some new rules because regulation, and maybe changed the responde from the API, can you can check if is it?

https://www.binance.com/en/support/announcement/f45dde7da58b473aa885349946bed269

Em qui., 2 de set. de 2021 às 08:57, Israel Lins Albuquerque < @.***> escreveu:

Yes I'm using 3.8, on macOS the python 3.9 cause others errors.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/edeng23/binance-trade-bot/issues/411#issuecomment-911589983, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIOFHEWVJJEBKP6FBZ2HDTT75RCBANCNFSM5DEDUWZA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

oliver-zehentleitner commented 2 years ago

If it would be in cause of binance you would not be the only one user with this issue :)

The announcement you posted is allready implemented by python-binance 1.0.12 and thats whats this bot is using in its latest version. And this is related to REST only, so it does not affect the WS lib.

I dont want to tell one question 3 times... please take your time to answer the questions and provide the infos we need.

franciscof5 commented 2 years ago

My requirements.txt

python-binance==1.0.12 sqlalchemy==1.4.15 schedule==1.1.0 apprise==0.9.2 Flask==1.1.2 gunicorn==20.1.0 flask-cors==3.0.10 flask-socketio==5.0.1 eventlet==0.30.2 python-socketio[client]==5.2.1 cachetools==4.2.2 sqlitedict==1.7.0 unicorn-binance-websocket-api==1.33.0 unicorn-fy==0.11.0

then I suppose i must add one line at the end websockets==9.1

the run

@.:/home/binance-trade-bot# nano requirements.txt @.:/home/binance-trade-bot# pip install -r requirements.txt Requirement already satisfied: python-binance==1.0.12 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 1)) (1.0.12) Requirement already satisfied: sqlalchemy==1.4.15 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 2)) (1.4.15) Requirement already satisfied: schedule==1.1.0 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 3)) (1.1.0) Requirement already satisfied: apprise==0.9.2 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 4)) (0.9.2) Requirement already satisfied: Flask==1.1.2 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 5)) (1.1.2) Requirement already satisfied: gunicorn==20.1.0 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 6)) (20.1.0) Requirement already satisfied: flask-cors==3.0.10 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 7)) (3.0.10) Requirement already satisfied: flask-socketio==5.0.1 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 8)) (5.0.1) Requirement already satisfied: eventlet==0.30.2 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 9)) (0.30.2) Requirement already satisfied: python-socketio[client]==5.2.1 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 10)) (5.2.1) Requirement already satisfied: cachetools==4.2.2 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 11)) (4.2.2) Requirement already satisfied: sqlitedict==1.7.0 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 12)) (1.7.0) Requirement already satisfied: unicorn-binance-websocket-api==1.33.0 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 13)) (1.33.0) Requirement already satisfied: unicorn-fy==0.11.0 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 14)) (0.11.0) Requirement already satisfied: websockets==9.1 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 15)) (9.1) Requirement already satisfied: aiohttp in /usr/local/lib/python3.8/dist-packages (from python-binance==1.0.12->-r requirements.txt (line 1)) (3.7.4.post0) Requirement already satisfied: six in /usr/lib/python3/dist-packages (from python-binance==1.0.12->-r requirements.txt (line 1)) (1.14.0) Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from python-binance==1.0.12->-r requirements.txt (line 1)) (2.22.0) Requirement already satisfied: ujson in /usr/local/lib/python3.8/dist-packages (from python-binance==1.0.12->-r requirements.txt (line 1)) (4.0.2) Requirement already satisfied: dateparser in /usr/local/lib/python3.8/dist-packages (from python-binance==1.0.12->-r requirements.txt (line 1)) (1.0.0) Requirement already satisfied: greenlet!=0.4.17; python_version >= "3" in /usr/local/lib/python3.8/dist-packages (from sqlalchemy==1.4.15->-r requirements.txt (line 2)) (1.1.0) Requirement already satisfied: markdown in /usr/local/lib/python3.8/dist-packages (from apprise==0.9.2->-r requirements.txt (line 4)) (3.3.4) Requirement already satisfied: PyYAML in /usr/lib/python3/dist-packages (from apprise==0.9.2->-r requirements.txt (line 4)) (5.3.1) Requirement already satisfied: click>=5.0 in /usr/lib/python3/dist-packages (from apprise==0.9.2->-r requirements.txt (line 4)) (7.0) Requirement already satisfied: requests-oauthlib in /usr/local/lib/python3.8/dist-packages (from apprise==0.9.2->-r requirements.txt (line 4)) (1.3.0) Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (from apprise==0.9.2->-r requirements.txt (line 4)) (2.8) Requirement already satisfied: Werkzeug>=0.15 in /usr/local/lib/python3.8/dist-packages (from Flask==1.1.2->-r requirements.txt (line 5)) (2.0.1) Requirement already satisfied: itsdangerous>=0.24 in /usr/local/lib/python3.8/dist-packages (from Flask==1.1.2->-r requirements.txt (line 5)) (2.0.1) Requirement already satisfied: Jinja2>=2.10.1 in /usr/lib/python3/dist-packages (from Flask==1.1.2->-r requirements.txt (line 5)) (2.10.1) Requirement already satisfied: setuptools>=3.0 in /usr/lib/python3/dist-packages (from gunicorn==20.1.0->-r requirements.txt (line 6)) (45.2.0) Requirement already satisfied: dnspython<2.0.0,>=1.15.0 in /usr/local/lib/python3.8/dist-packages (from eventlet==0.30.2->-r requirements.txt (line 9)) (1.16.0) Requirement already satisfied: python-engineio>=4.1.0 in /usr/local/lib/python3.8/dist-packages (from python-socketio[client]==5.2.1->-r requirements.txt (line 10)) (4.2.0) Requirement already satisfied: bidict>=0.21.0 in /usr/local/lib/python3.8/dist-packages (from python-socketio[client]==5.2.1->-r requirements.txt (line 10)) (0.21.2) Requirement already satisfied: websocket-client>=0.54.0; extra == "client" in /usr/local/lib/python3.8/dist-packages (from python-socketio[client]==5.2.1->-r requirements.txt (line 10)) (1.1.0) Requirement already satisfied: flask-restful in /usr/local/lib/python3.8/dist-packages (from unicorn-binance-websocket-api==1.33.0->-r requirements.txt (line 13)) (0.3.9) Requirement already satisfied: cheroot in /usr/local/lib/python3.8/dist-packages (from unicorn-binance-websocket-api==1.33.0->-r requirements.txt (line 13)) (8.5.2) Requirement already satisfied: psutil in /usr/local/lib/python3.8/dist-packages (from unicorn-binance-websocket-api==1.33.0->-r requirements.txt (line 13)) (5.8.0) Requirement already satisfied: pathlib in /usr/local/lib/python3.8/dist-packages (from unicorn-binance-websocket-api==1.33.0->-r requirements.txt (line 13)) (1.0.1) Requirement already satisfied: colorama in /usr/lib/python3/dist-packages (from unicorn-binance-websocket-api==1.33.0->-r requirements.txt (line 13)) (0.4.3) Requirement already satisfied: typing-extensions>=3.6.5 in /usr/local/lib/python3.8/dist-packages (from aiohttp->python-binance==1.0.12->-r requirements.txt (line 1)) (3.10.0.2) Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.8/dist-packages (from aiohttp->python-binance==1.0.12->-r requirements.txt (line 1)) (5.1.0) Requirement already satisfied: async-timeout<4.0,>=3.0 in /usr/local/lib/python3.8/dist-packages (from aiohttp->python-binance==1.0.12->-r requirements.txt (line 1)) (3.0.1) Requirement already satisfied: chardet<5.0,>=2.0 in /usr/lib/python3/dist-packages (from aiohttp->python-binance==1.0.12->-r requirements.txt (line 1)) (3.0.4) Requirement already satisfied: attrs>=17.3.0 in /usr/lib/python3/dist-packages (from aiohttp->python-binance==1.0.12->-r requirements.txt (line 1)) (19.3.0) Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.8/dist-packages (from aiohttp->python-binance==1.0.12->-r requirements.txt (line 1)) (1.6.3) Requirement already satisfied: tzlocal in /usr/local/lib/python3.8/dist-packages (from dateparser->python-binance==1.0.12->-r requirements.txt (line 1)) (2.1) Requirement already satisfied: pytz in /usr/local/lib/python3.8/dist-packages (from dateparser->python-binance==1.0.12->-r requirements.txt (line 1)) (2021.1) Requirement already satisfied: regex!=2019.02.19 in /usr/local/lib/python3.8/dist-packages (from dateparser->python-binance==1.0.12->-r requirements.txt (line 1)) (2021.7.6) Requirement already satisfied: python-dateutil in /usr/local/lib/python3.8/dist-packages (from dateparser->python-binance==1.0.12->-r requirements.txt (line 1)) (2.8.2) Requirement already satisfied: oauthlib>=3.0.0 in /usr/lib/python3/dist-packages (from requests-oauthlib->apprise==0.9.2->-r requirements.txt (line 4)) (3.1.0) Requirement already satisfied: aniso8601>=0.82 in /usr/local/lib/python3.8/dist-packages (from flask-restful->unicorn-binance-websocket-api==1.33.0->-r requirements.txt (line 13)) (9.0.1) Requirement already satisfied: more-itertools>=2.6 in /usr/lib/python3/dist-packages (from cheroot->unicorn-binance-websocket-api==1.33.0->-r requirements.txt (line 13)) (4.2.0) Requirement already satisfied: jaraco.functools in /usr/local/lib/python3.8/dist-packages (from cheroot->unicorn-binance-websocket-api==1.33.0->-r requirements.txt (line 13)) (3.3.0) Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl<2.0,>=1.0->aiohttp->python-binance==1.0.12->-r requirements.txt (line 1)) (2.8)

Em qui., 2 de set. de 2021 às 10:45, Oliver Zehentleitner < @.***> escreveu:

If it would be in cause of binance you would not be the only one user with this issue :)

The announcement you posted is allready implemented by python-binance 1.0.12 and thats whats this bot is using in its latest version. And this is related to REST only, so it does not affect the WS lib.

I dont want to tell one question 3 times... please take your time to answer the questions and provide the infos we need.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/edeng23/binance-trade-bot/issues/411#issuecomment-911679907, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIOFHG5DNWAOMAQ35ISCVTT753KLANCNFSM5DEDUWZA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

oliver-zehentleitner commented 2 years ago

ok, i think upgrading the dependencies worked now

franciscof5 commented 2 years ago

It dont solved the problem, I got the same response and no trade were made since a few days ago

Em qui., 2 de set. de 2021 às 11:49, Oliver Zehentleitner < @.***> escreveu:

ok, i think upgrading the dependencies worked now

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/edeng23/binance-trade-bot/issues/411#issuecomment-911768584, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIOFHGHEJN3ZTMCMXHQUYDT76FGHANCNFSM5DEDUWZA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

oliver-zehentleitner commented 2 years ago

ok, my suggestion was just to solve your problem when you install requirements.txt

i took a look into the log file you posted and i think the issue starts (as you mentioned before) with the use of "GET@/sapi/v1/asset/tradeFee” in "File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 2390, in get_trade_fee" this is https://github.com/sammchardy/python-binance/blob/a6f3048527f0f2fd9bc6591ac1fdd926b2a29f3e/binance/client.py#L2390

The function you expect to load is get_trade_fee() which is a few lines above: https://github.com/sammchardy/python-binance/blob/a6f3048527f0f2fd9bc6591ac1fdd926b2a29f3e/binance/client.py#L2446

And get_trade_fee() look correct in 1.0.12.... so i think you are using an old version of python-binance

python3.8 -m pip install python-binance --upgrade

to see which version is installed follow: https://note.nkmk.me/en/python-package-version/

good luck!

franciscof5 commented 2 years ago

I make an fresh install of linux (ubuntu 20.04, singapoure), cloned your repo, installed python, then run pip install and got

ERROR: unicorn-binance-websocket-api 1.30.0 has requirement websockets==8.1, but you'll have websockets 9.1 which is incompatibl

Then changed requirements and changed the unicorn-binance-websocket-api to 1.33.0

Not Work

Created new ubuntu 18.04, Texas, USA, cloned and followed instructions, seems ok, but not operating, stopped in many lines like:

binance_trader | 2021-09-14 18:13:31,503 - crypto_trading_logger - INFO

Em qui., 2 de set. de 2021 às 15:13, Oliver Zehentleitner < @.***> escreveu:

ok, my suggestion was just to solve your problem when you install requirements.txt

i took a look into the log file you posted and i think the issue starts (as you mentioned before) with the use of "GET@/sapi/v1/asset/tradeFee” in "File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 2390, in get_trade_fee" this is https://github.com/sammchardy/python-binance/blob/a6f3048527f0f2fd9bc6591ac1fdd926b2a29f3e/binance/client.py#L2390

The function you expect to load is get_trade_fee() which is a few lines above: https://github.com/sammchardy/python-binance/blob/a6f3048527f0f2fd9bc6591ac1fdd926b2a29f3e/binance/client.py#L2446

And get_trade_fee() look correct in 1.0.12.... so i think you are using an old version of python-binance

python3.8 -m pip install python-binance --upgrade

to see which version is installed follow: https://note.nkmk.me/en/python-package-version/

good luck!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/edeng23/binance-trade-bot/issues/411#issuecomment-911938110, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIOFHDTVFQTBI32EXHIZYDT765FTANCNFSM5DEDUWZA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

oliver-zehentleitner commented 2 years ago

repeat https://github.com/edeng23/binance-trade-bot/issues/411#issuecomment-909532454

you install unicorn-binance-websocket-api 1.30.0 which is using websockets 8.1, but on your system is websockets 9.1 and this is supported since unicorn-binance-websocket-api 1.31.0.

franciscof5 commented 2 years ago

Again, fresh install of ubuntu 18.04, following all repo instructions, then did not worked.

Then updated manually requirements.txt and

ERROR: unicorn-binance-websocket-api 1.34.0 has requirement websockets==10.0, but you'll have websockets 9.1 which is incompatible.

Then changed to 1.31.0

No transactions, still stucked since one month

Em ter., 14 de set. de 2021 às 18:29, Oliver Zehentleitner < @.***> escreveu:

repeat #411 (comment) https://github.com/edeng23/binance-trade-bot/issues/411#issuecomment-909532454

you install unicorn-binance-websocket-api 1.30.0 which is using websockets 8.1, but on your system is websockets 9.1 and this is supported since unicorn-binance-websocket-api 1.31.0.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/edeng23/binance-trade-bot/issues/411#issuecomment-919526407, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIOFHEVJHT7DO6BMECL52TUB65A3ANCNFSM5DEDUWZA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

oliver-zehentleitner commented 2 years ago

1.34 is using websockets 10. but it does not work with binance futures: https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/issues/199

what if you do: pip install websockets==9.1 and then install pip install unicorn-binance-websockets==1.33.1 (which is using 9.1)

oliver-zehentleitner commented 2 years ago

which python version do you use now?

franciscof5 commented 2 years ago

pip install websockets==9.1 Requirement already satisfied: websockets==9.1 in /usr/local/lib/python3.8/dist-packages (9.1)

pip install unicorn-binance-websockets==1.33.1 ERROR: Could not find a version that satisfies the requirement unicorn-binance-websockets==1.33.1 (from versions: none) ERROR: No matching distribution found for unicorn-binance-websockets==1.33.1

pip --version pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)

Em qui., 23 de set. de 2021 às 16:48, Oliver Zehentleitner < @.***> escreveu:

which python version do you use now?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/edeng23/binance-trade-bot/issues/411#issuecomment-926105272, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIOFHBLT3IX4NEFU32HV3TUDN77ZANCNFSM5DEDUWZA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

oliver-zehentleitner commented 2 years ago

pip install unicorn-binance-websocket-api==1.33.1

franciscof5 commented 2 years ago

I did it, still no operations

binance_trader | WARNING:root:BinanceWebSocketApiManager._frequent_checks() - High CPU usage since 5 seconds: 100.0 binance_trader | WARNING:root:BinanceWebSocketApiManager._frequent_checks() - High CPU usage since 5 seconds: 100.0 binance_trader | CRITICAL:root:BinanceWebSocketApiSocket.start_socket(c76caeea-ec0d-484f-854c-561cc6f9b145, ['arr'], ['!userData']) - Exception ConnectionClosed - error_msg: code = 1001 (going away), no reason binance_trader | CRITICAL:root:BinanceWebSocketApiManager.stream_is_crashing(c76caeea-ec0d-484f-854c-561cc6f9b145) binance_trader | CRITICAL:root:BinanceWebSocketApiSocket.start_socket(e830deaa-b13f-43a0-ac28-4563b350e8c2, ['arr'], ['!miniTicker']) - Exception ConnectionClosed - error_msg: code = 1001 (going away), no reason binance_trader | CRITICAL:root:BinanceWebSocketApiManager.stream_is_crashing(e830deaa-b13f-43a0-ac28-4563b350e8c2) binance_trader | WARNING:root:BinanceWebSocketApiManager._frequent_checks() - High CPU usage since 5 seconds: 100.0 binance_trader | WARNING:root:BinanceWebSocketApiManager._frequent_checks() - High CPU usage since 5 seconds: 100.0 sqlitebrowser | to make sure that you have the latest version. sqlitebrowser | Markers: (--) probed, (**) from config file, (==) default setting, sqlitebrowser | (++) from command line, (!!) notice, (II) informational, sqlitebrowser | (WW) warning, (EE) error, (NI) not implemented, (??) unknown. sqlitebrowser | (++) Log file: ".xorgxrdp.10.log", Time: Mon Sep 27 14:03:59 2021 sqlitebrowser | (++) Using config file: "/etc/X11/xrdp/xorg.conf" sqlitebrowser | (==) Using system config directory "/usr/share/X11/xorg.conf.d" sqlitebrowser | xorgxrdpSetup: sqlitebrowser | xrdpdevSetup: sqlitebrowser | rdpmousePlug: sqlitebrowser | rdpkeybPlug: sqlitebrowser | rdpIdentify: sqlitebrowser | rdpDriverFunc: op 10 sqlitebrowser | rdpProbe: sqlitebrowser | rdpPreInit: sqlitebrowser | rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24 sqlitebrowser | rdpScreenInit: pfbMemory bytes 1920000 sqlitebrowser | rdpScreenInit: pfbMemory 0x7f4e7ddcd010 sqlitebrowser | rdpSimdInit: assigning yuv functions sqlitebrowser | rdpSimdInit: cpuid ax 1 cx 0 return ax 0x00830f10 bx 0x00000800 cx 0xfff83203 dx 0x078bfbff sqlitebrowser | rdpSimdInit: sse2 amd64 yuv functions assigned sqlitebrowser | rdpXvInit: depth 24 sqlitebrowser | rdpClientConInit: kill disconnected [0] timeout [0] sec sqlitebrowser | sqlitebrowser | rdpScreenInit: out sqlitebrowser | [2021-09-27 16:04:00] [Connection 1] Closing connection with error: 1006 sqlitebrowser | [2021-09-27 16:04:00] [Connection 1] Closing guacd connection sqlitebrowser | [2021-09-27 16:04:00] [Connection 1] Client connection closed sqlitebrowser | rdpmousePreInit: drv 0x558193c208a0 info 0x558193d49400, flags 0x0 sqlitebrowser | rdpmouseControl: what 0 sqlitebrowser | rdpmouseDeviceInit: sqlitebrowser | rdpmouseCtrl: sqlitebrowser | rdpRegisterInputCallback: type 1 proc 0x7f4e7e1a6c60 sqlitebrowser | rdpmouseControl: what 1 sqlitebrowser | rdpmouseDeviceOn: sqlitebrowser | rdpkeybPreInit: drv 0x558193c27ec0 info 0x558193ed23c0, flags 0x0 sqlitebrowser | rdpkeybControl: what 0 sqlitebrowser | rdpkeybDeviceInit: sqlitebrowser | rdpkeybChangeKeyboardControl: sqlitebrowser | rdpkeybChangeKeyboardControl: autoRepeat on sqlitebrowser | rdpRegisterInputCallback: type 0 proc 0x7f4e7dfa3530 sqlitebrowser | rdpkeybControl: what 1 sqlitebrowser | rdpkeybDeviceOn: sqlitebrowser | rdpSaveScreen: sqlitebrowser | rdpDeferredRandR: sqlitebrowser | rdpResizeSession: width 1024 height 768 sqlitebrowser | calling RRScreenSizeSet sqlitebrowser | rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203 sqlitebrowser | rdpRRGetInfo: sqlitebrowser | screen resized to 1024x768 sqlitebrowser | RRScreenSizeSet ok 1 sqlitebrowser | rdpResizeSession: width 1280 height 800 sqlitebrowser | calling RRScreenSizeSet sqlitebrowser | rdpRRScreenSetSize: width 1280 height 800 mmWidth 339 mmHeight 212 sqlitebrowser | rdpRRGetInfo: sqlitebrowser | screen resized to 1280x800 sqlitebrowser | RRScreenSizeSet ok 1 sqlitebrowser | rdpClientConGotConnection: sqlitebrowser | rdpClientConGotConnection: g_sck_accept ok new_sck 7 sqlitebrowser | rdpClientConGotConnection: adding only clientCon sqlitebrowser | rdpClientConProcessMsgVersion: version 0 0 0 1 sqlitebrowser | [20210923-18:36:20] [INFO ] starting xrdp with pid 370 sqlitebrowser | [20210923-18:36:20] [INFO ] listening to port 3389 on 0.0.0.0 sqlitebrowser | [20210927-14:03:57] [INFO ] Socket 11: AF_INET6 connection received from ::ffff:127.0.0.1 port 45466 sqlitebrowser | [20210927-14:03:57] [DEBUG] Closed socket 10 (AF_INET6 :: port 3389) sqlitebrowser | [20210927-14:03:57] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem sqlitebrowser | [20210927-14:03:57] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem sqlitebrowser | [20210927-14:03:57] [DEBUG] TLSv1.2 enabled sqlitebrowser | [20210927-14:03:57] [DEBUG] TLSv1.1 enabled sqlitebrowser | [20210927-14:03:57] [DEBUG] TLSv1 enabled sqlitebrowser | [20210927-14:03:57] [DEBUG] Security layer: requested 3, selected 1 sqlitebrowser | ssl_tls_accept: TLS connection accepted sqlitebrowser | colorDepth 0xca01 (0xca00 4bpp 0xca01 8bpp) sqlitebrowser | [20210927-14:03:57] [INFO ] connected client computer name: Guacamole RDP sqlitebrowser | postBeta2ColorDepth 0xca01 (0xca00 4bpp 0xca01 8bpp 0xca02 15bpp 0xca03 16bpp 0xca04 24bpp) sqlitebrowser | highColorDepth 0x0010 (0x0004 4bpp 0x0008 8bpp 0x000f 15bpp 0x0010 16 bpp 0x0018 24bpp) sqlitebrowser | supportedColorDepths 0x0007 (0x0001 24bpp 0x0002 16bpp 0x0004 15bpp 0x0008 32bpp) sqlitebrowser | earlyCapabilityFlags 0x0421 (0x0002 want32) sqlitebrowser | got client client connection type 0x00000006 sqlitebrowser | xrdp_sec_process_mcs_data_CS_SECURITY: sqlitebrowser | client and server support none crypt, using none crypt sqlitebrowser | error unknown xrdp_sec_process_mcs_data tag 0xc006 size 8 sqlitebrowser | error unknown xrdp_sec_process_mcs_data tag 0xc00a size 8 sqlitebrowser | xrdp_sec_out_mcs_data: using no security sqlitebrowser | xrdp_load_keyboard_layout: keyboard_type [4] keyboard_subtype [0] sqlitebrowser | xrdp_load_keyboard_layout: model [] variant [] layout [us] options [] sqlitebrowser | [20210927-14:03:58] [INFO ] TLS connection established from ::ffff:127.0.0.1 port 45466: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 sqlitebrowser | xrdp_caps_process_order: not enough orders supported by client, using painter. sqlitebrowser | xrdp_caps_process_pointer: client supports new(color) cursor sqlitebrowser | xrdp_process_offscreen_bmpcache: support level 1 cache size 7864320 MB cache entries 2000 sqlitebrowser | xrdp_caps_process_surface_cmds: sqlitebrowser | cmdFlags 0x00000052 sqlitebrowser | xrdp_caps_process_frame_ack: sqlitebrowser | max_unacknowledged_frame_count 2 sqlitebrowser | xrdp_caps_process_confirm_active: not enough orders supported by client, client wants off screen bitmap but offscreen bitmaps disabled sqlitebrowser | yeah, up_and_running sqlitebrowser | xrdp:xrdp_bitmap [0663866168]: xrdp_bitmap_create: noorders sqlitebrowser | [20210927-14:03:58] [DEBUG] xrdp_000001a6_wm_login_mode_event_00000001 sqlitebrowser | xrdp:xrdp_mm [0663866173]: xrdp_mm_create: bpp 16 mcs_connection_type 6 jpeg_codec_id 0 v3_codec_id 0 rfx_codec_id 0 h264_codec_id 0 sqlitebrowser | [20210927-14:03:58] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini sqlitebrowser | [20210927-14:03:58] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file sqlitebrowser | xrdp_wm_login_mode_changed: login_mode is 0 sqlitebrowser | in xrdp_wm_init: sqlitebrowser | out xrdp_wm_init: sqlitebrowser | xrdp_wm_login_mode_changed: login_mode is 2 sqlitebrowser | [20210927-14:03:58] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350 sqlitebrowser | connecting to sesman ip 127.0.0.1 port 3350 sqlitebrowser | [20210927-14:03:59] [INFO ] xrdp_wm_log_msg: sesman connect ok sqlitebrowser | sesman connect ok sqlitebrowser | [20210927-14:03:59] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait... sqlitebrowser | sending login info to session manager, please wait... sqlitebrowser | [20210927-14:03:59] [DEBUG] return value from xrdp_mm_connect 0 sqlitebrowser | xrdp_wm_login_mode_changed: login_mode is 3 sqlitebrowser | [20210927-14:03:59] [INFO ] xrdp_wm_log_msg: login successful for display 10 sqlitebrowser | login successful for display 10 sqlitebrowser | loaded module 'libxup.so' ok, interface size 8456, version 3 sqlitebrowser | [20210927-14:03:59] [DEBUG] xrdp_wm_log_msg: started connecting sqlitebrowser | started connecting sqlitebrowser | lib_mod_connect: connected to Xserver (Xorg or X11rdp) sck 20 sqlitebrowser | [20210927-14:03:59] [INFO ] lib_mod_log_peer: xrdp_pid=422 connected to X11rdp_pid=426 X11rdp_uid=1000 X11rdp_gid=1000 client_ip=::ffff:127.0.0.1 client_port=45466 sqlitebrowser | [20210927-14:03:59] [DEBUG] xrdp_wm_log_msg: connected ok sqlitebrowser | connected ok sqlitebrowser | [20210927-14:03:59] [DEBUG] xrdp_mm_connect_chansrv: chansrv connect successful sqlitebrowser | [20210927-14:03:59] [DEBUG] Closed socket 19 (AF_INET6 ::ffff:127.0.0.1 port 39674) sqlitebrowser | xrdp_wm_login_mode_changed: login_mode is 10 sqlitebrowser | xrdp_wm_login_mode_changed: login_mode is 11 sqlitebrowser | lib_mod_process_message: type 2 len 0 sqlitebrowser | lib_send_clientrdpClientConProcessScreenSizeMsg: set width 1280 height 800 bpp 16 sqlitebrowser | rdpClientConProcessScreenSizeMsg: shmemid 0 shmemptr 0x7f4e755ac000 sqlitebrowser | rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1280 cy 800 sqlitebrowser | rdpClientConProcessMsgClientInfo: sqlitebrowser | got client info bytes 5744 sqlitebrowser | jpeg support 0 sqlitebrowser | offscreen support 0 sqlitebrowser | offscreen size 0 sqlitebrowser | offscreen entries 0 sqlitebrowser | client supports glyph cache but server disabled sqlitebrowser | client can not do offscreen to offscreen blits sqlitebrowser | client can do new(color) cursor sqlitebrowser | client can not do multimon sqlitebrowser | rdpRRSetRdpOutputs: numCrtcs 0 monitorCount 0 sqlitebrowser | rdpRRSetRdpOutputs: add output 0 left 0 top 0 width 1280 height 800 sqlitebrowser | rdpLoadLayout: keylayout 0x00000409 variant display 10 sqlitebrowser | rdpkeybChangeKeyboardControl: sqlitebrowser | rdpkeybChangeKeyboardControl: autoRepeat on sqlitebrowser | rdpkeybChangeKeyboardControl: sqlitebrowser | rdpkeybChangeKeyboardControl: autoRepeat on sqlitebrowser | guacd[412]: INFO: Accepted format: 16-bit PCM with 2 channels at 44100 Hz sqlitebrowser | guacd[412]: INFO: Accepted format: 16-bit PCM with 2 channels at 22050 Hz sqlitebrowser | guacd[412]: INFO: Connected to RDPDR 1.12 as client 0xd8161ae6 sqlitebrowser | guacd[412]: INFO: RDPDR user logged on sqlitebrowser | rdpInDeferredUpdateCallback: sqlitebrowser | rdpkeybChangeKeyboardControl: sqlitebrowser | rdpkeybChangeKeyboardControl: autoRepeat off sqlitebrowser | rdpkeybChangeKeyboardControl: sqlitebrowser | rdpkeybChangeKeyboardControl: autoRepeat off sqlitebrowser | guacd[412]: INFO: User @.***" disconnected (0 users remain) sqlitebrowser | guacd[412]: INFO: Last user of connection "$a1243faa-3e7c-423a-8dea-a1d421104fbe" disconnected sqlitebrowser | rdpClientConRecv: g_sck_recv failed(returned 0) sqlitebrowser | rdpClientConDisconnect: sqlitebrowser | rdpClientConDisconnect: clientCon removed from dev list sqlitebrowser | rdpClientConRecvMsg: error sqlitebrowser | rdpClientConCheck: rdpClientConGotData failed sqlitebrowser | guacd[412]: INFO: Internal RDP client disconnected sqlitebrowser | guacd[375]: INFO: Connection "$a1243faa-3e7c-423a-8dea-a1d421104fbe" removed. sqlitebrowser | rdpSaveScreen:

Em dom., 26 de set. de 2021 às 03:56, Oliver Zehentleitner < @.***> escreveu:

pip install unicorn-binance-websocket-api==1.33.1

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/edeng23/binance-trade-bot/issues/411#issuecomment-927245966, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIOFHDTESEVKX34Z3ORAYDUD27YPANCNFSM5DEDUWZA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

adelabdelli commented 2 years ago

@franciscof5 Did it work fine for you now? And does it have risk on your account? I mean, no one is saving or stilling your Binance api_key!

SuezDevelopment commented 1 year ago

hello.. I am getting the following error using the binance-python api BinanceAPIException: APIError(code=0): Invalid JSON error message from Binance: <bound method ClientResponse.text of <ClientResponse(https://api.binance.us/api/v3/ping) [403 Forbidden]> <CIMultiDictProxy('Server': 'CloudFront', 'Date': 'Tue, 23 Aug 2022 21:10:00 GMT', 'Content-Type': 'text/html', 'Content-Length': '986', 'Connection': 'keep-alive', 'X-Cache': 'Error from cloudfront', 'Via': '1.1 e9264a80086c9204ba271fc4403dab50.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'LHR3-C1', 'X-Amz-Cf-Id': 'y3wn5R4e4SB_FrTdtWe6hlga9i4dpHXKRTUn5Vg3WT2T_OEYfjeTOQ==')> >

SuezDevelopment commented 1 year ago

hello.. I am getting the following error using the binance-python api BinanceAPIException: APIError(code=0): Invalid JSON error message from Binance: <bound method ClientResponse.text of <ClientResponse(https://api.binance.us/api/v3/ping) [403 Forbidden]> <CIMultiDictProxy('Server': 'CloudFront', 'Date': 'Tue, 23 Aug 2022 21:10:00 GMT', 'Content-Type': 'text/html', 'Content-Length': '986', 'Connection': 'keep-alive', 'X-Cache': 'Error from cloudfront', 'Via': '1.1 e9264a80086c9204ba271fc4403dab50.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'LHR3-C1', 'X-Amz-Cf-Id': 'y3wn5R4e4SB_FrTdtWe6hlga9i4dpHXKRTUn5Vg3WT2T_OEYfjeTOQ==')> >

Please what should i do next.. ???

trahtorist commented 1 year ago

такая же проблема

Пожалуйста, что мне делать дальше..???