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

Nodejs crash out "OpenSSL configuration error:" #41522

Closed
OlagStegan opened this issue Jan 14, 2022 · 4 comments
Closed

Nodejs crash out "OpenSSL configuration error:" #41522

OlagStegan opened this issue Jan 14, 2022 · 4 comments
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs. openssl Issues and PRs related to the OpenSSL dependency.

Comments

@OlagStegan
Copy link

Version

v17.3.1

Platform

Window 10

Subsystem

Visual Studio Code/Powershell

What steps will reproduce the bug?

"npm install" or "yarn install" or even "node server" (on previous working project)
OpenSSL configuration error:
18290000:error:80000002:system library:BIO_new_file:No such file
or directory:c:\ws\deps\openssl\openssl\crypto\bio\bss_file.c:67:18290000:error:10000080:BIO routines:BIO_new_file:no such file:c:\ws\deps\openssl\openssl\crypto\bio\bss_file.c:75:
18290000:error:07000072:configuration file routines:def_load:no such file:c:\ws\deps\openssl\openssl\crypto\conf\conf_def.c:179:
OpenSSL configuration error:
40520000:error:80000002:system library:BIO_new_file:No such file
or directory:c:\ws\deps\openssl\openssl\crypto\bio\bss_file.c:67:calling fopen(C:\Program Files\PostgreSQL\psqlODBC\etc\openssl.cnf, rb)
40520000:error:10000080:BIO routines:BIO_new_file:no such file:c:\ws\deps\openssl\openssl\crypto\bio\bss_file.c:75:
40520000:error:07000072:configuration file routines:def_load:no such file:c:\ws\deps\openssl\openssl\crypto\conf\conf_def.c:179:

Not: latest version 64bit 3.0.1 of OpenSSL is installed but not used
Also as suggested elsewhere the environment variable OPENSSL_CONF has been deleted.

Why crash out when files not found and not required?

How often does it reproduce? Is there a required condition?

every attempt to run node following version upgrade to v17.3.1
also have uninstalled Node and installed previous version - still have the same error. Not using PostgreSQL in this project no idea what c:/ws/... is as it doesn't exist

What is the expected behavior?

node works without crashing (is there a flag to set for "no OpenSSL" to turn off this not required "feature"

What do you see instead?

output as above

Additional information

No response

@tniessen tniessen added the openssl Issues and PRs related to the OpenSSL dependency. label Jan 14, 2022
@OlagStegan
Copy link
Author

Solution

Well not really but at least life can go on!

  • Uninstall Nodejs!
  • Install a working version (16.11.1) that does not have all these openssl issues (who wants/needs it anyway?)
  • Flag all future updates to Nodejs as detrimental to life until openssl abandoned or made optional (as it probably should have been)
  • reconsider that move to Deno
    Thanks @daniel for the suggestion

@drewid25
Copy link

Thanks installing a working version(16.11.11) works form me. thanks a lot.

@bnoordhuis
Copy link
Member

This is a duplicate of #40547, see that issue for more discussion.

@bnoordhuis bnoordhuis closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2022
@bnoordhuis bnoordhuis added the duplicate Issues and PRs that are duplicates of other issues or PRs. label May 26, 2022
@riteshhon
Copy link

Thank you so much, This solution really worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs. openssl Issues and PRs related to the OpenSSL dependency.
Projects
None yet
Development

No branches or pull requests

5 participants