Skip to content

Instantly share code, notes, and snippets.

@sbenthall
Created June 9, 2011 17:38
Show Gist options
  • Save sbenthall/1017257 to your computer and use it in GitHub Desktop.
Save sbenthall/1017257 to your computer and use it in GitHub Desktop.
(geonode)sb@lebenswelt:~/work/geonode/develop/geonode$ django-admin.py updatelayers --settings=geonode.settings
Traceback (most recent call last):
File "/home/sb/work/geonode/develop/geonode/bin/django-admin.py", line 5, in <module>
management.execute_from_command_line()
File "/home/sb/work/geonode/develop/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", line 429, in execute_from_command_line
utility.execute()
File "/home/sb/work/geonode/develop/geonode/lib/python2.6/site-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/sb/work/geonode/develop/geonode/lib/python2.6/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/home/sb/work/geonode/develop/geonode/lib/python2.6/site-packages/django/core/management/base.py", line 218, in execute
output = self.handle(*args, **options)
File "/home/sb/work/geonode/develop/geonode/src/GeoNodePy/geonode/maps/management/commands/updatelayers.py", line 11, in handle
Layer.objects.slurp()
File "/home/sb/work/geonode/develop/geonode/src/GeoNodePy/geonode/maps/models.py", line 600, in slurp
for resource in cat.get_resources():
File "/home/sb/work/geonode/develop/geonode/src/gsconfig.py/src/geoserver/catalog.py", line 340, in get_resources
for ws in self.get_workspaces():
File "/home/sb/work/geonode/develop/geonode/src/gsconfig.py/src/geoserver/catalog.py", line 426, in get_workspaces
description = self.get_xml("%s/workspaces.xml" % self.service_url)
File "/home/sb/work/geonode/develop/geonode/src/gsconfig.py/src/geoserver/catalog.py", line 108, in get_xml
raise FailedRequestError("Tried to make a GET request to %s but got a %d status code: \n%s" % (url, response.status, content))
geoserver.catalog.FailedRequestError: Tried to make a GET request to http://localhost:8001/geoserver/rest/workspaces.xml but got a 401 status code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 401 Communication with GeoNode failed; nested exception is java.net.SocketTimeoutException: Read timed out</title>
</head>
<body><h2>HTTP ERROR: 401</h2><pre>Communication with GeoNode failed; nested exception is java.net.SocketTimeoutException: Read timed out</pre>
<p>RequestURI=/geoserver/rest/workspaces.xml</p><p><i><small><a href="http://jetty.mortbay.org/">Powered by Jetty://</a></small></i></p><br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment