Updated to 0.91.2 - Client error on WebSocket API (node red) in sys log

When updating to 0.91.2 I got a series of errors in the sys log.

I run hassio on Rpi 3 b+ with the node-red add-on.

Client error on WebSocket API request initialize. It all seems related to node red. Once up and running I have no problems with node red. (The full log is provided below).

My settings for the Node-red add-on are:

{
  "credential_secret": "redacted",
  "dark_mode": false,
  "http_node": {
    "username": "",
    "password": ""
  },
  "http_static": {
    "username": "",
    "password": ""
  },
  "port": 1880,
  "ssl": true,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "require_ssl": true,
  "system_packages": [],
  "npm_packages": [],
  "init_commands": [],
  "log_level": "info"
}

In configuration.yaml I have:

  nodered:
    title: Node-Red
    icon: mdi:arrow-expand-right
    url: !secret nodered_url

The bordered_url is:
nodered_url: https://redacted.duckdns.org:1880

Port 1880 is open.

I experience no problems with node-red once home assistant is up and running. However restarting after an update takes a very long time.

What can be the problem?

Sys log

The problem has been going on a number of minutes before this.

19-04-09 08:40:40 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:40:40 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:40:40 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:40:40 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:40:40 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:40:44 INFO (SyncWorker_7) [hassio.docker.interface] Clean homeassistant application
19-04-09 08:40:44 INFO (SyncWorker_7) [hassio.docker.interface] Cleanup images: [‘homeassistant/raspberrypi3-homeassistant:0.91.1’]
19-04-09 08:40:45 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:40:45 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:40:45 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:40:45 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:40:45 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:40:45 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:40:50 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:40:50 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:40:50 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:40:50 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:40:50 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:40:50 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:40:55 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:40:55 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:40:55 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:40:55 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:40:55 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:40:55 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:00 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:00 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:00 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:00 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:00 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:00 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:05 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:05 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:05 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:05 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:05 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:05 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:10 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:10 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:10 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:10 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:10 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:10 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:12 INFO (SyncWorker_3) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi3-homeassistant with version 0.91.2
19-04-09 08:41:15 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:15 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:15 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:15 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:15 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:15 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:20 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:20 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:20 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:20 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:20 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:20 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:25 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:25 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:25 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:25 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:25 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:25 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:30 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:30 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:30 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:30 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:30 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:30 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:35 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:35 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:35 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:35 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:35 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:35 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:40 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:40 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:40 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:40 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:40 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:40 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:45 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:45 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:45 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:45 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:45 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:45 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:50 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:50 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:50 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:50 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:50 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:50 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-04-09 08:41:55 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:56 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-04-09 08:41:56 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:56 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-04-09 08:41:56 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request running
19-04-09 08:41:56 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request running
19-04-09 08:41:57 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance
19-04-09 08:41:57 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.91.2

1 Like

Got the same issue, figured it out?

No not yet

Figured it out for me.

Im using Node red 3.0.1 and Home Assistant 91.4.

If you are using a domain like xxxx.duckdns.org or yourdomain.com.

  1. Go directly to your internal IP 192.168.xx.xx:8123
  2. Go to the addon and click open in UI
  3. Node Red will open in home assistant

I have access to Node red but I still get errors upon restart. Let us see what happens when 0.92 comes. I believe it is related to the change to ingress.

Me too. I still get these errors with 0.97.2 version of HA and can access Node Red. Any update?

I also get this error and only for node-red even after disabling SSL (not sure how it is erroring).

1 Like

Same here, any update?

I have linux server + Hassio with docker. I configured SSL access to integrate with the Google assistant. After that, I can’t open the NodeRed ui. Error 502 after a short period of time. Even disabling ssl, the error continues.

I was getting this error, the details in this post fixed it for me: https://community.home-assistant.io/t/node-red-and-172-30-32-1/142390/4?u=eoin