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

Issue: OctoBot .exe Not Detecting cryptg and SSL #2843

Open
cubetribe opened this issue Jan 3, 2025 · 5 comments
Open

Issue: OctoBot .exe Not Detecting cryptg and SSL #2843

cubetribe opened this issue Jan 3, 2025 · 5 comments

Comments

@cubetribe
Copy link

Hello OctoBot Team,

First of all, I’d like to thank you for creating such an amazing trading tool! I’ve been using OctoBot for some time now and have already made some great profits with it. It’s an impressive platform, and I truly appreciate the effort you’ve put into it.

That said, I’ve encountered an issue while using the .exe version of OctoBot, and I wanted to report it to help improve the experience for myself and others. Here are the details:

Step 1: Have you searched for this issue before posting it?
Yes, I have searched the issue tracker but could not find a solution to this specific problem.

Step 2: Describe your environment
OS: Windows 11 (64-bit)
Python Version: Python 3.10.11
Binary Version: Yes, using OctoBot .exe version 2.0.7
Step 3: Describe the problem
Describe the bug
OctoBot fails to recognize the SSL library and cryptg module, resulting in fallback to slower encryption. The logs consistently show:

Failed to load SSL library: <class 'OSError'> (no library called "ssl" found)
cryptg module not installed and libssl not found, falling back to (slower) Python encryption
Expected behavior
OctoBot should detect the installed cryptg and SSL libraries and operate with full encryption capabilities.

Steps to reproduce
Install OctoBot version 2.0.7 as a .exe.
Run the .exe on a Windows 10 machine with Python 3.10.11 installed.
Observe the logs for errors related to SSL and cryptg.
Observed Results
What happened?
OctoBot falls back to slower Python encryption and fails to detect cryptg and SSL.
What did you expect to happen?
OctoBot should detect the SSL and cryptg libraries and work without fallback.
Relevant code exceptions or logs
plaintext
Code kopieren
2025-01-03 11:38:06,124 INFO OctoBot Launcher Version : 2.0.7
2025-01-03 11:38:06,124 INFO OctoBot Launcher Running self-hosted OctoBot on Windows:10:AMD64 with binary [Python 3.10.11]
2025-01-03 11:38:06,740 INFO telethon.crypto.libssl Failed to load SSL library: <class 'OSError'> (no library called "ssl" found)
2025-01-03 11:38:06,741 INFO telethon.crypto.aes cryptg module not installed and libssl not found, falling back to (slower) Python encryption

@Herklos
Copy link
Member

Herklos commented Jan 3, 2025

Hello @cubetribe! Thanks for reporting, we will investigate this issue. If you're not using telethon (the telegram API) it should not affect the bot.

@cubetribe
Copy link
Author

Hello @Herklos ,

Thank you for your quick response and for looking into this issue! 😊 While investigating further, I noticed two problems that might be related to this topic:

Telegram Notifications:
I attempted to set up Telegram notifications to alert me whenever a trade is executed. Unfortunately, this feature isn’t working and seems to cause an error in the process.

Backtesting Speed:
I observed that backtesting takes an exceptionally long time. I tried running a backtest for just one month of my strategy, but after over 12 hours, it was still not even 30% complete. I eventually had to cancel it.

I wondered if these issues might be related to the SSL problem? Perhaps the slower encryption fallback or missing library impacts performance or API connections.

Thank you again for your help, and let me know if I can provide more details or logs to assist in troubleshooting! 🙌

Best regards,
Dennis

@Piggzy76
Copy link

Piggzy76 commented Jan 3, 2025 via email

@GuillaumeDSM
Copy link
Member

Can you paste your error traceback here please @Piggzy76 ?

@Piggzy76
Copy link

Piggzy76 commented Jan 4, 2025

After further reading I am not sure it is the same problem but the error that continually is showing in my logs is:

Error when getting community status : Cannot connect to host octobot.cloud:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)')] (error: ClientConnectorCertificateError)

Im am using the current latest version of Fedora (41 I believe). I did a quick try in my Win11 dual boot and get no issues, i just wanted to rule out any blocking issues with my ISP etc.

as far as I can tell I have all the correct python ssl libs etc installed.

Thanks for your time Guillaume

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

4 participants