Closed gamer123 closed 1 year ago
Hi !
what is your local url HA parameter ?
Hi have the same adress like the external because of ssl zertifikat https// .....duckdns.org
Oups. Delete your last comment for security !
And if you use local ip with http ( no cert) ? You can use nginx addon for this . Https for duckdns and http for local ip
I'm having the same issue. I'm using https://......duckdns.org:8123 for both the internal and the external URL value. Does the log entry mean the validation is failing because the cert's host is being compared to homeassistant:8123? Why would this occur?
Since the 2.2.2 update, I'm not seeing the certificate error. Now I'm seeing an empty URL: aiohttp.client_exceptions.InvalidURL: wss://:8123/api/websocket
Traceback (most recent call last): File "/usr/local/lib/python3.11/dist-packages/homeassistant_satellite/main.py", line 200, in main async for _timestamp, event_type, event_data in stream( File "/usr/local/lib/python3.11/dist-packages/homeassistant_satellite/remote.py", line 28, in stream async with session.ws_connect(url) as websocket: File "/usr/local/lib/python3.11/dist-packages/aiohttp/client.py", line 1141, in aenter self._resp = await self._coro ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/aiohttp/client.py", line 779, in _ws_connect resp = await self.request( ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/aiohttp/client.py", line 425, in _request raise InvalidURL(str_or_url) from e aiohttp.client_exceptions.InvalidURL: wss://:8123/api/websocket DEBUG:main:Waiting for speech
i tried ngix the ssl error is gone, but still made problems with detecting Anker powerconf. So i removed ngix and went back to old state
I removed the addon and install now 2.2.2 and tried it again.
I get these messages:
/run: line 21: bashio::core.ip_address: command not found 2023-10-24 17:07:33.617821173 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '131'. It is not used by any node and should be removed from the model. 2023-10-24 17:07:33.617850994 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '136'. It is not used by any node and should be removed from the model. 2023-10-24 17:07:33.617854673 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '139'. It is not used by any node and should be removed from the model. 2023-10-24 17:07:33.617857788 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '140'. It is not used by any node and should be removed from the model. 2023-10-24 17:07:33.617861003 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '134'. It is not used by any node and should be removed from the model. 2023-10-24 17:07:33.617906817 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '628'. It is not used by any node and should be removed from the model. 2023-10-24 17:07:33.617910965 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '623'. It is not used by any node and should be removed from the model. 2023-10-24 17:07:33.617914081 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '629'. It is not used by any node and should be removed from the model. 2023-10-24 17:07:33.617917341 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '620'. It is not used by any node and should be removed from the model. 2023-10-24 17:07:33.617937747 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '625'. It is not used by any node and should be removed from the model. Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
Hi,
Error in Ver 2.2.2 Wait for 2.2.3 (Today ;) : https://github.com/rhasspy/hassio-addons/issues/42#issuecomment-1777345965
2.2.3 is available 👍
ok got it
ok got it
I have same issue with duckdns and Assist Microphone. I think the "host" in configuration is not valid. How should I config the Assist Microphone add-on host value?!
And the solution: if you use DuckDNS, you need to install and setup NGINX to add "host" configuration as local IP adress.
Same issue. I use TLS on my local instance, but I don't use Cloud/NabuCasa/LetsEncrypt. I use a local CA (Certificate Authority) issued cert for my homeassistant. Home Assistant itself works fine since I install / trust the CA cert on host running HA Supervised.
I do not want to setup yet another addon to SSL proxy like nginx. It's better to just have the option to disable SSL for an addon.
The problem is that this addon does not seem to copy over /etc/ssl/certs/ca-certificates.crt into the addon docker container. It does create an environment variable for it. But it's not copied, its a different file.
docker inspect addon_47701997_assist_microphone
Config > Env > "CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt"
docker cp -L /etc/ssl/certs/ca-certificates.crt addon_47701997_assist_microphone:/etc/ssl/certs/ca-certificates.crt
Temporary, and if the addon is already running
cp /etc/ssl/certs/ca-certificates.crt /usr/share/hassio/addons/git/47701997/assist_microphone/
Edit _/usr/share/hassio/addons/git/47701997/assistmicrophone/Dockerfile, append COPY ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
"Rebuild" the addon.
This should work until the addon is updated.
For perhaps the next version @synesthesiam One or more of the following...
For future travelers, the official Assist Microphone add-on (https://github.com/home-assistant/addons/tree/master/assist_microphone) does not use a websocket connection anymore, and so there are no issues with certificates.
Describe the issue you are experiencing
Setup Assist Microphone is possible. After the first start this error occurs in the Logs of Addon.
Anker power conf is on latest Firmware Addon is on 2.2.1 HA OS 11 Core 10.3
Error is
File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 988, in _wrap_create_connection raise client_error(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host homeassistant:8123 ssl:default [Connect call failed ('172.30.32.1', 8123)]
SSL is activ but my ha is running on domain:443 but I don't know if it is relevant.
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?
Whisper
What is the version of the add-on?
2.2.1.
Steps to reproduce the issue
System Health information
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.33.0 Stage | running Available Repositories | 1385 Downloaded Repositories | 16 HACS Data | okHome Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 11.0 -- | -- update_channel | stable supervisor_version | supervisor-2023.10.0 agent_version | 1.6.0 docker_version | 24.0.6 disk_total | 938.2 GB disk_used | 234.2 GB healthy | true supported | true board | generic-x86-64 supervisor_api | ok version_api | ok installed_addons | Node-RED (14.6.2), AdGuard Home (4.8.17), Mosquitto broker (6.3.1), TasmoAdmin (0.25.1), Zigbee2MQTT (1.33.1-1), Advanced SSH & Web Terminal (15.1.0), MariaDB (2.6.1), Traccar (0.21.1), Studio Code Server (5.12.1), File editor (5.6.0), Spotify Connect (0.12.6), ESPHome (2023.10.0), UniFi Network Application (2.8.0), Samba share (10.0.2), Angry IP Scanner (1.1.3), Whisper (1.0.0), Piper (1.4.0), Grocy (0.20.1), Duck DNS (1.15.0), RaspberryMatic CCU (3.71.12.20231014), openWakeWord (1.8.0), Assist Microphone (2.2.1), porcupine1 (1.0.0)Dashboards
dashboards | 18 -- | -- resources | 10 views | 55 mode | storageRecorder
oldest_recorder_run | 16. November 2022 um 06:15 -- | -- current_recorder_run | 17. Oktober 2023 um 21:14 database_engine | mysql database_version | 10.6.12Anything in the Supervisor logs that might be useful for us?
Anything in the add-on logs that might be useful for us?
Additional information
Assist Microphone is until now not listed in official addons.