[GeoNode-users] Error uploading WMS layers

Paolo Corti pcorti at gmail.com
Mon Apr 13 12:43:44 PDT 2015


I assume you are collecting the WMS with GeoNode remote services.
I think spaces in url generates the problem, not sure how they are there.
Try to unadvertize that layer and see if the rest of the process works
If instead you are running updatelayers after cascading, try to see if it
is possible to change tge layer name (cannot remember right now)
p
On Apr 13, 2015 8:48 PM, "Daniela González" <daniela.gonzalez at cigiden.cl>
wrote:

> Dear geonode-users:
> I'm trying to upload layers from a WMS store, wich displayed without
> problems in Geoserver, but when y try to upload in Geonode, gives me the
> following error:
>
> FailedRequestError: Tried to make a GET request to
> http://localhost:8080/geoserver/rest/workspaces/geonode/wmsstores/PRC
> Arica y Parinacota/wmslayers.xml but got a 505 status code:
>
> tail -f /var/log/apache2/error.log
> [Mon Apr 13 14:39:27 2015] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3
> Python/2.7.3 configured -- resuming normal operations
> [Mon Apr 13 13:23:47 2015] [error] Internal Server Error:
> /gs/rest/stores/geogit/
> [Mon Apr 13 13:23:47 2015] [error] Traceback (most recent call last):
> [Mon Apr 13 13:23:47 2015] [error]   File
> "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 115,
> in get_response
> [Mon Apr 13 13:23:47 2015] [error]     response = callback(request,
> *callback_args, **callback_kwargs)
> [Mon Apr 13 13:23:47 2015] [error]   File
> "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/views.py", line
> 9, in stores
> [Mon Apr 13 13:23:47 2015] [error]     stores = get_stores(store_type)
> [Mon Apr 13 13:23:47 2015] [error]   File
> "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line
> 437, in get_stores
> [Mon Apr 13 13:23:47 2015] [error]     store.fetch()
> [Mon Apr 13 13:23:47 2015] [error]   File
> "/usr/lib/python2.7/dist-packages/geoserver/support.py", line 159, in fetch
> [Mon Apr 13 13:23:47 2015] [error]     self.dom =
> self.catalog.get_xml(self.href)
> [Mon Apr 13 13:23:47 2015] [error]   File
> "/usr/lib/python2.7/dist-packages/geoserver/catalog.py", line 188, in
> get_xml
> [Mon Apr 13 13:23:47 2015] [error]     raise FailedRequestError("Tried to
> make a GET request to %s but got a %d status code: \\n%s" % (rest_url,
> response.status, content))
> [Mon Apr 13 13:23:47 2015] [error] FailedRequestError: Tried to make a GET
> request to
> http://localhost:8080/geoserver/rest/workspaces/geonode/wmsstores/PRC
> Arica y Parinacota.xml but got a 505 status code:
> [Mon Apr 13 13:23:47 2015] [error]
>
> Any idea how to solve it?
> Best regards,
>
>
> *Daniela *
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150413/e170eab2/attachment.html>


More information about the geonode-users mailing list