-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
Debugging with VSCode results in error "No usable version of libssl was found" #8015
Comments
Hey @symbion6! |
Interesting. My host is a Macbook running an Intel processor, no ARM. I'm starting the debugging process using this command: When "waiting for debugger to attach..." appears, I go to the "Run and Debug" tab of Visual Studio Code and start with "Debug with Lean CLI". The weird thing is that it runs for a bit before it exits. Attached are the log files: |
Hey @symbion6! The log.txt is showing there seems to be a corrupted data file |
Hi @Martin-Molinero. Just fixed that issue and ran again. The process keeps exiting and giving the reported error:
New log file: |
Hi @symbion6 |
@symbion6 |
@jhonabreul Thanks! Attached is the verbose output |
Hey @symbion6! |
Hi @Martin-Molinero, thanks for the instructions! I've followed them all. The results are, unfortunately, still the same.
Same for "--list-sdks":
This is the result of the pip upgrade:
I've restarted the machine after the installs and then tried the debugging again, resulting in the same libssl error. |
Hey @symbion6! |
Hi @Martin-Molinero, I remember you've mentioned this:
Is this something to checkout? If so, how can I upgrade the debugger version? UPDATE: |
This is on the host?
Locally u can update the foundation file (like done in https://github.com/QuantConnect/Lean/pull/8000/files) and build a custom image, see https://www.quantconnect.com//docs/v2/lean-cli/projects/custom-docker-images#01-Introduction. |
Hi @Martin-Molinero! After a lot of experimenting, it turned out to be the version of the debugger. I'm happy it works again and I've gained some useful knowledge on working with custom images. |
Hey @symbion6! I'm glad it's working, just to be clear the current version is |
Expected Behavior
Debugging the Lean Engine (docker container) using VSCode works as expected.
Actual Behavior
Debugging start the container and the algorithm, but before any breakpoints are hit, the container breaks and the following error is shown in the debug console:
This started happening overnight; it has worked for over a year before, flawlessly.
Potential Solution
Not sure. I've tried manually installing libssl in the docker container; this did not help at all.
Before that, I've made sure to pull the latest version of the lean docker image.
Reproducing the Problem
It's reproducable on my system 100% of the time; I cannot debug anything at the moment.
System Information
MacOS 14.1.1
Latest Lean Engine, latest VSCode
Checklist
master
branchThe text was updated successfully, but these errors were encountered: