# Connecting to Node RED Raspberry Pi dashboard shows an unsecure connection on both Pi and PC

**URL:** <https://discourse.nodered.org/t/connecting-to-node-red-raspberry-pi-dashboard-shows-an-unsecure-connection-on-both-pi-and-pc/63578>\
**Category:** General\
**Tags:** security\
**Created:** [7 June 2022 14:04 UTC](https://discourse.nodered.org/t/connecting-to-node-red-raspberry-pi-dashboard-shows-an-unsecure-connection-on-both-pi-and-pc/63578 "2022-06-07T14:04:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![idkwhatimgoing](https://avatars.discourse-cdn.com/v4/letter/i/858c86/32.png) [@idkwhatimgoing](https://discourse.nodered.org/u/idkwhatimgoing)\
**Post date:** [7 June 2022 14:04 UTC](https://discourse.nodered.org/t/connecting-to-node-red-raspberry-pi-dashboard-shows-an-unsecure-connection-on-both-pi-and-pc/63578/1 "2022-06-07T14:04:49Z")

</div>

Node-RED version: v2.2.2  
Node.js version: v14.19.3

After installing Node RED on my Raspberry Pi A+ using the installation command and configuring the inital options when I tried to open the dashboard it would bring up an error page saying that it can't provide a secure connection. So I thought it might just be my PC and connected the Pi to my monitor. But it also provided the unsecure connection error, is there any way to fix this?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/b/eb7b4404c00bdc07eafab48d1a77d78c5bbb38b5.png)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/d/3d1be0569825eeb2a3b6b81f60c3a41a75c28b74.png)

Here is the console

```auto
pi@raspberrypi:~$ node-red
8 Jun 00:14:19 - [info]

Welcome to Node-RED
===================

8 Jun 00:14:19 - [info] Node-RED version: v2.2.2
8 Jun 00:14:19 - [info] Node.js version: v14.19.3
8 Jun 00:14:19 - [info] Linux 5.15.32-v7+ arm LE
8 Jun 00:14:20 - [info] Loading palette nodes
8 Jun 00:14:22 - [info] Settings file : /home/pi/.node-red/settings.js
8 Jun 00:14:22 - [info] Context store : 'default' [module=memory]
8 Jun 00:14:22 - [info] User directory : /home/pi/.node-red
8 Jun 00:14:22 - [warn] Projects disabled : editorTheme.projects.enabled=false
8 Jun 00:14:22 - [info] Flows file : /home/pi/.node-red/flows.json
8 Jun 00:14:22 - [info] Creating new flow file
8 Jun 00:14:22 - [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.
---------------------------------------------------------------------

8 Jun 00:14:23 - [info] Server now running at http://127.0.0.1:1880/
8 Jun 00:14:23 - [info] Starting flows
8 Jun 00:14:23 - [info] Started flows

```

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [7 June 2022 14:24 UTC](https://discourse.nodered.org/t/connecting-to-node-red-raspberry-pi-dashboard-shows-an-unsecure-connection-on-both-pi-and-pc/63578/2 "2022-06-07T14:24:09Z")

</div>

What URL did you enter? Try explicitly entering the full URL including the `http` part

`http://ip-of-rasp-pi:1880/`

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [7 June 2022 14:29 UTC](https://discourse.nodered.org/t/connecting-to-node-red-raspberry-pi-dashboard-shows-an-unsecure-connection-on-both-pi-and-pc/63578/3 "2022-06-07T14:29:47Z")

</div>

By default, Node-RED creates an unsecured connection rather than a secured one. As Steve says, you should use `http` instead of `https`.

If you want a secured connection, you can configure it in settings.js or you might consider an external reverse proxy to manage the TLS connectivity.

---

<div class="post-metadata">

**Author:** ![idkwhatimgoing](https://avatars.discourse-cdn.com/v4/letter/i/858c86/32.png) [@idkwhatimgoing](https://discourse.nodered.org/u/idkwhatimgoing)\
**Post date:** [7 June 2022 14:30 UTC](https://discourse.nodered.org/t/connecting-to-node-red-raspberry-pi-dashboard-shows-an-unsecure-connection-on-both-pi-and-pc/63578/4 "2022-06-07T14:30:11Z")

</div>

Ahh! thats it! Thank you so much. But its so weird that when i downloaded node red on my pc and entered my ip it would go though.

---

<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:** [21 June 2022 14:31 UTC](https://discourse.nodered.org/t/connecting-to-node-red-raspberry-pi-dashboard-shows-an-unsecure-connection-on-both-pi-and-pc/63578/5 "2022-06-21T14:31:07Z")

</div>

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