[GeoNode-users] No route to host

Israel López asralf at gmail.com
Tue Jun 28 11:26:47 PDT 2016


Good day dear devs, I'm having troubles with upload
a shape file in a production environment, the apache
error.log is:

[Tue Jun 28 13:13:32.341541 2016] [:error] [pid 9762:tid 139855292634880]
[Errno 113] No route to host
[Tue Jun 28 13:13:32.341647 2016] [:error] [pid 9762:tid 139855292634880]
Traceback (most recent call last):
[Tue Jun 28 13:13:32.341656 2016] [:error] [pid 9762:tid 139855292634880]
File "/var/www/html/idegeo24/geonode/layers/views.py", line 166, in
layer_upload
[Tue Jun 28 13:13:32.341664 2016] [:error] [pid 9762:tid 139855292634880]
  title=form.cleaned_data["layer_title"],
[Tue Jun 28 13:13:32.341670 2016] [:error] [pid 9762:tid 139855292634880]
File "/var/www/html/idegeo24/geonode/layers/utils.py", line 470, in
file_upload
[Tue Jun 28 13:13:32.341677 2016] [:error] [pid 9762:tid 139855292634880]
  defaults=defaults
[Tue Jun 28 13:13:32.341683 2016] [:error] [pid 9762:tid 139855292634880]
File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py",
line 154, in get_or_create
[Tue Jun 28 13:13:32.341690 2016] [:error] [pid 9762:tid 139855292634880]
  return self.get_queryset().get_or_create(**kwargs)
[Tue Jun 28 13:13:32.341696 2016] [:error] [pid 9762:tid 139855292634880]
File "/usr/local/lib/python2.7/dist-packages/modeltranslation/manager.py",
line 341, in get_or_create
[Tue Jun 28 13:13:32.341703 2016] [:error] [pid 9762:tid 139855292634880]
  return super(MultilingualQuerySet, self).get_or_create(**kwargs)
[Tue Jun 28 13:13:32.341709 2016] [:error] [pid 9762:tid 139855292634880]
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py",
line 383, in get_or_create
[Tue Jun 28 13:13:32.341716 2016] [:error] [pid 9762:tid 139855292634880]
  obj.save(force_insert=True, using=self.db)
[Tue Jun 28 13:13:32.341722 2016] [:error] [pid 9762:tid 139855292634880]
File
"/usr/local/lib/python2.7/dist-packages/polymorphic/polymorphic_model.py",
line 90, in save
[Tue Jun 28 13:13:32.341729 2016] [:error] [pid 9762:tid 139855292634880]
  return super(PolymorphicModel, self).save(*args, **kwargs)
[Tue Jun 28 13:13:32.341735 2016] [:error] [pid 9762:tid 139855292634880]
File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py",
line 545, in save
[Tue Jun 28 13:13:32.341741 2016] [:error] [pid 9762:tid 139855292634880]
  force_update=force_update, update_fields=update_fields)
[Tue Jun 28 13:13:32.341748 2016] [:error] [pid 9762:tid 139855292634880]
File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py",
line 569, in save_base
[Tue Jun 28 13:13:32.341754 2016] [:error] [pid 9762:tid 139855292634880]
  update_fields=update_fields)
[Tue Jun 28 13:13:32.341760 2016] [:error] [pid 9762:tid 139855292634880]
File
"/usr/local/lib/python2.7/dist-packages/django/dispatch/dispatcher.py",
line 185, in send
[Tue Jun 28 13:13:32.341767 2016] [:error] [pid 9762:tid 139855292634880]
  response = receiver(signal=self, sender=sender, **named)
[Tue Jun 28 13:13:32.341773 2016] [:error] [pid 9762:tid 139855292634880]
File "/var/www/html/idegeo24/geonode/geoserver/signals.py", line 74, in
geoserver_pre_save
[Tue Jun 28 13:13:32.341779 2016] [:error] [pid 9762:tid 139855292634880]
  charset=instance.charset)
