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

Authentication System : DISABLED #299

Open
1 task done
SrNetoChan opened this issue Jan 29, 2023 · 22 comments
Open
1 task done

Authentication System : DISABLED #299

SrNetoChan opened this issue Jan 29, 2023 · 22 comments
Labels

Comments

@SrNetoChan
Copy link
Contributor

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

I am getting this issue

2023-01-29T02:24:38 CRITICAL Authentication System : DISABLED. Resources authenticating via the system can not be accessed

This is new on 3.22.15 and 3.28.3 (tested while trying to build on a M1 machine)

I wonder if it has something to do with this old error:

qgis/QGIS#22615 (comment)

Installed packages

(qgis_ltr) ➜  qgis-feedstock git:(osx_arm64_native) conda list
# packages in environment at /home/aneto/mambaforge/envs/qgis_ltr:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
alsa-lib                  1.2.8                h166bdaf_0    conda-forge
attr                      2.5.1                h166bdaf_1    conda-forge
blosc                     1.21.3               hafa529b_0    conda-forge
boost-cpp                 1.78.0               h75c5d50_1    conda-forge
brotlipy                  0.7.0           py310h5764c6d_1005    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2022.12.7            ha878542_0    conda-forge
cairo                     1.16.0            ha61ee94_1014    conda-forge
certifi                   2022.12.7          pyhd8ed1ab_0    conda-forge
cffi                      1.15.1          py310h255011f_2    conda-forge
cfitsio                   4.2.0                hd9d235c_0    conda-forge
charset-normalizer        2.1.1              pyhd8ed1ab_0    conda-forge
coverage                  6.5.0           py310h5764c6d_1    conda-forge
cryptography              39.0.0          py310h34c0648_0    conda-forge
curl                      7.87.0               hdc1c0ab_0    conda-forge
dbus                      1.13.6               h5008d03_3    conda-forge
draco                     1.5.5                h924138e_0    conda-forge
eigen                     3.4.0                h4bd325d_0    conda-forge
exiv2                     0.27.6               hb9a316c_1    conda-forge
expat                     2.5.0                h27087fc_0    conda-forge
fftw                      3.3.10          nompi_hf0379b8_106    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.1               hc2a2eb6_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
freetype                  2.12.1               hca18f0e_1    conda-forge
freexl                    1.0.6                h166bdaf_1    conda-forge
future                    0.18.2             pyhd8ed1ab_6    conda-forge
gdal                      3.6.2           py310hc1b7723_5    conda-forge
geos                      3.11.1               h27087fc_0    conda-forge
geotiff                   1.7.1                h7a142b4_6    conda-forge
gettext                   0.21.1               h27087fc_0    conda-forge
giflib                    5.2.1                h36c2ea0_2    conda-forge
glib                      2.74.1               h6239696_1    conda-forge
glib-tools                2.74.1               h6239696_1    conda-forge
gsl                       2.7                  he838d99_0    conda-forge
gst-plugins-base          1.21.2               h3e40eee_0    conda-forge
gstreamer                 1.21.2               hd4edc92_0    conda-forge
gstreamer-orc             0.4.33               h166bdaf_0    conda-forge
hdf4                      4.2.15               h9772cbc_5    conda-forge
hdf5                      1.12.2          nompi_h4df4325_101    conda-forge
httplib2                  0.21.0             pyhd8ed1ab_0    conda-forge
icu                       70.1                 h27087fc_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
jack                      1.9.21               h583fa2b_2    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
jpeg                      9e                   h166bdaf_2    conda-forge
json-c                    0.16                 hc379101_0    conda-forge
kealib                    1.5.0                ha7026e8_0    conda-forge
keyutils                  1.6.1                h166bdaf_0    conda-forge
krb5                      1.20.1               h81ceb04_0    conda-forge
lame                      3.100             h166bdaf_1003    conda-forge
laz-perf                  3.0.0                h4bd325d_0    conda-forge
lcms2                     2.14                 h6ed2654_0    conda-forge
ld_impl_linux-64          2.39                 hcc3a1bd_1    conda-forge
lerc                      4.0.0                h27087fc_0    conda-forge
libaec                    1.0.6                hcb278e6_1    conda-forge
libblas                   3.9.0           16_linux64_openblas    conda-forge
libcap                    2.66                 ha37c62d_0    conda-forge
libcblas                  3.9.0           16_linux64_openblas    conda-forge
libclang                  15.0.6          default_h2e3cab8_0    conda-forge
libclang13                15.0.6          default_h3a83d3e_0    conda-forge
libcups                   2.3.3                h36d4200_3    conda-forge
libcurl                   7.87.0               hdc1c0ab_0    conda-forge
libdap4                   3.20.6               hd7c4107_2    conda-forge
libdb                     6.2.32               h9c3ff4c_0    conda-forge
libdeflate                1.17                 h0b41bf4_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libevent                  2.1.10               h28343ad_4    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libflac                   1.4.2                h27087fc_0    conda-forge
libgcc-ng                 12.2.0              h65d4601_19    conda-forge
libgcrypt                 1.10.1               h166bdaf_0    conda-forge
libgdal                   3.6.2                h8c90c07_5    conda-forge
libgfortran-ng            12.2.0              h69a702a_19    conda-forge
libgfortran5              12.2.0              h337968e_19    conda-forge
libglib                   2.74.1               h606061b_1    conda-forge
libgomp                   12.2.0              h65d4601_19    conda-forge
libgpg-error              1.45                 hc0c96e0_0    conda-forge
libiconv                  1.17                 h166bdaf_0    conda-forge
libkml                    1.3.0             h37653c0_1015    conda-forge
liblapack                 3.9.0           16_linux64_openblas    conda-forge
libllvm15                 15.0.6               h63197d8_0    conda-forge
libnetcdf                 4.8.1           nompi_h261ec11_106    conda-forge
libnghttp2                1.51.0               hff17c54_0    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libogg                    1.3.4                h7f98852_1    conda-forge
libopenblas               0.3.21          pthreads_h78a6416_3    conda-forge
libopus                   1.3.1                h7f98852_1    conda-forge
libpng                    1.6.39               h753d276_0    conda-forge
libpq                     15.1                 hb675445_3    conda-forge
libprotobuf               3.21.12              h3eb15da_0    conda-forge
librttopo                 1.1.0               ha49c73b_12    conda-forge
libsecret                 0.18.8               h329b89f_2    conda-forge
libsndfile                1.1.0                hcb278e6_1    conda-forge
libspatialindex           1.9.3                h9c3ff4c_4    conda-forge
libspatialite             5.0.1               h221c8f1_23    conda-forge
libsqlite                 3.40.0               h753d276_0    conda-forge
libssh2                   1.10.0               hf14f497_3    conda-forge
libstdcxx-ng              12.2.0              h46fd767_19    conda-forge
libsystemd0               252                  h2a991cd_0    conda-forge
libtiff                   4.5.0                h6adf6a1_2    conda-forge
libtool                   2.4.6             h9c3ff4c_1008    conda-forge
libudev1                  252                  h166bdaf_0    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libvorbis                 1.3.7                h9c3ff4c_0    conda-forge
libwebp                   1.2.4                h522a892_0    conda-forge
libwebp-base              1.2.4                h166bdaf_0    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxkbcommon              1.0.3                he3ba5ed_0    conda-forge
libxml2                   2.10.3               h7463322_0    conda-forge
libxslt                   1.1.37               h873f0b0_0    conda-forge
libzip                    1.9.2                hc929e4a_1    conda-forge
libzlib                   1.2.13               h166bdaf_4    conda-forge
lz4-c                     1.9.3                h9c3ff4c_1    conda-forge
markupsafe                2.1.1           py310h5764c6d_2    conda-forge
mock                      4.0.3              pyhd8ed1ab_4    conda-forge
mpg123                    1.31.1               h27087fc_0    conda-forge
mysql-common              8.0.32               ha901b37_0    conda-forge
mysql-libs                8.0.32               hd7da12d_0    conda-forge
ncurses                   6.3                  h27087fc_1    conda-forge
nitro                     2.7.dev6             h27087fc_5    conda-forge
nose2                     0.9.2                      py_0    conda-forge
nspr                      4.35                 h27087fc_0    conda-forge
nss                       3.82                 he02c5a1_0    conda-forge
numpy                     1.23.5          py310h53a5b5f_0    conda-forge
openjpeg                  2.5.0                h7d73246_1    conda-forge
openssl                   3.0.7                h0b41bf4_2    conda-forge
owslib                    0.27.2             pyhd8ed1ab_1    conda-forge
packaging                 22.0               pyhd8ed1ab_0    conda-forge
pandas                    1.5.2           py310h769672d_0    conda-forge
pcre                      8.45                 h9c3ff4c_0    conda-forge
pcre2                     10.40                hc3806b6_0    conda-forge
pdal                      2.5.0                h0ea1e05_0    conda-forge
pip                       22.3.1             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
plotly                    5.11.0             pyhd8ed1ab_1    conda-forge
ply                       3.11                       py_1    conda-forge
poppler                   23.01.0              h091648b_0    conda-forge
poppler-data              0.4.11               hd8ed1ab_0    conda-forge
postgresql                15.1                 h3248436_3    conda-forge
proj                      9.1.1                h8ffa02c_2    conda-forge
psycopg2                  2.9.3           py310h416cc33_2    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
ptvsd                     4.3.2           py310h5764c6d_5    conda-forge
pulseaudio                16.1                 h126f2b6_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pygments                  2.13.0             pyhd8ed1ab_0    conda-forge
pyopenssl                 23.0.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyproj                    3.4.1           py310h15e2413_1    conda-forge
pyqt                      5.15.7          py310hab646b1_3    conda-forge
pyqt5-sip                 12.11.0         py310heca2aa9_3    conda-forge
pyqtwebkit                5.15.7          py310h1165ae2_5    conda-forge
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
python                    3.10.8          h4a9ceb5_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python_abi                3.10                    3_cp310    conda-forge
pytz                      2022.6             pyhd8ed1ab_0    conda-forge
pyyaml                    6.0             py310h5764c6d_5    conda-forge
qca                       2.3.5                h51e5271_0    conda-forge
qgis                      3.22.15         py310hfa5b721_0    conda-forge
qjson                     0.9.0             h51e5271_1007    conda-forge
qscintilla2               2.13.4          py310h1165ae2_0    conda-forge
qt-main                   5.15.6               hf6cd601_5    conda-forge
qtkeychain                0.13.2               h7ba989a_1    conda-forge
qtwebkit                  5.212                h3383a02_6    conda-forge
qwt                       6.2.0                h1d9fb53_4    conda-forge
readline                  8.1.2                h0f457ee_0    conda-forge
requests                  2.28.1             pyhd8ed1ab_1    conda-forge
setuptools                65.5.1             pyhd8ed1ab_0    conda-forge
sip                       6.7.6           py310heca2aa9_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
snappy                    1.1.9                hbd366e4_2    conda-forge
sqlite                    3.40.0               h4ff8645_0    conda-forge
tenacity                  8.1.0              pyhd8ed1ab_0    conda-forge
tiledb                    2.13.2               hd532e3d_0    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
tzcode                    2022g                h166bdaf_0    conda-forge
tzdata                    2022g                h191b570_0    conda-forge
urllib3                   1.26.13            pyhd8ed1ab_0    conda-forge
wheel                     0.38.4             pyhd8ed1ab_0    conda-forge
xcb-util                  0.4.0                h166bdaf_0    conda-forge
xcb-util-image            0.4.0                h166bdaf_0    conda-forge
xcb-util-keysyms          0.4.0                h166bdaf_0    conda-forge
xcb-util-renderutil       0.3.9                h166bdaf_0    conda-forge
xcb-util-wm               0.4.1                h166bdaf_0    conda-forge
xerces-c                  3.2.4                h55805fa_1    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.7.2                h7f98852_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h7f98852_1    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h7f98852_1002    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
yaml                      0.2.5                h7f98852_2    conda-forge
zlib                      1.2.13               h166bdaf_4    conda-forge
zstd                      1.5.2                h6239696_4    conda-forge

