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

proxyserver problem #7

Open
PeterDorsman opened this issue Mar 20, 2019 · 0 comments
Open

proxyserver problem #7

PeterDorsman opened this issue Mar 20, 2019 · 0 comments

Comments

@PeterDorsman
Copy link

Dear warrieka,

We aren't able to retrieve any information from web services with the use of the plug-in on our company network. My ICT-department told me this is because we use a proxy server for the communication with the internet.

I hope you are able to fix this.

If you need more information please let me know.

Below here an example of when I ask for information from a wfs webserver. This gives the following error:
2019-03-20T13:16:14 CRITICAL Error :
2019-03-20T13:16:27 WARNING Python fout : Er is een fout opgetreden bij het uitvoeren van Python code: Bekijk berichtenlog (Python Error) voor meer details.

2019-03-20T13:16:27 WARNING Traceback (most recent call last):
File "C:\QGIS360\apps\Python37\lib\urllib\request.py", line 1317, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "C:\QGIS360\apps\Python37\lib\http\client.py", line 1229, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\QGIS360\apps\Python37\lib\http\client.py", line 1275, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\QGIS360\apps\Python37\lib\http\client.py", line 1224, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\QGIS360\apps\Python37\lib\http\client.py", line 1016, in _send_output
self.send(msg)
File "C:\QGIS360\apps\Python37\lib\http\client.py", line 956, in send
self.connect()
File "C:\QGIS360\apps\Python37\lib\http\client.py", line 1384, in connect
super().connect()
File "C:\QGIS360\apps\Python37\lib\http\client.py", line 928, in connect
(self.host,self.port), self.timeout, self.source_address)
File "C:\QGIS360\apps\Python37\lib\socket.py", line 727, in create_connection
raise err
File "C:\QGIS360\apps\Python37\lib\socket.py", line 716, in create_connection
sock.connect(sa)
ConnectionRefusedError: [WinError 10061] Kan geen verbinding maken omdat de doelcomputer de verbinding actief heeft geweigerd

         During handling of the above exception, another exception occurred:
         
         Traceback (most recent call last):
          File "C:/Users/XXXXXXX/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\inspireNL\dataCatalog.py", line 271, in addWFS
          wfsinfo = metadata.getWFSLayerNames( self.wfs, self.s.proxyUrl )
          File "C:/Users/XXXXXXX/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\inspireNL\metadataParser.py", line 319, in getWFSLayerNames
          responseWFS = opener.open(capability, timeout=timeout)
          File "C:\QGIS360\apps\Python37\lib\urllib\request.py", line 525, in open
          response = self._open(req, data)
          File "C:\QGIS360\apps\Python37\lib\urllib\request.py", line 543, in _open
          '_open', req)
          File "C:\QGIS360\apps\Python37\lib\urllib\request.py", line 503, in _call_chain
          result = func(*args)
          File "C:\QGIS360\apps\Python37\lib\urllib\request.py", line 1360, in https_open
          context=self._context, check_hostname=self._check_hostname)
          File "C:\QGIS360\apps\Python37\lib\urllib\request.py", line 1319, in do_open
          raise URLError(err)
         urllib.error.URLError: 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant