Node-red lost connection

using raspi 3A+ model with 16 gb sdcard
node-red is disconnecting after using firebase node : https://flows.nodered.org/node/node-red-contrib-firebase and getting this
after deploying, for first time getting this message on terminal :

2 Apr 13:00:41 - [info] Started flows
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
nodered.service: Main process exited, code=killed, status=6/ABRT
nodered.service: Failed with result 'signal'.
nodered.service: Service RestartSec=100ms expired, scheduling restart.

and it restarting getting this this :
nodered.service: Main process exited, code=killed, status=11/SEGV
after removing firebase nodes and crendentiels it works fine,
guys please help me.

here is full message:
Starting as a systemd service.
2 Apr 12:48:50 - [info]
Welcome to Node-RED

2 Apr 12:48:50 - [info] Node-RED version: v1.0.4
2 Apr 12:48:50 - [info] Node.js version: v12.16.1
2 Apr 12:48:50 - [info] Linux 4.19.97-v7+ arm LE
2 Apr 12:48:51 - [info] Loading palette nodes
2 Apr 12:48:53 - [info] Settings file : /home/pi/.node-red/settings.js
2 Apr 12:48:53 - [info] Context store : 'default' [module=memory]
2 Apr 12:48:53 - [info] User directory : /home/pi/.node-red
2 Apr 12:48:53 - [warn] Projects disabled : editorTheme.projects.enabled=false
2 Apr 12:48:53 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
2 Apr 12:48:53 - [info] Server now running at http://127.0.0.1:1880/
2 Apr 12:48:53 - [warn]

Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.

2 Apr 12:48:53 - [info] Starting flows
2 Apr 12:48:53 - [info] Started flows
nodered.service: Main process exited, code=killed, status=11/SEGV
nodered.service: Failed with result 'signal'.
nodered.service: Service RestartSec=100ms expired, scheduling restart.
nodered.service: Scheduled restart job, restart counter is at 10.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.
2 Apr 12:48:56 - [info]
Welcome to Node-RED

Did you see this notice in the node's readme on github?

See https://github.com/deldrid1/node-red-contrib-firebase/issues/28 - unfortunately, this repo is no longer maintained and is known to not work with the latest versions of node-red / Firebase. Perhaps you can take up the cause - if you are up to the challenge and want to submit a complete PR or a new repo that wants to take this npm package name, please submit a PR or File a Pull Request and I will be happy to review.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.