Environment info

(qgis_ltr) ➜  qgis-feedstock git:(osx_arm64_native) conda info

     active environment : qgis_ltr
    active env location : /home/aneto/mambaforge/envs/qgis_ltr
            shell level : 1
       user config file : /home/aneto/.condarc
 populated config files : /home/aneto/mambaforge/.condarc
                          /home/aneto/.condarc
          conda version : 22.9.0
    conda-build version : 3.23.3
         python version : 3.10.6.final.0
       virtual packages : __linux=6.0.12=0
                          __glibc=2.35=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/aneto/mambaforge  (writable)
      conda av data dir : /home/aneto/mambaforge/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /home/aneto/mambaforge/pkgs
                          /home/aneto/.conda/pkgs
       envs directories : /home/aneto/mambaforge/envs
                          /home/aneto/.conda/envs
               platform : linux-64
             user-agent : conda/22.9.0 requests/2.28.1 CPython/3.10.6 Linux/6.0.12-76060006-generic ubuntu/22.04.1 glibc/2.35
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False
@SrNetoChan SrNetoChan added the bug label Jan 29, 2023
@SrNetoChan
Copy link
Contributor Author

Running

(qgis_ltr) ➜ qgis-feedstock git:(osx_arm64_native) qcatool-qt5 plugins --debug
/home/aneto/mambaforge/envs/qgis_ltr/plugins
/home/aneto/mambaforge/envs/qgis_ltr/bin
plugin: Checking Qt static plugins:
plugin: (none)
plugin: Checking Qt Library Path: /home/aneto/mambaforge/envs/qgis_ltr/plugins
plugin: libqca-gnupg.so: (class: gnupgPlugin) loaded as qca-gnupg
plugin: libqca-logger.so: (class: loggerPlugin) loaded as qca-logger
plugin: libqca-nss.so: (class: nssPlugin) loaded as qca-nss
plugin: libqca-ossl.so: failed to load: Cannot load library /home/aneto/mambaforge/envs/qgis_ltr/plugins/crypto/libqca-ossl.so: (libssl.so.1.1: cannot open shared object file: No such file or directory)
plugin: libqca-softstore.so: (class: softstorePlugin) loaded as qca-softstore
plugin: Checking Qt Library Path: /home/aneto/mambaforge/envs/qgis_ltr/bin
plugin: (No 'crypto' subdirectory)
Available Providers:
qca-gnupg
*pgpkey
*openpgp
*keystorelist
qca-logger
*log
qca-nss
*md2
*md5
*sha1
*sha256
*sha384
*sha512
*hmac(md5)
*hmac(sha1)
*hmac(sha256)
*hmac(sha384)
*hmac(sha512)
*aes128-ecb
*aes128-cbc
*des-ecb
*des-cbc
*des-cbc-pkcs7
*tripledes-ecb
qca-softstore
*pkey
*keystorelist
plugin: Unloaded: qca-gnupg
plugin: Unloaded: qca-logger
plugin: Unloaded: qca-nss
plugin: Unloaded: qca-softstore

