geosolutions-it / MapStore

The code of the most recent version of mapstore is hosted as geosolutions-it/MapStore2
https://github.com/geosolutions-it/MapStore2
GNU General Public License v3.0
31 stars 43 forks source link

Fail to open WMS with 301 redirection #825

Closed robsgnao closed 8 years ago

robsgnao commented 8 years ago

MapStore cannot open a WMS where a permanent redirection is performed (HTTP code 301); e.g. http://emis.jrc.ec.europa.eu/webservices/4km/wms/modisa?dataset=aph . Error returned: The WMS Capabilities cannot be added due to problems server side - Invalid capabilities document.

offtherailz commented 8 years ago

This issue is caused by this problem in the proxy. https://github.com/geosolutions-it/http-proxy/issues/35 The HTTP code 301 is not manged by the proxy.