[QGIS-it-user] Plugin cxf_in - errore accesso al database di georeferenzazione

Ludovico Frate ludovicofrate a hotmail.it
Mer 17 Nov 2021 02:17:44 PST


Ciao Andrea, grazie per la risposta. Ho modificato il codice python. Sembra essere un errore di certificato SSL
Tuttavia dal browser riesco a loggarmi con le credenziali che ho (vengo riconosciuto come utente)


2021-11-17T11:15:54     WARNING    Traceback (most recent call last):
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\urllib\request.py", line 1317, in do_open
              encode_chunked=req.has_header('Transfer-encoding'))
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\http\client.py", line 1229, in request
              self._send_request(method, url, body, headers, encode_chunked)
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\http\client.py", line 1275, in _send_request
              self.endheaders(body, encode_chunked=encode_chunked)
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\http\client.py", line 1224, in endheaders
              self._send_output(message_body, encode_chunked=encode_chunked)
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\http\client.py", line 1016, in _send_output
              self.send(msg)
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\http\client.py", line 956, in send
              self.connect()
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\http\client.py", line 1392, in connect
              server_hostname=server_hostname)
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\ssl.py", line 412, in wrap_socket
              session=session
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\ssl.py", line 850, in _create
              self.do_handshake()
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\ssl.py", line 1108, in do_handshake
              self._sslobj.do_handshake()
             ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'www.prgcloud.com'. (_ssl.c:1045)

             During handling of the above exception, another exception occurred:

             Traceback (most recent call last):
              File "C:/Users/Pc/AppData/Roaming/QGIS/QGIS3\profiles\Ludovico/python/plugins\Cxf_in\catdialog.py", line 329, in connectgeodb
              with contextlib.closing(urllib.request.urlopen(req)) as x:
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\urllib\request.py", line 222, in urlopen
              return opener.open(url, data, timeout)
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\urllib\request.py", line 525, in open
              response = self._open(req, data)
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\urllib\request.py", line 543, in _open
              '_open', req)
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\urllib\request.py", line 503, in _call_chain
              result = func(*args)
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\urllib\request.py", line 1360, in https_open
              context=self._context, check_hostname=self._check_hostname)
              File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\urllib\request.py", line 1319, in do_open
              raise URLError(err)
             urllib.error.URLError:

             During handling of the above exception, another exception occurred:

             Traceback (most recent call last):
              File "C:/Users/Pc/AppData/Roaming/QGIS/QGIS3\profiles\Ludovico/python/plugins\Cxf_in\catdialog.py", line 334, in connectgeodb
              except urllib.error.URLError as err:
             AttributeError: module 'urllib' has no attribute 'URLError'

Inviato da Posta<https://go.microsoft.com/fwlink/?LinkId=550986> per Windows

-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.osgeo.org/pipermail/qgis-it-user/attachments/20211117/ac4672d6/attachment.html>


Maggiori informazioni sulla lista QGIS-it-user