@SrNetoChan
Copy link
Contributor Author

So I have create a empty environment and installed qca and I don't get any problems with the plugin

(qca_test) ➜ qgis-feedstock git:(osx_arm64_native) qcatool-qt5 plugins --debug
/home/aneto/mambaforge/envs/qgis_ltr/plugins
/home/aneto/mambaforge/envs/qca_test/plugins
/home/aneto/mambaforge/envs/qca_test/bin
plugin: Checking Qt static plugins:
plugin: (none)
plugin: Checking Qt Library Path: /home/aneto/mambaforge/envs/qgis_ltr/plugins
plugin: libqca-gnupg.so: (class: gnupgPlugin) loaded as qca-gnupg
plugin: libqca-logger.so: (class: loggerPlugin) loaded as qca-logger
plugin: libqca-nss.so: (class: nssPlugin) loaded as qca-nss
plugin: libqca-ossl.so: failed to load: Cannot load library /home/aneto/mambaforge/envs/qgis_ltr/plugins/crypto/libqca-ossl.so: (libssl.so.1.1: cannot open shared object file: No such file or directory)
plugin: libqca-softstore.so: (class: softstorePlugin) loaded as qca-softstore
plugin: Checking Qt Library Path: /home/aneto/mambaforge/envs/qca_test/plugins
plugin: libqca-gcrypt.so: (class: gcryptPlugin) loaded as qca-gcrypt
plugin: libqca-gnupg.so: (class: gnupgPlugin, as qca-gnupg) already loaded provider, skipping
plugin: libqca-logger.so: (class: loggerPlugin, as qca-logger) already loaded provider, skipping
plugin: libqca-nss.so: (class: nssPlugin, as qca-nss) already loaded provider, skipping
plugin: libqca-ossl.so: (class: opensslPlugin) loaded as qca-ossl
plugin: libqca-softstore.so: (class: softstorePlugin, as qca-softstore) already loaded provider, skipping
plugin: Checking Qt Library Path: /home/aneto/mambaforge/envs/qca_test/bin
plugin: (No 'crypto' subdirectory)
Available Providers:
qca-gnupg
*pgpkey
*openpgp
*keystorelist
qca-logger
*log
qca-nss
*md2
*md5
*sha1
*sha256
*sha384
*sha512
*hmac(md5)
*hmac(sha1)
*hmac(sha256)
*hmac(sha384)
*hmac(sha512)
*aes128-ecb
*aes128-cbc
*des-ecb
*des-cbc
*des-cbc-pkcs7
*tripledes-ecb
qca-softstore
*pkey
*keystorelist
qca-gcrypt
*sha1
*md4
*md5
*ripemd160
*sha256
*sha384
*sha512
*hmac(md5)
*hmac(sha1)
*hmac(sha256)
*hmac(sha384)
*hmac(sha512)
*hmac(ripemd160)
*aes128-ecb
*aes128-cfb
*aes128-cbc
*aes192-ecb
*aes192-cfb
*aes192-cbc
*aes256-ecb
*aes256-cfb
*aes256-cbc
*blowfish-ecb
*blowfish-cbc
*blowfish-cfb
*tripledes-ecb
*des-cbc
*des-cfb
*aes128-ofb
*aes192-ofb
*aes256-ofb
*des-ofb
*tripledes-ofb
*blowfish-ofb
*pbkdf1(sha1)
*pbkdf2(sha1)
*hkdf(sha256)
qca-ossl
This product includes cryptographic software written by Eric Young
([email protected])
*random
*sha1
*ripemd160
*md4
*md5
*sha224
*sha256
*sha384
*sha512
*whirlpool
*hmac(md5)
*hmac(sha1)
*hmac(sha224)
*hmac(sha256)
*hmac(sha384)
*hmac(sha512)
*hmac(ripemd160)
*aes128-ecb
*aes128-cfb
*aes128-cbc
*aes128-cbc-pkcs7
*aes128-ofb
*aes128-ctr
*aes128-gcm
*aes128-ccm
*aes192-ecb
*aes192-cfb
*aes192-cbc
*aes192-cbc-pkcs7
*aes192-ofb
*aes192-ctr
*aes192-gcm
*aes192-ccm
*aes256-ecb
*aes256-cbc
*aes256-cbc-pkcs7
*aes256-cfb
*aes256-ofb
*aes256-ctr
*aes256-gcm
*aes256-ccm
*blowfish-ecb
*blowfish-cbc-pkcs7
*blowfish-cbc
*blowfish-cfb
*blowfish-ofb
*tripledes-ecb
*tripledes-cbc
*des-ecb
*des-ecb-pkcs7
*des-cbc
*des-cbc-pkcs7
*des-cfb
*des-ofb
*cast5-ecb
*cast5-cbc
*cast5-cbc-pkcs7
*cast5-cfb
*cast5-ofb
*pbkdf1(sha1)
*pbkdf2(sha1)
*hkdf(sha256)
*pkey
*dlgroup
*rsa
*dsa
*dh
*cert
*csr
*crl
*certcollection
*pkcs12
*tls
*cms
*ca
plugin: Unloaded: qca-gnupg
plugin: Unloaded: qca-logger
plugin: Unloaded: qca-nss
plugin: Unloaded: qca-softstore
plugin: Unloaded: qca-gcrypt
plugin: Unloaded: qca-ossl

