# Lost connection to server

**URL:** https://discourse.nodered.org/t/lost-connection-to-server/20521
**Category:** General
**Created:** [18 January 2020 00:54 UTC](https://discourse.nodered.org/t/lost-connection-to-server/20521 "2020-01-18T00:54:25Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![jiboiaruiva](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jiboiaruiva](https://discourse.nodered.org/u/jiboiaruiva)
#### Post date: [18 January 2020 00:54 UTC](https://discourse.nodered.org/t/lost-connection-to-server/20521/1 "2020-01-18T00:54:25Z")

</div>

I am trying to set a child value in firebase but every time i try to deploy, i receive the message "Lost connection to server", "i am using node-red-contrib-firebase" nothing is show to me different on cmd.  
I did everything just like this tutorial [https://www.youtube.com/watch?v=IItfEkeh9cA&t=14s](https://www.youtube.com/watch?v=IItfEkeh9cA&t=14s).

---

<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: [18 January 2020 09:31 UTC](https://discourse.nodered.org/t/lost-connection-to-server/20521/2 "2020-01-18T09:31:41Z")

</div>

Start node red in a terminal, if you are on a pi and used the recommended pi install script then that do this by

```auto
node-red-stop
node-red

```

and post the resulting log here.

---

<div class="post-metadata">

### Author: ![jiboiaruiva](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jiboiaruiva](https://discourse.nodered.org/u/jiboiaruiva)
#### Post date: [18 January 2020 13:15 UTC](https://discourse.nodered.org/t/lost-connection-to-server/20521/4 "2020-01-18T13:15:12Z")

</div>

It is already flagged as general man.

---

<div class="post-metadata">

### Author: ![jiboiaruiva](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jiboiaruiva](https://discourse.nodered.org/u/jiboiaruiva)
#### Post date: [18 January 2020 13:15 UTC](https://discourse.nodered.org/t/lost-connection-to-server/20521/5 "2020-01-18T13:15:51Z")

</div>

I am on windows.

---

<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: [18 January 2020 13:27 UTC](https://discourse.nodered.org/t/lost-connection-to-server/20521/6 "2020-01-18T13:27:52Z")

</div>

Well start it in a terminal whatever is the windows way of doing that and post the log here.

---

<div class="post-metadata">

### Author: ![jiboiaruiva](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jiboiaruiva](https://discourse.nodered.org/u/jiboiaruiva)
#### Post date: [18 January 2020 13:54 UTC](https://discourse.nodered.org/t/lost-connection-to-server/20521/7 "2020-01-18T13:54:19Z")

</div>

node-red-stop

Doesn't work on windows.

---

<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: [18 January 2020 13:56 UTC](https://discourse.nodered.org/t/lost-connection-to-server/20521/8 "2020-01-18T13:56:07Z")

</div>

As I said in my last post, start node red and post the log.

---

<div class="post-metadata">

### Author: ![jiboiaruiva](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jiboiaruiva](https://discourse.nodered.org/u/jiboiaruiva)
#### Post date: [18 January 2020 14:07 UTC](https://discourse.nodered.org/t/lost-connection-to-server/20521/9 "2020-01-18T14:07:19Z")

</div>

# Welcome to Node-RED

18 Jan 11:02:19 - [info] Node-RED version: v1.0.3  
18 Jan 11:02:19 - [info] Node.js version: v12.13.1  
18 Jan 11:02:19 - [info] Windows\_NT 10.0.18362 x64 LE  
18 Jan 11:02:21 - [info] Loading palette nodes  
18 Jan 11:02:24 - [info] Dashboard version 2.19.3 started at /ui  
18 Jan 11:02:24 - [info] Settings file : C:\Users\nribe.node-red\settings.js  
18 Jan 11:02:24 - [info] Context store : 'default' [module=memory]  
18 Jan 11:02:24 - [info] User directory : C:\Users\nribe.node-red  
18 Jan 11:02:24 - [warn] Projects disabled : editorTheme.projects.enabled=false  
18 Jan 11:02:24 - [info] Flows file : C:\Users\nribe.node-red\flows\_Nathan.json  
18 Jan 11:02:24 - [info] Creating new flow file  
18 Jan 11:02:24 - [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.

18 Jan 11:02:24 - [info] Server now running at /  
18 Jan 11:02:24 - [info] Starting flows  
18 Jan 11:02:24 - [info] Started flows  
18 Jan 11:02:52 - [info] Installing module: node-red-contrib-firebase, version: 1.1.1  
18 Jan 11:02:59 - [info] Installed module: node-red-contrib-firebase  
18 Jan 11:02:59 - [info] Added node types:  
18 Jan 11:02:59 - [info] - node-red-contrib-firebase:firebase config  
18 Jan 11:02:59 - [info] - node-red-contrib-firebase:firebase modify  
18 Jan 11:02:59 - [info] - node-red-contrib-firebase:firebase.once  
18 Jan 11:02:59 - [info] - node-red-contrib-firebase:firebase.on  
18 Jan 11:02:59 - [info] - node-red-contrib-firebase:firebase ondisconnect  
18 Jan 11:02:59 - [info] - node-red-contrib-firebase:firebase auth  
18 Jan 11:04:58 - [info] Stopping flows  
18 Jan 11:04:58 - [info] Stopped flows  
after deployed  
18 Jan 11:04:58 - [info] Starting flows  
18 Jan 11:04:58 - [info] Started flows  
nothing happens and continue to show "Lost connection to server"

---

<div class="post-metadata">

### Author: ![jiboiaruiva](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jiboiaruiva](https://discourse.nodered.org/u/jiboiaruiva)
#### Post date: [18 January 2020 16:14 UTC](https://discourse.nodered.org/t/lost-connection-to-server/20521/10 "2020-01-18T16:14:29Z")

</div>

Makes no sense this doesn't work what i think is that this pallet doesn't work anymore with Firebase.

---

<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: [18 January 2020 16:32 UTC](https://discourse.nodered.org/t/lost-connection-to-server/20521/11 "2020-01-18T16:32:52Z")

</div>

Have a look at the [node's github page](https://github.com/deldrid1/node-red-contrib-firebase). It says "unfortunately, this repo is no longer maintained and is known to not work with the latest versions of node-red / Firebase."

---

<div class="post-metadata">

### Author: ![jiboiaruiva](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jiboiaruiva](https://discourse.nodered.org/u/jiboiaruiva)
#### Post date: [18 January 2020 16:37 UTC](https://discourse.nodered.org/t/lost-connection-to-server/20521/12 "2020-01-18T16:37:11Z")

</div>

I will try mqtt
