Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to connect to supervisor port 80: could not connect to server #23

Open
Pwnyrider opened this issue Nov 29, 2024 · 0 comments
Open

Comments

@Pwnyrider
Copy link

Pwnyrider commented Nov 29, 2024

After a fresh installation of the addon on Debian 12 and HA Supervised I get the following errors:

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 legacy-services: starting
s6-rc: info: service legacy-services successfully started
curl: (7) Failed to connect to supervisor port 80 after 0 ms: Could not connect to server
[17:37:10] ERROR: �[35mSomething went wrong contacting the API�[0m
Traceback (most recent call last):
File "/src/main.py", line 27, in
main()
~~~~^^
File "/src/main.py", line 11, in main
mqtt_thread = mqtt.setup_mqtt()
File "/src/mqtt.py", line 16, in setup_mqtt
set_mqtt_settings()
~~~~~~~~~~~~~~~~~^^
File "/src/mqtt.py", line 91, in set_mqtt_settings
raise Exception("MQTT connection could not be established. Please check if your MQTT Add-On is running!")
Exception: MQTT connection could not be established. Please check if your MQTT Add-On is running!
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Hint: This issue could be related to habuild/hassio-addons#75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant