[GeoNode-users] 502 Bad Gateway

Ramesh De Silva desilvarami at gmail.com
Tue Sep 27 21:39:09 PDT 2022


I've installed GeoNode 4.X on Ubuntu 22.04 Server OS. The system is
installed in a virtual private server. I used the GeoNode Core Advanced
Installation Guide. All the commands were successfully executed. All
services such as tomcat9, ngnix, uwsgi, postgres are active. I have already
configured the public IP in geonode.ini etc. But when I try to access the
GeoNode, I get *502 Bad Gateway* error. I can access the GeoServer from the
configured IP.

When I check the error logs, I see the following error (*ngnix errror.log*).

"*2022/09/28 04:20:44 [error] 42102#42102: *99 connect() failed (111:
Connection refused) while connecting to upstream, client:,
server:, request: "GET / HTTP/1.1", upstream:
"uwsgi:// <>", host: "*"

*ngnix* *access.log*
"* - - [28/Sep/2022:04:23:16 +0000] "GET / HTTP/1.1" 502 166
"-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101
* - - [28/Sep/2022:04:23:30 +0000] "GET /geoserver/web/
HTTP/1.1" 200 2589 "
<>" "Mozilla/5.0 (Windows NT 10.0;
Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0*"

"  *File
line 84, in _execute*

*    return self.cursor.execute(sql,
params)django.db.utils.ProgrammingError: relation "monitoring_host" does
not existLINE 1: ...oring_host"."ip", "monitoring_host"."active" FROM
"monitorin...  *

*unable to load app 0 (mountpoint='') (callable not found or import
error)*** no app loaded. GAME OVER ****"

This IP is not open to outside yet.

Kindly help resolve this issue.
Thank you.

Kind Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20220928/cc23e5ec/attachment.htm>

More information about the geonode-users mailing list