[Tue Jun 28 13:13:32.341785 2016] [:error] [pid 9762:tid 139855292634880]
File "/var/www/html/idegeo24/geonode/geoserver/helpers.py", line 1190, in
geoserver_upload
[Tue Jun 28 13:13:32.341807 2016] [:error] [pid 9762:tid 139855292634880]
  sld = get_sld_for(publishing)
[Tue Jun 28 13:13:32.341813 2016] [:error] [pid 9762:tid 139855292634880]
File "/var/www/html/idegeo24/geonode/geoserver/helpers.py", line 189, in
get_sld_for
[Tue Jun 28 13:13:32.341818 2016] [:error] [pid 9762:tid 139855292634880]
  name = layer.default_style.name if layer.default_style is not None else
"point"
[Tue Jun 28 13:13:32.341824 2016] [:error] [pid 9762:tid 139855292634880]
File "/usr/local/lib/python2.7/dist-packages/geoserver/layer.py", line 103,
in _get_default_style
[Tue Jun 28 13:13:32.341830 2016] [:error] [pid 9762:tid 139855292634880]
  return self._resolve_style(element) if element is not None else None
[Tue Jun 28 13:13:32.341835 2016] [:error] [pid 9762:tid 139855292634880]
File "/usr/local/lib/python2.7/dist-packages/geoserver/layer.py", line 111,
in _resolve_style
[Tue Jun 28 13:13:32.341841 2016] [:error] [pid 9762:tid 139855292634880]
  return self.catalog.get_style_by_url(style_workspace_url)
[Tue Jun 28 13:13:32.341846 2016] [:error] [pid 9762:tid 139855292634880]
File "/usr/local/lib/python2.7/dist-packages/geoserver/catalog.py", line
798, in get_style_by_url
[Tue Jun 28 13:13:32.341851 2016] [:error] [pid 9762:tid 139855292634880]
  dom = self.get_xml(style_workspace_url)
[Tue Jun 28 13:13:32.341857 2016] [:error] [pid 9762:tid 139855292634880]
File "/usr/local/lib/python2.7/dist-packages/geoserver/catalog.py", line
211, in get_xml
[Tue Jun 28 13:13:32.341862 2016] [:error] [pid 9762:tid 139855292634880]
  response, content = self.http.request(rest_url)
[Tue Jun 28 13:13:32.341867 2016] [:error] [pid 9762:tid 139855292634880]
File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1569, in
request
[Tue Jun 28 13:13:32.341873 2016] [:error] [pid 9762:tid 139855292634880]
  (response, content) = self._request(conn, authority, uri, request_uri,
method, body, headers, redirections, cach$
[Tue Jun 28 13:13:32.341879 2016] [:error] [pid 9762:tid 139855292634880]
File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1316, in
_request
[Tue Jun 28 13:13:32.341885 2016] [:error] [pid 9762:tid 139855292634880]
  (response, content) = self._conn_request(conn, request_uri, method, body,
headers)
[Tue Jun 28 13:13:32.341890 2016] [:error] [pid 9762:tid 139855292634880]
File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1289, in
_conn_request
[Tue Jun 28 13:13:32.341895 2016] [:error] [pid 9762:tid 139855292634880]
  conn.connect()
[Tue Jun 28 13:13:32.341901 2016] [:error] [pid 9762:tid 139855292634880]
File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 912, in
connect
[Tue Jun 28 13:13:32.341906 2016] [:error] [pid 9762:tid 139855292634880]
  raise socket.error, msg
[Tue Jun 28 13:13:32.341911 2016] [:error] [pid 9762:tid 139855292634880]
error: [Errno 113] No route to host


I'm running Geoserver 2.5.1 with geonode 2.4, I don't know if this could be
the trouble.

Any advice is welcome.

Thank you in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160628/ea981635/attachment.html>


More information about the geonode-users mailing list