home-assistant / addons

:heavy_plus_sign: Docker add-ons for Home Assistant
https://home-assistant.io/hassio/
Apache License 2.0
1.56k stars 1.51k forks source link

File Editor gives an error "401: Unauthorized" #3239

Closed MaxSychevskiy closed 10 months ago

MaxSychevskiy commented 1 year ago

Describe the issue you are experiencing

Hi,

I was playing with Cloufflare add-on that did not want to work on my HA but at some point File Editor tat I used for YAML configuration code edit stopped working. It gives an error "401: Unauthorized" and I don't know what to do. I tried to uninstall the File Editor and Install it back without any effect.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Which add-on are you reporting an issue with?

Almond

What is the version of the add-on?

Current version: 5.6.0

Steps to reproduce the issue

  1. Open the File editor Web UI
  2. ...

System Health information

System Information

version core-2023.9.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.5
os_name Linux
os_version 6.1.21-v8
arch aarch64
timezone Europe/London
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.32.1 Stage | running Available Repositories | 1359 Downloaded Repositories | 2
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 10.5 -- | -- update_channel | stable supervisor_version | supervisor-2023.09.2 agent_version | 1.5.1 docker_version | 23.0.6 disk_total | 57.8 GB disk_used | 3.9 GB healthy | true supported | true board | rpi3-64 supervisor_api | ok version_api | ok installed_addons | Terminal & SSH (9.7.1), FTP (4.7.2), Mosquitto broker (6.3.1), Cloudflared (4.2.7), File editor (5.6.0)
Dashboards dashboards | 2 -- | -- resources | 0 views | 1 mode | storage
Recorder oldest_recorder_run | 25 September 2023 at 10:57 -- | -- current_recorder_run | 30 September 2023 at 19:46 estimated_db_size | 4.46 MiB database_engine | sqlite database_version | 3.41.2

Anything in the Supervisor logs that might be useful for us?

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service configurator: starting
s6-rc: info: service configurator successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
INFO:2023-09-30 22:30:51,574:hass_configurator.configurator:Starting server
INFO:2023-09-30 22:30:51,577:hass_configurator.configurator:Listening on: http://0.0.0.0:8099
INFO:2023-09-30 22:31:14,395:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:31:44,875:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:32:15,385:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:32:45,793:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:33:16,193:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:33:46,600:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:34:17,011:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:34:47,410:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:35:17,803:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:35:48,185:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:36:18,600:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:36:48,999:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:37:19,407:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:37:49,803:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:38:20,194:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:38:50,584:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -
INFO:2023-09-30 22:39:20,983:hass_configurator.configurator:127.0.0.1 - "GET / HTTP/1.1" 200 -

Anything in the add-on logs that might be useful for us?

No response

Additional information

No response

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

st-pavel commented 12 months ago

I have same error.

posinahual commented 11 months ago

I have same error. Current version: 5.7.0

github-actions[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Menz01 commented 4 months ago

i have the same issue as well

Maxfactor13 commented 3 months ago

I have same error. Current version: 5.8.0

Mikael2235 commented 1 month ago

Same error here !

netzkopf commented 1 month ago

Same problem here with version 5.8.0. Not sure if it is a problem with the file editor though. To me it also happens for zigbee2mqtt and the music assistant.