# Your flow credentials file is encrypted using a system-generated key

**URL:** <https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382>\
**Category:** General\
**Created:** [25 November 2019 10:09 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382 "2019-11-25T10:09:04Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [25 November 2019 12:18 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/23 "2019-11-25T12:18:47Z")

</div>

What doesn't work ? It is running.

---

<div class="post-metadata">

**Author:** ![robbe](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@robbe](https://discourse.nodered.org/u/robbe)\
**Post date:** [25 November 2019 12:22 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/24 "2019-11-25T12:22:20Z")

</div>

can't find the browser  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/d/dbbc5c5526facbb32ae28f57b069168d6636573f.png)  
site is not available

---

<div class="post-metadata">

**Author:** ![robbe](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@robbe](https://discourse.nodered.org/u/robbe)\
**Post date:** [25 November 2019 12:34 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/25 "2019-11-25T12:34:07Z")

</div>

is this maybe the problem

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/1d57babf45f8fce6cffbc3d4eb618debd9abaad4.png)

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [25 November 2019 12:47 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/26 "2019-11-25T12:47:36Z")

</div>

Have you tried accessing node-RED by the url [http://localhost:1880](http://localhost:1880)

---

<div class="post-metadata">

**Author:** ![robbe](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@robbe](https://discourse.nodered.org/u/robbe)\
**Post date:** [25 November 2019 12:49 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/27 "2019-11-25T12:49:51Z")

</div>

yes i can't find the Editor and the dashboard

I have my flow, do i need it for something ?  
I now i change some thing in import or export

[{"id":"f5c941e7.1aebd","type":"function","z":"2df27252.fc52ce","name":"","func":"var numberOfLEDs = 16;\n\n\n\n\n\n\n\n{\n "power":"off",\n "brightness":255,\n "color":\n {\n "red":0,\n "green":111,\n "blue":250\n },\n "white":255\n}","outputs":1,"noerr":6,"x":634,"y":1629,"wires":[["88df1a71.43c8b8"]]}]

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [25 November 2019 13:00 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/28 "2019-11-25T13:00:13Z")

</div>

Let's take a step back, is this a new installation, and if so did you install it with the official install script?

`bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)`

I'm assuming that it's not a new install because you have created a flow... in which case what has changed, that has resulted in you not being able to access the ui?

Understanding more about the system history may help us help you.

---

<div class="post-metadata">

**Author:** ![robbe](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@robbe](https://discourse.nodered.org/u/robbe)\
**Post date:** [25 November 2019 13:04 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/29 "2019-11-25T13:04:55Z")

</div>

i didn't instal it, someone did that not me. I had a flow with functions and a led strip.  
But then when i change some thing in export or import don't know any more. than it broke all and then I could no longer use the Editor and dashboard. Also i had [Your flow credentials file is encrypted using a system-generated key].

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [25 November 2019 13:14 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/30 "2019-11-25T13:14:17Z")

</div>

> [@robbe](#):
>
> Also i had [Your flow credentials file is encrypted using a system-generated key].

That message is not an error message, it is just advising you that you may wish to encrypt your flow credentials (your passwords & other private stuff) using your own password. It's recommended that you do this, but it's certainly not an error message, and not an indicator of there being a problem.

---

<div class="post-metadata">

**Author:** ![robbe](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@robbe](https://discourse.nodered.org/u/robbe)\
**Post date:** [25 November 2019 13:16 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/31 "2019-11-25T13:16:06Z")

</div>

But why is there a problem than. that i can't go on the editor and dashboard

i think its something with the export or import that i changed because than it didn't work.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [25 November 2019 13:35 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/32 "2019-11-25T13:35:48Z")

</div>

@robbe it would have helped if you'd explained that part at the beginning. The message about credentialSecret in the log is just a warning and is nothing to do with any failures you may be hitting.

So, did you edit `settings.js` as we suggested? What exactly did you change?

On a Pi, you can use the command `node-red-logs` to get the log output and see why Node-RED is failing to start.

---

<div class="post-metadata">

**Author:** ![robbe](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@robbe](https://discourse.nodered.org/u/robbe)\
**Post date:** [25 November 2019 13:38 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/33 "2019-11-25T13:38:04Z")

</div>

i changed the a-secret-key and deleted //, than i restart nod-red but have still no connection with [http://172.20.40.150:1880/](http://172.20.40.150:1880/)

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [25 November 2019 13:39 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/34 "2019-11-25T13:39:21Z")

</div>

Then please check the logs:

> [@knolleary](#):
>
> On a Pi, you can use the command `node-red-logs` to get the log output and see why Node-RED is failing to start.

---

<div class="post-metadata">

**Author:** ![robbe](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@robbe](https://discourse.nodered.org/u/robbe)\
**Post date:** [25 November 2019 13:41 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/35 "2019-11-25T13:41:18Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/25e86a23a36398b6b715728071e7a99a1dcb5dd7.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/3/3e35b98e7a3833f87571707c7774fb7fb080e416.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/a/a89b0e8238d153f4b983ad63b132b0ccfc5d961a.png)

---

<div class="post-metadata">

**Author:** ![robbe](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@robbe](https://discourse.nodered.org/u/robbe)\
**Post date:** [25 November 2019 13:42 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/36 "2019-11-25T13:42:44Z")

</div>

last picture there is a error.  
error eaddrinuse

---

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [25 November 2019 14:17 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/37 "2019-11-25T14:17:37Z")

</div>

EADDRINUSE error means that another process (likely the process it's trying to start itself) is already using the port.

Based on the above topic, am I correct to assume you have little to zero experience with using the command line/terminal on Linux? The instructions in previous messages people keep pointing to assume that you have enough knowledge to edit files through a command line text editor. That is not a problem by itself in case you wonder, but it's good to know if that's the case so instructions can be given that are more detailed/more on your level.

---

<div class="post-metadata">

**Author:** ![robbe](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@robbe](https://discourse.nodered.org/u/robbe)\
**Post date:** [25 November 2019 14:22 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/38 "2019-11-25T14:22:36Z")

</div>

yes it is the first time working with it. but i'm still stuck that i can't connect to the editor. Do i need to delete something?

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [25 November 2019 14:27 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/39 "2019-11-25T14:27:14Z")

</div>

Please read what has been stated:

> EADDRINUSE error means that another process (likely the process it's trying to start itself) is already using the port.

You have something that is using port 10502 and node-red is trying to connect to it as well, it can't, therefore the editor cannot be loaded as it crashes.

So first you have to figure out what is using that port.

---

<div class="post-metadata">

**Author:** ![robbe](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@robbe](https://discourse.nodered.org/u/robbe)\
**Post date:** [25 November 2019 14:28 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/40 "2019-11-25T14:28:10Z")

</div>

my older node-red program. I always worked on 10502. So how can i get my old nod-red program back?  
only thing that i have is :

[{"id":"f5c941e7.1aebd","type":"function","z":"2df27252.fc52ce","name":"","func":"var numberOfLEDs = 16;\n\n\n\n\n\n\n\n{\n "power":"off",\n "brightness":255,\n "color":\n {\n "red":0,\n "green":111,\n "blue":250\n },\n "white":255\n}","outputs":1,"noerr":6,"x":634,"y":1629,"wires":[["88df1a71.43c8b8"]]}]

Thats my old one

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [25 November 2019 14:30 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/41 "2019-11-25T14:30:38Z")

</div>

> my older node-red program. I always worked on 10502. So how can i get my old nod-red program back?

Above you have 3 screenshots,  
1 states: port 1880 - node-red running - no problems  
1 states: port 10502  
So what are you starting ? Both instances ?

---

<div class="post-metadata">

**Author:** ![robbe](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@robbe](https://discourse.nodered.org/u/robbe)\
**Post date:** [25 November 2019 14:31 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382/42 "2019-11-25T14:31:48Z")

</div>

1880 is for nod-red editor and 10502 is for Modbus.

[Previous page](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382.md?page=1)

[Next page](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382.md?page=3)
