Ondsel-Development / FreeCAD

This is the official source code of FreeCAD, a free and opensource multiplatform 3D parametric modeler.
https://www.freecad.org
Other
185 stars 7 forks source link

OPENSSL error on launch #38

Open graeme731 opened 7 months ago

graeme731 commented 7 months ago

Is there an existing issue for this?

Problem description

When I launch the software (bin/freecad.exe) I get an error while the spash screen is displayed. The error reads: "OPENSSL_Uplink(00007FFC69979FE8,08): no OPENSSL_Applink" upon clicking ok Ondsel closes.

Full version info

OS: Windows 11 build 22631
Word size of Ondsel: 64-bit
Version: 2024.1.0.35694 (Git)
Build type: Release
Branch: flavor
Hash: b070090c6873b3fcf4be9a459219d22edfc4e7cf
Python 3.10.13, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.6, OCC 7.6.3
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * AirPlaneDesign 0.4.0


### Subproject(s) affected?

None

### Anything else?

error:
![image](https://github.com/Ondsel-Development/FreeCAD/assets/165592824/54e294d5-4be4-4f0d-8f3d-5a6baff08348)

To install I downloaded the Windows version (7z) and extracted it to a folder with 7-Zip (also tried winrar) and ran /bin/freecad.exe

I have found I can open and use Ondsel if I disable my internet first, then it launches without issue. 

Note I have also tried the weekly build and have the same error.

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct
graeme731 commented 7 months ago

image

BearCarpenter commented 6 months ago

by turning off the Internet, I can enter the application, but when I click on a link inside the application (with the Internet still turned off), I receive the same error and the application turns off (crashed). edit: I have the same problem in Freecad 21.2 BIM Workbench -> Help -> Bim Tutorial

we should redirect this error to freecad repository, because this is internal error.

graeme731 commented 4 months ago

Update/Fix, I had an environmnet variable "SSLKEYLOGFILE" set which is used for capturing SSL certs to a text file to allow packet capture and later decryption of captured HTTPS data. Apparently OpenSSL as used by Ondsel doesn't like this, not sure if it allways doen't like it or just because my SSL cert log file was big (like 3GB).