-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
No audio response / media_player audio playback #45
Comments
I think it's something strongly related to esp-idf handling https connection because my ESP32-C3 based eBUS Adapter by john30 also returned the "0x7780" error after update to the newest 20240518 firmware:
|
Why don't you set the internal HA URL to the IP and http? #48 Had the same issue and now all is fine. |
@dreimer1986, could you please point me in the right direction on how to set HA internal IP address to be used by ESPHome media_player component? Checked docs of API Native component and media_player and can't find it there. The only place I can set local HA address is Network tab in HA. But for the reason I have ssl I can't use http and can provide IP. Just can use https://homeassistant.local:8123. |
Network tab is right. The internal url is what I had to fix. As I never needed it before it was incorrectly set to https and non existing cert. I set it to http and all is fine here now. I use a reverse proxy anyways for external access and as such internal unencrypted communication is no problem. |
Flavor
MicroWakeWord
Checklist
Describe the issue
After update done in PR #39 I noticed that no audio response and no media_player output works. Looking in the logs following error is common for both issues:
esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x7780
. Based on the search looks like it is related to the certificates (esp-idf/8375) or shortage of RAM (HTTPS connection fail). Yes, I have already tried #13.Sometimes I get issues like
esp-tls: couldn't get hostname for :ha.domain.com: getaddrinfo() returns 202, addrinfo=0x0
. Would it e possible esphome to use mDNS or private IP of my HA?Related issues: #34, #13, esphome/2179 (feature request ignored for over a year).
Reproduction steps
Debug logs
The text was updated successfully, but these errors were encountered: