habuild / hassio-addons

Home Assistant addon using SBFspot Bluetooth SMA inverters
Apache License 2.0
11 stars 7 forks source link

FYI Debian 12 supervised installs. Failed to connect to supervisor port 80 after 0 ms. Something went wrong contacting the API #75

Closed habuild closed 11 months ago

habuild commented 11 months ago

Describe the bug In Debian 12 supervised installs there is currently a bug with this addon.

curl: (7) Failed to connect to supervisor port 80 after 0 ms: Couldn't connect to server
[00:28:25] ERROR: Something went wrong contacting the API

https://github.com/home-assistant/supervisor/issues/4396#issuecomment-1642303441

There is currently no resolution, So I would avoid debian 12 supervised installs in the meantime if you can.

To Reproduce Steps to reproduce the behavior:

  1. Install debian 12
  2. run haos-sbfspot addon
  3. See error
    curl: (7) Failed to connect to supervisor port 80 after 0 ms: Couldn't connect to server
    [00:28:25] ERROR: Something went wrong contacting the API

Expected behavior A connection to the supervisor should occur

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context HAOS and debian 11 supervised are currently working without this issue.

habuild commented 11 months ago

solved with apparmor.txt update to include network

# Capabilities
  capability,
  file,
  signal (send) set=(kill,term,int,hup,cont),
  network,