neopostmodern / structure

Structure is a knowledge management tool
https://structure.love
GNU Affero General Public License v3.0
17 stars 0 forks source link

Status page: Backend health check does not detect database outage #243

Open neopostmodern opened 2 weeks ago

neopostmodern commented 2 weeks ago

When using the actual application I got

Error: Error finding [...]: connect ECONNREFUSED 127.0.0.1:27017
    at /home/structure/backend/server/node_modules/connect-mongodb-session/index.js:136:21
    at /home/structure/backend/server/node_modules/mongodb/lib/utils.js:349:66

while the status page said the backend health check was fine (it should connect to the DB though). MongoDB was most likely down at this moment.