Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal server error on startup causing Node-RED crash #110

Open
skylord123 opened this issue Jan 6, 2024 · 0 comments
Open

Internal server error on startup causing Node-RED crash #110

skylord123 opened this issue Jan 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@skylord123
Copy link
Contributor

Seems if the matrix server throws an error Node-RED will fail to start. This happened because my server ran out of space crashing PostgreSQL which then brought down Matrix and Node-RED.

Welcome to Node-RED
===================
5 Jan 20:34:07 - [info] Node-RED version: v3.1.3
5 Jan 20:34:07 - [info] Node.js  version: v18.19.0
5 Jan 20:34:07 - [info] Linux 6.1.64-Unraid x64 LE
5 Jan 20:34:08 - [info] Loading palette nodes
...
5 Jan 20:34:20 - [info] Settings file  : /data/settings.js
5 Jan 20:34:20 - [info] Context store  : 'default' [module=memory]
5 Jan 20:34:20 - [info] User directory : /data
5 Jan 20:34:20 - [info] Projects directory: /data/projects
5 Jan 20:34:20 - [info] Server now running at http://127.0.0.1:1880/
5 Jan 20:34:20 - [info] Flows file     : /data/projects/node-red-home-automation/flows.json
5 Jan 20:34:21 - [info] Starting flows
5 Jan 20:34:21 - [info] [matrix-server-config:@xxx] Initializing Matrix Server Config node
5 Jan 20:34:21 - [info] [matrix-server-config:@xxx] Initializing Matrix Server Config node
5 Jan 20:34:22 - [info] Started flows
5 Jan 20:34:23 - [info] [matrix-server-config:@xxx] Initializing crypto...
5 Jan 20:34:23 - [info] [matrix-server-config:@xxx] Connecting to Matrix server...
5 Jan 20:34:23 - [info] [matrix-server-config:@xxx] Connecting to Matrix server...
5 Jan 20:34:23 - [error] M_UNKNOWN: MatrixError: [500] Internal server error (https://matrix.skylar.tech/_matrix/client/r0/keys/upload)
    at parseErrorResponse (/data/node_modules/matrix-js-sdk/lib/http-api/utils.js:81:12)
    at MatrixHttpApi.requestOtherUrl (/data/node_modules/matrix-js-sdk/lib/http-api/fetch.js:260:44)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
5 Jan 20:34:25 - [info] 
@skylord123 skylord123 added the bug Something isn't working label Jan 6, 2024
@skylord123 skylord123 self-assigned this Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant