Dear all,
how can I avoid the following error?
Could not list layers for this store, an error occurred retrieving them: Server returned HTTP response code: 407 for URL: http://wms.lizardtech.com/lizardtech/iserv/ows?REQUEST=GetCapabilities&VERSION=1.3.0&SERVICE=WMS
I have added -Dhttp.proxyHost and -Dhttp.proxyPort to JAVA_OPTS in catalina.sh but I am not able to store my username and password for authentication
Thanks
···
Marianna Borriello
Solution Developer
Direzione Innovazione Tecnologica
marianna.borriello@anonymised.com
Engineering Ingegneria Informatica spa
Via Terragneta, 90 - 80058 Torre Annunziata (Na)
Tel. +39-081.862 68 65
Fax. +39-081.862 68 19
www.eng.it
On Thu, May 19, 2011 at 5:18 PM, Marianna Borriello <marianna.borriello@anonymised.com> wrote:
Dear all,
how can I avoid the following error?
Could not list layers for this store, an error occurred retrieving them: Server returned HTTP response code: 407 for URL: http://wms.lizardtech.com/lizardtech/iserv/ows?REQUEST=GetCapabilities&VERSION=1.3.0&SERVICE=WMS
I have added -Dhttp.proxyHost and -Dhttp.proxyPort to JAVA_OPTS in catalina.sh but I am not able to store my username and password for authentication
Yep, looks like it’s a proxy auth issue:
http://www.checkupdown.com/status/E407.html
Ah, it looks that some code modifications are needed in order to go through a
proxy that requires authentication, see here:
http://blog.vinodsingh.com/2008/05/proxy-authentication-in-java.html
Open an improvement report on jira.codeahaus.org for the geotools wms module.
If you need the change to become part of the official source code I’d suggest you
also attach a patch fixing the issue (you have the right enviroment to test it,
I am directly connected to the net instead).
Cheers
Andrea
–
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
On Thu, May 19, 2011 at 5:01 PM, Marianna Borriello <marianna.borriello@anonymised.com> wrote:
I’m trying to cascade the wms of my running geoserver (i.e. the same wms url of my geoserver)
GS cascading itself? No wonder it does not work, it’s not meant to, on startup all the stores
are checked for connectivity, but at that point the wms is still not available, so that will fail.
Cheers
Andrea
–
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
On 19 May 2011 11:01, Marianna Borriello <marianna.borriello@anonymised.com> wrote:
I'm trying to cascade the wms of my running geoserver (i.e. the same wms url
of my geoserver)
Out of interest, why? This does nothing but add to the load on your server.
Ian
--
Ian Turton