Bug report #14329
Metasearch Catalog Client: Use behind a proxy with user/password authentification
|Category:||MetaSearch Catalogue Client|
|Affected QGIS version:||2.8.2||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||not reproducable|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||22316|
we are using several QGIS 2.8.2 installations behind a proxy server with authentification. I have an installation of geonetwork within my network (access without proxy) and then there are some useful csw services behind the proxy in the WWW. When i try to use the csw (it doesn't matter, if the csw is in my network or in the internet), the following error message returns: "Unbekanter Fehler: <urlopen error [Erno 11004] getaddrinfo failed>". I try all preset services, my own services and other known csw services. The result is the same.
In Qgis, i set the network parameters to:
host: my local proxy adress
user: my username
password: my password
URL exception: "http://172." (Beginning of my local network)
This work fine with any webservices (WMS, WFS, WPS..) in my intranet and the internet, but not with CSW via the metasearch catalog client.
Do you have any idea?
Thank you for your help!
#2 Updated by Joachim Deutmann over 5 years ago
yes, it is still an issue. I am not able to connect to any catalogservice, who is behind my proxy. The csw, who is within my network (no need to access over the proxy) is also not available with the csw-plugin.
When i check out the proxy (in the network options of qgis), the plugin works for my internal csw (i tested it a few minutes ago), but i can't work generally without the proxy server, so this is not an solution for me and the other users in my company.
It would be very useful for us, if you can solve the problem with the proxy settings.
#3 Updated by Luca Morandini over 5 years ago
Not quite sure it is the same issue, but I am not able to connect to a CSW service that is secured with basic authentication.
Other components in QGIS (such as the WFS connector) give the option of adding username and password to the requests, but not MetaSearch, and encoding credentials in the URL causes MetaSearch to treat the URL as malformed.
#5 Updated by Tom Kralidis about 5 years ago
- Resolution set to not reproducable
Joachim: I am unable to reproduce. In my test environment, I setup a Squid proxy with authentication and I was able to verify that MetaSearch recognizes the proxy and is able to authenticate (and that it can fail the authentication to prove that it's connecting via proxy).
#7 Updated by Joachim Deutmann about 5 years ago
- File screen05.PNG added
- File screen02.PNG added
- File screen01.PNG added
- File screen03.PNG added
- File screen04.PNG added
i think, the problem must stand in relationship with the proxy. I test something:
first i disable the proxyoptions.
then i close and open qgis and open metasearch and then my local csw. It works.
the i enable the proxyoptions.
then i close and open qgis and open metasearch and then my local csw. It doesn't work.
then i try metasearch and one external csw. It doesn't work.