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

QMS error across multiple versions of QGIS "A failure in the SSL library occurred (_ssl.c:1129)" #239

Closed
Bally33 opened this issue Nov 15, 2022 · 5 comments
Labels

Comments

@Bally33
Copy link

Bally33 commented Nov 15, 2022

qms error 2

I have been getting this error across multiple versions of QGIS. Any time a search is done this error message appears. I've tried uninstalling and reinstalling QMS many times but nothing seems to change.

Error of processing! SSLError: HTTPSConnectionPool(host=1qms.nextgis.coml, port=443): Max retries exceeded with url: /api/ vl/geoservices?search=sat (Caused by SSLError(SSLError(1, 'A failure in the SSL library occurred (_ssl.c:1129))))

Any help would be much appreciated!

@simgislab
Copy link
Member

simgislab commented Nov 16, 2022

pinning this issue as this is a common question

Hello, such errors are typically related to connectivity issues on the particular machine:

  • problems with SSL certificates (misconfiguration via environment parameters, outdated/invalid certificates etc.)
  • incorrect/problematic/unset proxy, firewall, VPN settings
  • provider issues or blocking of particular IPs
  • overly protective antiviruses

Few things to check:

  1. Does qms.nextgis.com opens fine in the regular browser on the same machine
  2. Proxy, if present on company network is correctly set in QGIS settings
  3. Try connecting the same machine via different provider (cellphone?) and see the problem persists
  4. VPN, if you have any, try to turn it off

Assorted product titles known to create connectivity issues affecting QMS: Kerio, ZScaler

Generally, these are not QMS issues and typically are dealt with by your company admins.

We can provide more in depth analysis on paid basis. Remote access to the machine might be required.

@simgislab simgislab pinned this issue Nov 16, 2022
@Bally33
Copy link
Author

Bally33 commented Nov 16, 2022

Thanks for the reply,

Yes I turned out the issue was with the corporate VPN.
Disabling the VPN did the trick!
Though I will have to connect with them to find a more favorable work around.

Cheers

@simgislab
Copy link
Member

thanks for feedback, I've updated my list to include VPNs

@faraezaty
Copy link

Report Details

Python Stack Trace

Windows fatal exception: access violation

Current thread 0x0000b3b0 (most recent call first):
  File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\leafletLayerScripts.py", line 511 in buildPointJSON
    slCount = symbol.symbolLayerCount()
  File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\leafletLayerScripts.py", line 422 in pointLayer
    useMultiStyle) = buildPointJSON(symbol, safeLayerName, usedFields,
  File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\leafletLayerScripts.py", line 388 in getLayer
    useMultiStyle) = pointLayer(layer, safeLayerName, interactive,
  File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\leafletLayerScripts.py", line 132 in writeVectorLayer
    useMultiStyle) = getLayer(layer, renderer, safeLayerName, interactive,
  File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\leafletWriter.py", line 277 in writeLeaflet
    useOSMB) = writeVectorLayer(layer, safeLayerName,
  File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\leafletWriter.py", line 94 in write
    self.preview_file = self.writeLeaflet(
  File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\maindialog.py", line 444 in createPreview
    preview_file = writer.write(self.iface, dest_folder=utils.tempFolder()).index_file
  File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\maindialog.py", line 482 in previewMap
    preview_file = self.createPreview()

Stack Trace


QListData::size :
pdal::PointView::layout :
PyLong_FromString :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QObject::qt_static_metacall :
QAbstractButton::clicked :
QAbstractButton::click :
QAbstractButton::mouseReleaseEvent :
PyInit_QtWidgets :
QWidget::event :
PyInit_QtWidgets :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.40.0-Bratislava
QGIS code revision: b56115d874
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.9.3
Running against GDAL: 3.9.3

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.22631

@ivanbarsukov
Copy link
Contributor

Hello @faraezaty! Your log refers to plugin qgis2web, not quickmapservices. If you think this is related to QMS, please describe the context.

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