VAPOR crashes when reading files with OpenSSL error

I am following the steps described on this website and I am able to launch VAPOR in the remote terminal (using TigerVNC) on NCAR’s Casper cluster. However, when I try to load data (I tried wrfout netCDFs and preprocessed vdc files) VAPOR is crashing with the following error message:

qt.network.ssl: Incompatible version of OpenSSL
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
VAssert(rc >= 0) failed in CalcEngineMgr.cpp, line 161

Do you have any idea why this is happening?

Thank you very much for your help!
Andy

Can you share a link to the file(s) on glade that are crashing? This could be a bug. Our test datasets for WRF have been loading without crashing and this could be an edge case.

Hi Pearse,
Thanks for your reply. I copied the wrfout netCDF files and the .vdc file that I tried to import to - /glade/scratch/prein/tmp/VAPOR/4km
In the meantime I figured out that I can read those files when I load VAPORv3.0 but newer versions are crashing when I import/load data.
Thanks!
Andy

Hmm I’m able to load the VDC and wrf files.

I’m using TurboVNC though. The error message you posted (CalcEngineMgr.cpp:161) indicates that this is a Vapor issue, not a VNC issue.

Are you using the version of Vapor packaged on Casper? When I do

module load vapor
vapor /glade/scratch/prein/tmp/VAPOR/4km/wrfout_d01_2012-05-31_00\:*

I can render the following:

Could you issue the following commands and let me know what version of Vapor is being run?

module load vapor
vaporversion -long

The image looks correct.
I opened a remote desktop using TurboVNC this time but I get the same error message as when using TigerVNC.

vaporversion -long outputs:
Vapor Release version 3.5.0.1d3f2d9 (2021-08-03T15:11:38Z)

I tried using the same command to load the wrfout files as you do above and get the same error message as before (see screenshot).

Thanks,
Andy

Interesting. Looks like a Python issue. Could you attach the file that’s generated from the following command?

printenv > printenv.txt

The printenv.txt file is here - /glade/u/home/prein/printenv.txt
Sorry, I did not know how to attach it.

No problem. I see a few python flags in that configuration file and I think this could be the issue. Could you try the following and then reloading Vapor? Thanks for your patience.

module unload vapor
module unload ncarenv
module load vapor
vapor /glade/scratch/prein/tmp/VAPOR/4km/wrfout_d01_2012-05-31_00\:*

These commands did not solve the issue but sourcing my own Python build instead of using the default build fixed it.

Thanks Andreas. I’ll make a note of this. Let me know if you hit another snag.

Thank you, Pearse!
I would have never figured out without you that this problem is related to Python.
Best,
Andreas

Hello,

I installed Centos 7 from scratch to my workstation that has 128 Gb of RAM and 6 cpus with 24 cores each. uname -a gives:

“Linux localhost.localdomain 3.10.0-1160.45.1.el7.x86_64”

All system software was updated. I then brought the latest (today, 11/11/21) “VAPOR3-3.5.0-Centos7-Weekly.sh” and extracted the files. When I launch vapor, I am also experiencing ssl error as with other folks mentioned ob vapor forum as well as by others on the Internet via different software:

qt.network.ssl: QSslSocket: cannot resolve OPENSSL_init_ssl
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_init_crypto
qt.network.ssl: QSslSocket: cannot resolve ASN1_STRING_get0_data
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_reset
qt.network.ssl: QSslSocket: cannot resolve RSA_bits
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_new_null
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_push
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_free
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_num
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_pop_free
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_value
.
.
.
Apparently, this problem is quite common. I searched the solutions online but couldn’t apply a suitable one to my problem. When I checked the vapor forum, a solution was offered by one of the vapor users, stating that he resolved the same ssl problem when he installed python:


pearse

No problem. I see a few python flags in that configuration file and I think this could be the issue. Could you try the following and then reloading Vapor? Thanks for your patience.

module unload vapor
module unload ncarenv
module load vapor
vapor /glade/scratch/prein/tmp/VAPOR/4km/wrfout_d01_2012-05-31_00\:*

AndreasPrein

These commands did not solve the issue but sourcing my own Python build instead of using the default build fixed it.


Since the error states that qt.network cannot resolve openssl, then I updated qt.x86_64 and also installed qt.i686. Subsequently, I installed ssl and python by following this link:

https://docs.python.org/3/using/unix.html

I put the path for ssl and python to the system PATH

export PATH="/usr/local/bin:/usr/local/python-3.9.8/bin:/usr/local/custom-openssl/bin:$PATH"

and put VAPOR-Deps to /usr/local and defined library path:

export LD_LIBRARY_PATH="/usr/local/VAPOR-Deps:/usr/lib64:$LD_LIBRARY_PATH"

But the ssl problem persists. Was what I did the right action to resolve the problem? What or what else should do?

Thanks for your help.

Kemal.