geonode icon indicating copy to clipboard operation
geonode copied to clipboard

Unable to upload data to geonode

Open KoriPatience opened this issue 2 years ago • 5 comments

Expected Behavior

After uploading the shapefile i will be able to view it and add styling and metadata

Actual Behavior

I am not able to upload the shapefile in geonode. The following error appears:

Unexpected error!-Unknown error code.Contact the system administrator for more information regarding this error message. Additional info: [Client Error: Bad Request Unexpected Exception HTTP ConnectionPool (host='geoserver', port = 8080): Max retries exceeded with url:/geoserver/rest/workspaces.xml (Caused by NewConnectionError (': Failed to establish a new connection: [Errno 111] Connection refused'))]

Steps to Reproduce the Problem

Specifications

  • GeoNode version: 3.2.4

  • Installation method (manual, GeoNode Docker, SPCGeoNode Docker): Geonode Docker

  • Platform: ssh

  • Additional details:

KoriPatience avatar May 19 '22 08:05 KoriPatience

Screenshot (85)

KoriPatience avatar May 19 '22 14:05 KoriPatience

Screenshot (85)

This is the error that i get

KoriPatience avatar May 19 '22 14:05 KoriPatience

I have encountered the same issue while uploading geojson file.

geogeek11 avatar May 19 '22 18:05 geogeek11

I suspect I'm experiencing the same issue. If I try to curl the URL that fails (according to the logs) from the container (using podman exec -it ... I can get the info without problems. It doesn't make sense for me that it times out.

In the browser I noticed that I can see my uploaded layers in geoserver without problems, however if I try to visit the layer preview list it times out (or perhaps it creates a redirection loop). So I'm suspecting it is actually a problem of how the authentication between geonode and geoserver works (or doesn't)

categulario avatar Sep 05 '22 23:09 categulario

@geogeek11 can you access your geoserver? have you been able to access using the star button next to the login form (oauth)?

categulario avatar Sep 05 '22 23:09 categulario

Closing this since Geonode 3.3 is no longer mantained and the import flow in the >=4.1.x is changed

mattiagiupponi avatar Feb 02 '24 15:02 mattiagiupponi