geonode
geonode copied to clipboard
Unable to upload data to geonode
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:
This is the error that i get
I have encountered the same issue while uploading geojson file.
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)
@geogeek11 can you access your geoserver? have you been able to access using the star button next to the login form (oauth)?
Closing this since Geonode 3.3 is no longer mantained and the import flow in the >=4.1.x is changed