Problem with telegram #72
Replies: 9 comments 8 replies
-
Hi! First off all, what version are you used? |
Beta Was this translation helpful? Give feedback.
-
ver2.1.4: For workaround find Perhaps this will solve the problem. |
Beta Was this translation helpful? Give feedback.
-
Im using 2.1.4 from pip install martin-binance. Maybe this is because i have ubuntu on wsl? |
Beta Was this translation helpful? Give feedback.
-
Unfortunatetly after this changes i have exception: /home/toor/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.telegram.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
-
The error was because of my Internet provider, i switched to different network and now is working. |
Beta Was this translation helpful? Give feedback.
-
Hi! It's not Python version dependency, it is a bug, I fix it shortly. Right now you can run this module directly from package
|
Beta Was this translation helpful? Give feedback.
-
and for cd ~/.local/lib/python3.10/site-packages/martin_binance/backtest em@oem-ROG-Zephyrus-G14-GA401QE-GA401QE:~/.local/lib/python3.10/site-packages/martin_binance/backtest$ ./OoTSP.py [?] New study session or analise from saved one: New [?] Enter number of cycles, from 10 to 1000: 150 |
Beta Was this translation helpful? Give feedback.
-
Use a fairly long session to collect data, at least half an hour. |
Beta Was this translation helpful? Give feedback.
-
Hi! Preferred use ntpd for time synchronization. |
Beta Was this translation helpful? Give feedback.
-
Hey I want to ask if there is any other possibility to control bot other than telegram? because im running bot but there are plenty of errors every 2 minutes and my telegram connection doesnt work i tried installind on ubunu ssl but didnt work out:
Can those problem impact performance of a bot? because its running long time like 2hours already and seems stuck in one place. same buy orders same sell orders stuck. but i want to control it.
Does bot work properly if its not connected to telegram?, how i can change to be able to control from my own terminal other than telegram those functions:
Telegram control
status - get current status
stop - stop after end of cycle (if current cycle is reverse - only after back to direct cycle)
end - stop after end of cycle, direct and reverse, no difference
restart - save current state, reload config and restart
here are problem:
[2024-02-22 23:49:07,915: ERROR] Telegram: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot6351620489:AAFM7jRB_O835ZCnB9vmgbXE9-Is0ChnZOk/getUpdates (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'api.telegram.org'. (_ssl.c:1007)")))
[2024-02-22 23:49:38,812: ERROR] Telegram: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot6351620489:AAFM7jRB_O835ZCnB9vmgbXE9-Is0ChnZOk/sendMessage (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'api.telegram.org'. (_ssl.c:1007)")))
[2024-02-22 23:50:19,771: ERROR] Telegram: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot6351620489:AAFM7jRB_O835ZCnB9vmgbXE9-Is0ChnZOk/getUpdates (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'api.telegram.org'. (_ssl.c:1007)")))
[2024-02-22 23:51:00,651: ERROR] Telegram: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot6351620489:AAFM7jRB_O835ZCnB9vmgbXE9-Is0ChnZOk/getUpdates (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'api.telegram.org'. (_ssl.c:1007)"))
Beta Was this translation helpful? Give feedback.
All reactions