Closed gabrielbonifaz closed 4 years ago
This is not a bug, you just need to provide the correct GeoServer configuration.
Please read the configuration carefully
It was right... I performed a better configuration for geoserver, the layer is already uploaded in geoserver but I get the following error in geonode
@gabrielbonifaz still something is wrong with your geoserver settings.
I been looking my geoserver settings several times, but I didn't get the error. This is my error log of nginx, something is wrong with the static root archives. The error says that it doesn't appear the files but it does in my archives. I don't know whats is wrong, if you can help me I will appreciate. Additionally, I attached my uwsgi and nginx configuration.
2020/06/15 15:12:45 [error] 30372#30372: 7 open() "/opt/geonode-master/geonode/static_root/lib/js/underscore.js.map" failed (2: No such file or directory), client: 19$ 2020/06/15 15:22:39 [error] 30372#30372: 9 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 190.12.31.162, server: $
@gabrielbonifaz Your screenshot showed passwords and secrets that's why I've deleted it. I saw you changed the port to 90 this could be the place where the confusion is happening.
Thanks about it, I didn't realize it. Yes, actually, I changed the geonode port to 90 and the geoserver port to 8081, but like I said it I was looking my geoserver configuration and everything seems to be ok. I don't know where the problem could be. Is there something that I could be missing?
@gabrielbonifaz so as stated on the issue you performed manual setup, is that right?
Taking a quick look at your setup and I noticed this
It looks to me that at least you provided a wrong GEOSERVER_PUBLIC_LOCATION
setting.
Moreover, if you enabled the EMAIL
be sure GeoNode is able to connect to the SMTP service.
Trying to perform a login into your system, even providing random credentials, it looks like it is waiting for a timeout. This should not happen normally.
@gabrielbonifaz did you considered to use docker setup instead?
Trying to configure GeoNode manually could be tricky if you don't have experience with that.
I have the same configuration in a ubuntu virtual machine 18.04 and everything runs fine. That is the reason I didn´t get what could be the problem
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Expected Behavior
Upload a layer or create layer without errors
Actual Behavior
Client Error: Bad Request Unexpected exception HTTPConnectionPool(host='170.244.208.202', port=90): Max retries exceeded with url: /geoserver/rest/workspaces.xml (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',))
Aditionaly the console shows the following erros:
Failed to load resource: the server responded with a status of 400 (Bad Request)
DevTools failed to load SourceMap: Could not load content for http://170.244.208.202:90/static/lib/js/underscore.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Steps to Reproduce the Problem
Specifications