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

ProxySchemeUnknown error blocks service connection #11

Closed
mandsch opened this issue Mar 8, 2016 · 3 comments
Closed

ProxySchemeUnknown error blocks service connection #11

mandsch opened this issue Mar 8, 2016 · 3 comments

Comments

@mandsch
Copy link

mandsch commented Mar 8, 2016

Hi,

installed the plugin from QGIS 2.14 on Win7 (v 0.2.9). I cannot connect to any CKAN server neither on the internet nor in our intranet. I get this error in the log:

URL: http://ckan.data.ktn.gv.at/api/3/
api request: http://ckan.data.ktn.gv.at/api/3/action/group_list?all_fields=true
Unerwarteter Fehler beim Request: < class 'CKANBrowser.request.packages.urllib3.exceptions.ProxySchemeUnknown' >

I'm behind a proxy, but other internal and external services such as WxS or CSW work without problems.
In QGIS I have configured a HttpProxy in network settings.

Thanks, Michael

@wilhelmberg
Copy link
Collaborator

Hi Michael,

parsing of proxy settings seems to be faulty.

Please help verify and change back to your original settings afterwards.


Run this in the Python console:

from PyQt4.QtCore import QSettings
s = QSettings()
s.setValue("proxy/proxyUser", None)
s.setValue("proxy/proxyPassword", None )

Then change proxy settings:

  • Host: enter fully qualified proxy URL, e.g. http://<PROXY_USER>:<PROXY_PWD>@<PROXY_IP>
  • If your proxy doesn't need authentication, just http://<PROXY_IP>
  • Port: leave as is
  • User, Password: don't click or enter anything

Does CKAN Browser work now?

@mandsch
Copy link
Author

mandsch commented Mar 9, 2016

Hi,

thanks for your answer, unfortunately it didn't work, but changed sth.:

  1. change proxy settings through python console
  2. adapt ProxyHost settings through GUI/options/Network, putting username and pw in the host string:

2016-03-09T14:32:48 1 URL: http://ckan.data.ktn.gv.at/api/3/
2016-03-09T14:32:48 1 api request: http://ckan.data.ktn.gv.at/api/3/action/group_list?all_fields=true
2016-03-09T14:32:50 1 Unerwarteter Fehler beim Request: <class 'CKANBrowser.request.exceptions.ConnectionError'>

Any ideas?

@mandsch
Copy link
Author

mandsch commented Mar 9, 2016

sorry, missing the error code:
Unerwarteter Fehler beim Request: <class 'CKANBrowser.request.exceptions.ConnectionError'>

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

2 participants