# Node-red lost connection

**URL:** <https://discourse.nodered.org/t/node-red-lost-connection/24068>\
**Category:** General\
**Created:** [2 April 2020 07:29 UTC](https://discourse.nodered.org/t/node-red-lost-connection/24068 "2020-04-02T07:29:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankit993](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@ankit993](https://discourse.nodered.org/u/ankit993)\
**Post date:** [2 April 2020 07:29 UTC](https://discourse.nodered.org/t/node-red-lost-connection/24068/1 "2020-04-02T07:29:55Z")

</div>

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](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/](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

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [2 April 2020 10:04 UTC](https://discourse.nodered.org/t/node-red-lost-connection/24068/2 "2020-04-02T10:04:10Z")

</div>

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

See [https://github.com/deldrid1/node-red-contrib-firebase/issues/28](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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [1 June 2020 10:04 UTC](https://discourse.nodered.org/t/node-red-lost-connection/24068/3 "2020-06-01T10:04:14Z")

</div>

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