So it must be something on QGIS recipe. @gillins any ideas?

@SrNetoChan
Copy link
Contributor Author

SrNetoChan commented Jan 29, 2023

@conda-forge/openssl Team any ideas? QCA openssl plugin is complaining

plugin: libqca-ossl.so: failed to load: Cannot load library /home/aneto/mambaforge/envs/qgis_ltr/plugins/crypto/libqca-ossl.so: (libssl.so.1.1: cannot open shared object file: No such file or directory)

@h-vetinari
Copy link
Member

libssl.so.1.1: cannot open shared object file

That's the problem. It seems to be looking for libssl.so.1.1 exactly, but that's the OpenSSL 1.1.1 build. You need to compile the library against OpenSSL 3 (at a minimum, it needs to link to libssl.so.3, but it's very possible that other changes are necessary).

If qgis has no OpenSSL 3 support (yet), then that's an issue, because conda-forge recently moved to OpenSSL 3 only. If so, you can pin to OpenSSL 1.1.1 in the host deps, but that's not a long-term solution, as it will become uninstallable with many other conda-forge packages (and OpenSSL 1.1.1 is EOL in September).

SrNetoChan added a commit to SrNetoChan/qgis-feedstock that referenced this issue Jan 29, 2023
@SrNetoChan
Copy link
Contributor Author

Looking at my normal Linux installation, it seems that my linux machine uses openssl 3.0.2, and qgis uses it fine. So it means that is something on our recipe.

Nevertheless, forcing openssl =1.1.1 seems to fix the problem as @h-vetinari suggested. But we probably should try a better fix.

@h-vetinari
Copy link
Member

Looking at my normal Linux installation, it seems that my linux machine uses openssl 3.0.2, and qgis uses it fine.

Is that one installed through conda-forge or some other way? It may be picking up some other openssl lying around on the path, because if it's looking for libssl.so.1.1 that's very definitely not going to work with 3.0

@SrNetoChan
Copy link
Contributor Author

No, this one was installed from apt and qgis 3.28.3 also installed from apt works fine. Which means QGIS supports openssl 3. So something is up with our recipe or environment.

@SrNetoChan
Copy link
Contributor Author

Need to see if there are any symbolic links to fake the 1.1.1 file

@h-vetinari
Copy link
Member

Need to see if there are any symbolic links to fake the 1.1.1 file

This shouldn't be changed by deleting/modifying symlinks. You need to check the upstream build configuration/options how to tell it to use OpenSSL 3.

@gillins
Copy link
Contributor

gillins commented Jan 30, 2023

Sorry @SrNetoChan , just catching up with this. So this is fine on Linux, right? I just checked there and seems ok, but unfortunately I don't have access to OSX anymore so can't easily compare.
I wonder if the problem is that qca does not list openssl as one of the build dependencies? Could be on OSX the build finds a system version of openssl 1.1 and uses that?

@SrNetoChan
Copy link
Contributor Author

@gillins no, I am getting this on Linux too. So at least OSX and Linux, haven't tried Windows

@gillins
Copy link
Contributor

gillins commented Jan 30, 2023

That's weird because on my system qgis and libqca-ossl.so are both linked against libssl.so.3....

@SrNetoChan
Copy link
Contributor Author

What is your Linux machine? Mine is kubuntu 22.04. I saw something about a similar error only appearing in certain ubuntu versions.

@gillins
Copy link
Contributor

gillins commented Jan 30, 2023

Ubuntu 22.04. Using QGIS 3.28.2.

@SrNetoChan
Copy link
Contributor Author

Ah! The problem only starts with 3.28.3 (the one I have merged yesterday or so). It happens both for the LTR and the Stable version. So, something seems to have changed.

@h-vetinari
Copy link
Member

I wonder if the problem is that qca does not list openssl as one of the build dependencies? Could be on OSX the build finds a system version of openssl 1.1 and uses that?

That could be. If the package depends on openssl, you need to declare it like that

@gillins
Copy link
Contributor

gillins commented Jan 30, 2023

Weird, something did change in this migration: #293 - I had to add the winsock library on Windows in when I never had to do this before. Maybe something changed in the build images?

@SrNetoChan
Copy link
Contributor Author

So, I have tried to update my qgis LTR environment to 3.22.16 expecting it to fix the issue with OpenSS, but it didn't. Then I deleted that environment and started over and, surprise it worked! So a clean environment can make a difference.

@SrNetoChan
Copy link
Contributor Author

Also tried with QGIS 3.28.3 and it also worked. So what we did in the qca should have fixed the problem... I hope.

@wybert
Copy link

wybert commented Dec 13, 2023

I still have this problem with 3.34.1 in Mac m2

@SrNetoChan
Copy link
Contributor Author

@wybert can you elaborate on your environment?

@SrNetoChan SrNetoChan reopened this Dec 13, 2023
@wybert
Copy link

wybert commented Feb 28, 2024

@SrNetoChan I also tried 3.36.0 in mac m2, my conda env is like below,

conda list                                                                                                                               (qgis_test) 
# packages in environment at /opt/homebrew/Caskroom/miniforge/base/envs/qgis_test:
#
# Name                    Version                   Build  Channel
aws-c-auth                0.7.16               h51b92d1_6    conda-forge
aws-c-cal                 0.6.10               hf888d4c_1    conda-forge
aws-c-common              0.9.13               h93a5062_0    conda-forge
aws-c-compression         0.2.18               hf888d4c_1    conda-forge
aws-c-event-stream        0.4.2                h1b95c93_4    conda-forge
aws-c-http                0.8.1                heb97226_5    conda-forge
aws-c-io                  0.14.5               hb51f26e_1    conda-forge
aws-c-mqtt                0.10.2               hd37591b_4    conda-forge
aws-c-s3                  0.5.1                h09f5dbc_7    conda-forge
aws-c-sdkutils            0.1.15               hf888d4c_1    conda-forge
aws-checksums             0.1.18               hf888d4c_1    conda-forge
aws-crt-cpp               0.26.2               h2938e21_6    conda-forge
aws-sdk-cpp               1.11.267             h73c0887_1    conda-forge
azure-core-cpp            1.10.3               he231e37_1    conda-forge
azure-storage-blobs-cpp   12.10.0              h6aa02a4_0    conda-forge
azure-storage-common-cpp  12.5.0               h607ffeb_2    conda-forge
blosc                     1.21.5               hc338f07_0    conda-forge
brotli-python             1.1.0           py312h9f69965_1    conda-forge
bzip2                     1.0.8                h93a5062_5    conda-forge
c-ares                    1.26.0               h93a5062_0    conda-forge
ca-certificates           2024.2.2             hf0a4a13_0    conda-forge
cairo                     1.18.0               hd1e100b_0    conda-forge
ceres-solver              2.2.0                h1a5cec8_1    conda-forge
certifi                   2024.2.2           pyhd8ed1ab_0    conda-forge
cfitsio                   4.3.1                h808cd33_0    conda-forge
charset-normalizer        3.3.2              pyhd8ed1ab_0    conda-forge
coverage                  7.4.1           py312he37b823_0    conda-forge
curl                      8.5.0                h2d989ff_0    conda-forge
draco                     1.5.7                h2ffa867_0    conda-forge
eigen                     3.4.0                h1995070_0    conda-forge
exiv2                     0.28.2               h193c0af_0    conda-forge
expat                     2.5.0                hb7217d7_1    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 h77eed37_1    conda-forge
fontconfig                2.14.2               h82840c6_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
freetype                  2.12.1               hadb7bae_2    conda-forge
freexl                    2.0.0                hfbad9fb_0    conda-forge
future                    0.18.3             pyhd8ed1ab_0    conda-forge
gdal                      3.8.4           py312h56161e1_0    conda-forge
geos                      3.12.1               h965bd2d_0    conda-forge
geotiff                   1.7.1               h7bcba05_15    conda-forge
gettext                   0.21.1               h0186832_0    conda-forge
gflags                    2.2.2             hc88da5d_1004    conda-forge
giflib                    5.2.1                h1a8c8d9_3    conda-forge
glib                      2.78.3               h9e231a4_0    conda-forge
glib-tools                2.78.3               h9e231a4_0    conda-forge
glog                      0.6.0                h6da1cb0_0    conda-forge
gmp                       6.3.0                h965bd2d_0    conda-forge
gsl                       2.7                  h6e638da_0    conda-forge
gst-plugins-base          1.22.9               h09b4b5e_0    conda-forge
gstreamer                 1.22.9               h551c6ff_0    conda-forge
hdf4                      4.2.15               h2ee6834_7    conda-forge
hdf5                      1.14.3          nompi_h5bb55e9_100    conda-forge
httplib2                  0.22.0             pyhd8ed1ab_0    conda-forge
icu                       73.2                 hc8870d7_0    conda-forge
idna                      3.6                pyhd8ed1ab_0    conda-forge
jinja2                    3.1.3              pyhd8ed1ab_0    conda-forge
json-c                    0.17                 h40ed0f5_0    conda-forge
kealib                    1.5.3                h210d843_0    conda-forge
khronos-opencl-icd-loader 2023.04.17           h1a8c8d9_0    conda-forge
krb5                      1.21.2               h92f50d5_0    conda-forge
laz-perf                  3.4.0                h1995070_0    conda-forge
lcms2                     2.16                 ha0e7c42_0    conda-forge
lerc                      4.0.0                h9a09cb3_0    conda-forge
libabseil                 20230802.1      cxx17_h13dd4ca_0    conda-forge
libaec                    1.1.2                h13dd4ca_1    conda-forge
libarchive                3.7.2                hcacb583_1    conda-forge
libblas                   3.9.0           21_osxarm64_openblas    conda-forge
libboost-headers          1.84.0               hce30654_1    conda-forge
libbrotlicommon           1.1.0                hb547adb_1    conda-forge
libbrotlidec              1.1.0                hb547adb_1    conda-forge
libbrotlienc              1.1.0                hb547adb_1    conda-forge
libcblas                  3.9.0           21_osxarm64_openblas    conda-forge
libclang                  15.0.7          default_hd209bcb_4    conda-forge
libclang13                15.0.7          default_ha49e599_4    conda-forge
libcrc32c                 1.1.2                hbdafb3b_0    conda-forge
libcurl                   8.5.0                h2d989ff_0    conda-forge
libcxx                    16.0.6               h4653b0c_0    conda-forge
libdeflate                1.19                 hb547adb_0    conda-forge
libedit                   3.1.20191231         hc8eb9b7_2    conda-forge
libev                     4.33                 h93a5062_2    conda-forge
libexpat                  2.5.0                hb7217d7_1    conda-forge
libffi                    3.4.2                h3422bc3_5    conda-forge
libgdal                   3.8.4                ha86f356_0    conda-forge
libgfortran               5.0.0           13_2_0_hd922786_3    conda-forge
libgfortran5              13.2.0               hf226fd6_3    conda-forge
libglib                   2.78.3               hb438215_0    conda-forge
libgoogle-cloud           2.17.0               hfb9b341_2    conda-forge
libgoogle-cloud-storage   2.17.0               h8a76758_2    conda-forge
libgrpc                   1.60.1               hfc68871_0    conda-forge
libhwloc                  2.9.3           default_h4394839_1009    conda-forge
libiconv                  1.17                 h0d3ecfb_2    conda-forge
libjpeg-turbo             3.0.0                hb547adb_1    conda-forge
libkml                    1.3.0             h1eb4d9f_1018    conda-forge
liblapack                 3.9.0           21_osxarm64_openblas    conda-forge
libllvm15                 15.0.7               h2621b3d_4    conda-forge
libnetcdf                 4.9.2           nompi_h291a7c2_113    conda-forge
libnghttp2                1.58.0               ha4dd798_1    conda-forge
libogg                    1.3.4                h27ca646_1    conda-forge
libopenblas               0.3.26          openmp_h6c19121_0    conda-forge
libopus                   1.3.1                h27ca646_1    conda-forge
libpng                    1.6.42               h091b4b1_0    conda-forge
libpq                     16.2                 h0f8b458_0    conda-forge
libprotobuf               4.25.1               h810fc01_2    conda-forge
libre2-11                 2023.06.02           h1753957_0    conda-forge
librttopo                 1.1.0               hc8f776e_15    conda-forge
libspatialindex           1.9.3                hbdafb3b_4    conda-forge
libspatialite             5.1.0                h69abc6b_4    conda-forge
libsqlite                 3.45.1               h091b4b1_0    conda-forge
libssh2                   1.11.0               h7a5bd25_0    conda-forge
libtasn1                  4.19.0               h1a8c8d9_0    conda-forge
libtiff                   4.6.0                ha8a6c65_2    conda-forge
libvorbis                 1.3.7                h9f76cd9_0    conda-forge
libwebp                   1.3.2                hf30222e_1    conda-forge
libwebp-base              1.3.2                hb547adb_0    conda-forge
libxml2                   2.12.5               h0d0cfa8_0    conda-forge
libxslt                   1.1.39               h223e5b9_0    conda-forge
libzip                    1.10.1               ha0bc3c6_3    conda-forge
libzlib                   1.2.13               h53f4e23_5    conda-forge
llvm-openmp               17.0.6               hcd81f8e_0    conda-forge
lxml                      5.1.0           py312h9bf3b9e_0    conda-forge
lz4-c                     1.9.4                hb7217d7_0    conda-forge
lzo                       2.10              h642e427_1000    conda-forge
markupsafe                2.1.5           py312he37b823_0    conda-forge
metis                     5.1.0             h13dd4ca_1007    conda-forge
minizip                   4.0.4                hc35e051_0    conda-forge
mock                      5.1.0              pyhd8ed1ab_0    conda-forge
mpfr                      4.2.1                h9546428_0    conda-forge
mysql-common              8.0.33               hf9e6398_6    conda-forge
mysql-libs                8.0.33               he3dca8b_6    conda-forge
ncurses                   6.4                  h463b476_2    conda-forge
nitro                     2.7.dev8             h13dd4ca_0    conda-forge
nose2                     0.9.2                      py_0    conda-forge
nspr                      4.35                 hb7217d7_0    conda-forge
nss                       3.98                 h5ce2875_0    conda-forge
numpy                     1.26.4          py312h8442bc7_0    conda-forge
openjpeg                  2.5.0                h4c1507b_3    conda-forge
openssl                   3.2.1                h0d3ecfb_0    conda-forge
owslib                    0.29.3             pyhd8ed1ab_0    conda-forge
packaging                 23.2               pyhd8ed1ab_0    conda-forge
pcre2                     10.42                h26f9a81_0    conda-forge
pdal                      2.6.3                h3c564ca_2    conda-forge
pip                       24.0               pyhd8ed1ab_0    conda-forge
pixman                    0.43.2               hebf3989_0    conda-forge
plotly                    5.19.0             pyhd8ed1ab_0    conda-forge
ply                       3.11                       py_1    conda-forge
poppler                   24.02.0              h896e6cb_0    conda-forge
poppler-data              0.4.12               hd8ed1ab_0    conda-forge
postgresql                16.2                 h1d0603d_0    conda-forge
proj                      9.3.1                h93d94ba_0    conda-forge
psycopg2                  2.9.9           py312h84485f8_0    conda-forge
pygments                  2.17.2             pyhd8ed1ab_0    conda-forge
pyparsing                 3.1.1              pyhd8ed1ab_0    conda-forge
pyproj                    3.6.1           py312h4d912e0_5    conda-forge
pyqt                      5.15.9          py312h550cae4_5    conda-forge
pyqt5-sip                 12.12.2         py312h9f69965_5    conda-forge
pyqtwebkit                5.15.9          py312h14105d7_2    conda-forge
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
python                    3.12.2          hdf0ec26_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python_abi                3.12                    4_cp312    conda-forge
pytz                      2024.1             pyhd8ed1ab_0    conda-forge
pyyaml                    6.0.1           py312h02f2b3b_1    conda-forge
qca                       2.3.8                hbd3fef1_0    conda-forge
qgis                      3.36.0          py312h83a15e3_0    conda-forge
qjson                     0.9.0             haa19703_1009    conda-forge
qscintilla2               2.14.1          py312h14105d7_0    conda-forge
qt-main                   5.15.8              h6bf1bb6_19    conda-forge
qtkeychain                0.14.2               h50bd4b1_0    conda-forge
qtwebkit                  5.212               ha51050e_16    conda-forge
qwt                       6.2.0                haa19703_6    conda-forge
re2                       2023.06.02           h6135d0a_0    conda-forge
readline                  8.2                  h92ec313_1    conda-forge
requests                  2.31.0             pyhd8ed1ab_0    conda-forge
setuptools                69.0.3             pyhd8ed1ab_0    conda-forge
sip                       6.7.12          py312h650e478_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
snappy                    1.1.10               h17c5cce_0    conda-forge
sqlite                    3.45.1               hf2abe2d_0    conda-forge
suitesparse               5.10.1               h79486c6_3    conda-forge
tbb                       2021.11.0            h2ffa867_1    conda-forge
tenacity                  8.2.3              pyhd8ed1ab_0    conda-forge
tiledb                    2.20.0               h1456d97_1    conda-forge
tk                        8.6.13               h5083fa2_1    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
tzcode                    2024a                h93a5062_0    conda-forge
tzdata                    2024a                h0c530f3_0    conda-forge
uriparser                 0.9.7                hb7217d7_1    conda-forge
urllib3                   2.2.0              pyhd8ed1ab_0    conda-forge
wheel                     0.42.0             pyhd8ed1ab_0    conda-forge
xerces-c                  3.2.5                hf393695_0    conda-forge
xz                        5.2.6                h57fd34a_0    conda-forge
yaml                      0.2.5                h3422bc3_2    conda-forge
zlib                      1.2.13               h53f4e23_5    conda-forge
zstd                      1.5.5                h4f39d0f_0    conda-forge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants