Home Assistant Community

Node Red will not connect with hassio

#1

Node Red has been working for over a month. All of a sudden it won’t connect with Hassio. I get this error over and over again.

5 May 22:42:42 - [error] [server:Home Assistant] Home assistant connection failed with error: Connection to home assistant could not be established with config: http://hassio/homeassistant

My server connection looks like this:

Name Home Assistant
Base URL http://hassio/homeassistant
API Pass xxxxxxxx

I have tried restarting nodered, re-building and deleting the server and re-setting it up. Nothing works. I am considering uninstalling node red and trying again. I have all my nodes stored in my library.

Please any help would be appreciated.

Thanks

0 Likes

#2

-exactly- the same problem here… Kind of frustrating after migrating all YAML scripts to node-red…

0 Likes

#3

Are you having these errors in your hassio system log as well?:

18-05-06 07:56:53 WARNING (MainThread) [hassio.api.proxy] Unknown Home-Assistant API access!
18-05-06 07:56:53 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 381, in start
    resp = await self._request_handler(request)
  File "/usr/lib/python3.6/site-packages/aiohttp/web_app.py", line 322, in _handle
    resp = await handler(request)
  File "/usr/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 88, in impl
    return await handler(request)
  File "/usr/lib/python3.6/site-packages/hassio/api/security.py", line 36, in token_validation
    return await handler(request)
  File "/usr/lib/python3.6/site-packages/hassio/api/proxy.py", line 108, in api
    client = await self._api_client(request, path)
  File "/usr/lib/python3.6/site-packages/hassio/api/proxy.py", line 37, in _api_client
    method = getattr(self._websession_ssl, request.method.lower())
  File "/usr/lib/python3.6/site-packages/hassio/coresys.py", line 269, in __getattr__
    raise AttributeError()
AttributeError
0 Likes

#4

This issue has been fixed upstream in the Supervisor. Release 103.2 fixes it.

To upgrade:

0 Likes

#5

2 Likes

#6

Thanks for the reply. I am on 103.2 and 68.1 and still am getting the same thing.

0 Likes

#7

What am I missing. Even after I deleted the server I still get the same connection message every 2 seconds. Looking like my only option is to uninstall and try installing again. Makes me think Node Red isn’t ready/

Any help

0 Likes

#8

Ok I am sure you all think I am nuts and sometimes I do myself. But, I deleted the server - rebuilt Node Red them re-set up the server and it all started working. No updates to any software and nothing changed in the server.

Don’t know what to say.

Thansk

0 Likes

#9

I have started having this issue yesterday. Any suggestions?

0 Likes

#10

Did you fix this?

0 Likes

#11

This is happening to me as of today… what gives?

0 Likes

#12

Me too: was working fine for weeks on end, and then this evening, bam, errors out the wazoo.

I wondered if the problem started happening after the frontend was upgraded (believe that was yesterday?). So this evening I tried downgrading from 0.74.0 to a 0.73.2 snapshot I made a couple of days ago. Didn’t work. I’m still receiving the same errors.

0 Likes

#13

I am so frustrated with this I can’t believe I am stall working with this. Everything was working just fine and all of a sudden node red can’t connect with hassio. I have tried everything I can think of short of un-installing node red and re-installing. I deleted all of my connection and still get the same thing “Connection to home assistant could not be established with config: http://hassio/homeassistant <password redacted”. It makes no sense to me that the message says password redacted. Redacted usually means no longer supported. OK, so I took out the password and same thing.

I am desperate.

0 Likes

#14

Same issue in here, since this morning node-red cannot connect to my home assistant config anymore. I didn’t changed any configuration.

0 Likes

#15

Same issue here. I think that is something about the last update

0 Likes

#16

Same issue here but I haven’t updated anything.Strangely enough, two days ago the addon has been marked as deprecated
I changed the local server address with the external address of HA and it seems to work but the documentation discourages it.

1 Like

#17

Exact same issue here…

24 Jul 18:15:54 - [error] [server:Home Assistant] Home assistant connection failed with error: Connection to home assistant could not be established with config: http://hassio/homeassistant

Help!?

0 Likes

#18

deprecated: saw that too. :thinking:

0 Likes

#19

“Redacted” means something is not shown, in this case, for security. Like when sensitive information is redacted (edited, removed) from a classified document.

0 Likes

#20

Same issue here too since this morning, nothing has changed in the config.

0 Likes