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

Coudn't access binance api #511

Open
Ziev0 opened this issue Nov 23, 2022 · 1 comment
Open

Coudn't access binance api #511

Ziev0 opened this issue Nov 23, 2022 · 1 comment

Comments

@Ziev0
Copy link

Ziev0 commented Nov 23, 2022

[user@host binance-trade-bot]$ python -m binance_trade_bot
2022-11-21 20:43:57,798 - crypto_trading_logger - INFO - Starting
Release unicorn-binance-websocket-api_1.41.0 is available, please consider updating! (Changelog: https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/CHANGELOG.md)
WARNING:root:Release unicorn-binance-websocket-api_1.41.0 is available, please consider updating! (Changelog: https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/CHANGELOG.md)
2022-11-21 20:44:02,079 - crypto_trading_logger - ERROR - Couldn't access Binance API - API keys may be wrong or lack sufficient permissions
2022-11-21 20:44:02,080 - crypto_trading_logger - ERROR - APIError(code=-1021): Timestamp for this request was 1000ms ahead of the server's time.
CRITICAL:root:BinanceWebSocketApiRestclient._request() - error: 9 - error_msg: HTTPSConnectionPool(host='api.binance.com', port=443): Max retries exceeded with url: /api/v3/userDataStream (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff34909b0d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
CRITICAL:root:BinanceWebSocketApiSocket.start_socket(aaaa1fb0-x1bf-af10-bd3f-cc1n9dab7b99, ['arr'], ['!miniTicker']) - Exception ConnectionClosed - error_msg: no close frame received or sent
CRITICAL:root:BinanceWebSocketApiManager.stream_is_crashing(aaaa1fe0-3cbf-4fj0-bb7f-cc1f6da27f99)
CRITICAL:root:BinanceWebSocketApiManager._create_stream_thread() stream_id=aaaa1ft0-315f-4fu0-bb3f-c71f9d3a27799 - RuntimeError error_msg: - cannot schedule new futures after interpreter shutdown - stopping and shutting down - read LUCIT-Systems-and-Development/unicorn-binance-websocket-api#131 for further information!
CRITICAL:root:BinanceWebSocketApiSocket.start_socket(e3e6c31c-csbe-45g2-8w19-55cba56tf3y2, ['arr'], ['!userData']) - Exception ConnectionClosed - error_msg: no close frame received or sent
CRITICAL:root:BinanceWebSocketApiManager.stream_is_crashing(e3e6c31c-csbe-45g2-8w19-55cba56tf3y2)

@oliver-zehentleitner
Copy link

ERROR - Couldn't access Binance API - API keys may be wrong or lack sufficient permissions

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

2 participants