MoinApp / moinapp-server

The server for MoinApp
http://moinapp.herokuapp.com
GNU General Public License v3.0
0 stars 0 forks source link

Application fails to run on Heroku #13

Closed sgade closed 3 years ago

sgade commented 3 years ago

Heroku has been keeping this app running for a long time but now there is some kind of "Application error" image

sgade commented 3 years ago

The error is:

021-10-20T08:18:46.325088+00:00 heroku[web.1]: State changed from crashed to starting
2021-10-20T08:18:48.363612+00:00 heroku[web.1]: Starting process with command `node lib`
2021-10-20T08:18:50.260280+00:00 app[web.1]: GCM Push running.
2021-10-20T08:18:50.262559+00:00 app[web.1]: APN feedback service started.
2021-10-20T08:18:50.262602+00:00 app[web.1]: APN Push running.
2021-10-20T08:18:50.291944+00:00 app[web.1]: MoinWebSocketServer running.
2021-10-20T08:18:50.293277+00:00 app[web.1]: Server started on port 36043.
2021-10-20T08:18:50.337572+00:00 app[web.1]:
2021-10-20T08:18:50.337610+00:00 app[web.1]: events.js:72
2021-10-20T08:18:50.337799+00:00 app[web.1]: throw er; // Unhandled 'error' event
2021-10-20T08:18:50.337825+00:00 app[web.1]: ^
2021-10-20T08:18:50.338847+00:00 app[web.1]: error: no pg_hba.conf entry for host "52.213.75.124", user "jibkpjpiuovrct", database "d11qbmvn9mb5u2", SSL off
2021-10-20T08:18:50.338851+00:00 app[web.1]: at [object Object].Connection.parseE (/app/node_modules/pg/lib/connection.js:526:11)
2021-10-20T08:18:50.338851+00:00 app[web.1]: at [object Object].Connection.parseMessage (/app/node_modules/pg/lib/connection.js:356:17)
2021-10-20T08:18:50.338854+00:00 app[web.1]: at Socket.<anonymous> (/app/node_modules/pg/lib/connection.js:105:22)
2021-10-20T08:18:50.338855+00:00 app[web.1]: at Socket.emit (events.js:95:17)
2021-10-20T08:18:50.338855+00:00 app[web.1]: at Socket.<anonymous> (_stream_readable.js:764:14)
2021-10-20T08:18:50.338855+00:00 app[web.1]: at Socket.emit (events.js:92:17)
2021-10-20T08:18:50.338856+00:00 app[web.1]: at emitReadable_ (_stream_readable.js:426:10)
2021-10-20T08:18:50.338856+00:00 app[web.1]: at emitReadable (_stream_readable.js:422:5)
2021-10-20T08:18:50.338856+00:00 app[web.1]: at readableAddChunk (_stream_readable.js:165:9)
2021-10-20T08:18:50.338856+00:00 app[web.1]: at Socket.Readable.push (_stream_readable.js:127:10)
2021-10-20T08:18:50.338857+00:00 app[web.1]: at TCP.onread (net.js:528:21)
sgade commented 3 years ago

Let's just leave it as-is.