Unable to load the panel source: /api/hassio/app/entrypoint.js

This issue appeared for me last night out of nowhere. No changes had been made prior. Could not access Supervisor, Configurator, Terminal. Restarted HA, and didn’t help, made matters worse as SSH no longer worked.

Phew! Power-cycled RasPi, and back to normal (for now).
On supervisor 202 220, HA 108.6.

I ran ha core rebuild on CLI and after it rebooted everything is working.

2 Likes

happened twice yesterday, on NUC and RPI and happened today upgrading to version 0.109.3 in my RPI.
REALLY annoying!
I can’t access the panel and have invalid access token log about every addon and supervisor panel.
I’m rebooting to see if can fix by itself, but this issue should be addressed, 220 version, with HA 0.109.X, is really a mess.
edit: ok reboot fixed nothing, still have tons of error log:


20-05-03 10:18:32 ERROR (MainThread) [supervisor.api.security] Invalid token for access /app/entrypoint.js,
20-05-03 10:18:55 ERROR (MainThread) [supervisor.api.security] Invalid token for access /addons/core_mariadb/info,
20-05-03 10:18:55 ERROR (MainThread) [supervisor.api.security] Invalid token for access /addons/a0d7b954_nodered/info,
20-05-03 10:18:55 ERROR (MainThread) [supervisor.api.security] Invalid token for access /addons/a0d7b954_nginxproxymanager/info,
20-05-03 10:18:55 ERROR (MainThread) [supervisor.api.security] Invalid token for access /addons/a0d7b954_pi-hole/info

I fixed this time doing ha core rebuild in hassio_cli.
Have to check if this will mess up again at every upgrade or not.

1 Like

The additional issue for me running Home Assistant (not Core) is the SSH & Web terminal Add-on failed to start so it was impossible for me to access the HA CLI. The only thing I could do was power-cycle.

Now, lesson learned here is that when this error first occurred, the SSH addon was still working, but I did an HA restart as a normal first resort but this prevented SSH from restarting.

What I really need for insurance is an SSH daemon that runs independently and not dependent upon the Addons not starting due to other HA issues. So I would have to abandon Home Assistant and go the Core route to achieve that?

i don’t know about that addon but i have ssh running as OS service, and so i do for portainer: i have both addon and “native” version installed: if something get screwed HA side, like happened, i’m still be able to access services and do things…if everything goes well i access it from HA, just more easily.
hassio_supervisor is like an orchestrator for all addons, if it get screwed, it could block everything, and some addons doesn’t start by just starting from docker, this is a BIG issue.

Thanks for the advice, but again, I’m not running Core, so I’m not sure what options I have for installing SSH as a dedicated service on HassOS.

Thanx! I had 219 installed and running and all of a sudden it stopped working. Followed your steps and everything works again, installing 220.

Hi,

I am totally new to this. I have spent 4 hours on it now. I installed duckdns, updated the config file > right click > restart hass. Now i have this error. I have re-flased it once already… what should i do?

I have installed HA from scratch 4 times now. I have also bought a new micro SD card.
I bought my RSP4 yesterday. This really sucks. No one knows what’s wrong. It feels like wasted money…

When I restart Hass, doesn’t matter if i install an addon, then it will crash.

@Johnyyy was setting up duckdns with ssl and then restarting HA, and then not using https:// to access the new configuration. It was never crashing. It was doing exactly what was expected.

@GaryOkie When you restart HA you are only restarting HA. No other add-ons are restarted along with it. So the SSH add-on is already independent. All add-ons are separate containers.

1 Like

Thanks @cogneato for the explanation of how the independent SSH docker should work. I can only say that in this particular instance when encountering this entrypoint error that the SSH daemon was definitely not responding after a restart. I agree that it doesn’t make sense why this could have happened.

This situation is so rare that I’m not going to worry about it and look for an additional backup SSH capability. I already have a remotely accessible power switch for the router and HA server, so if things go south when away, I can attempt a hard restart recovery that way.

I have the same problem on Supervisor page. Resource http://local_ip:8123/api/hassio/app/entrypoint.js returns 502 error. I can’t access the Supervisor page. Version 0.109.2.

Logs:

Client error on api app/entrypoint.js request Cannot connect to host 172.30.32.2:80 ssl:None [Connect call failed (‘172.30.32.2’, 80)]

Due to this problem I can’t even restart the homeassistant using web interface:

Client error on /homeassistant/restart request Cannot connect to host 172.30.32.2:80 ssl:None [Connect call failed (‘172.30.32.2’, 80)]

Same here as of this morning - presume there was a supervisor update overnight that’s b0rked??

1 Like

my error was that i installed duckdns. i had to use the new adress.,

HA 0.108.9 running on Hassos Rpi 3b+:

Same issue here, nothing updated by myself so that’s confirm a supervisor update overnight that’s b0rked.

And here also

image

Cannot load Supervisor

Home Assistant 0.109.5

Shall I wait for a fix?

Mine randomly started working again a couple of hours later. I have no idea what caused it but I didn’t do anything to fix it, it just came back by magic.

(although yes, the supervisor did update overnight so I guess, however tenuous the link, that was the ‘cause’)

There is an open issue for that? Just to know that someone is working on…

1 Like

Same issue here.

I opened one this morning and then closed it when it started working, but given the number of me toos I’ve reopened it :+1:

2 Likes