-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
DLNA Digital Media Renderer fails to connect to Cambridge Audio CXN V2 #70611
DLNA Digital Media Renderer fails to connect to Cambridge Audio CXN V2 #70611
Comments
dlna_dmr documentation |
Hey there @StevenLooman, @chishm, mind taking a look at this issue as it has been labeled with an integration ( |
Updated homeassistant core to 2022.5.2 and now with async-upnp-client 0.29.0 all errors have gone away. |
Thank you for the bug report. I'll continue working through this issue in #71306. Feel free to post any relevant logs here or there (I'll monitor both issue threads). |
I am having a similar problemm to this and #71306 - no IPv6 in my setup though, so I'll post my logs here. dmr is an LG TV, I can setup the integration and the media player is available for a few seconds, and then unavailable:
Seems to be the relevant problem for me, not having much luck getting more info searching around for that. |
Only relevant warning I find in my log today is this: Failed connecting to recently alive device at http://[fe80::9a5d:adff:fe6d:65d6%2]:8050/eb46d37a-e84e-426b-9ce1-6776cbc4a1b1/description.xml: UpnpConnectionError('[Errno 104] Connection reset by peer', None) So by the looks of it same ipv6 issue as #71306 ? |
@swedishlars: Interesting, it's a link-local IPv6 address that it's connecting to. When you enable debug logging for the dlna_dmr component (as described at #71306 (comment)), can you see what address it uses for the event handler (look for "Getting event handler" and "Started event handler"). A full log would be even more useful. |
@chishm should I start a new issue for my permission error above? |
Hi, attached full debug log. It shows full restart of homeassistant core. Around time code 2022-05-11 14:28:42 is when I add and configure dlna_dmr integration. Let me know if I can help with further tests/logs |
Hi @chishm, In case it helps, sifting through my log I see 3 lines for "Getting event handler". "started event handler" follows the same pattern. Line 244, the host ip here is the Intel Nuc hosting my homeassistant core instance: Line 366: Line 606: |
@swedishlars, This line looks the most significant to me:
Unfortunately I can't see what caused that. Could you please retry the logging with the additional setting of |
@DazWorrall: I'm beginning to suspect yours and @swedishlars' problems are related to initial polling of state variables. If you could try the |
@chishm First of all, thank you so much for dedicating time to this. I'm a developer myself so I know how time consuming this is. Let me know if there is anything else I can help with! |
You're welcome! I've only got a few DLNA devices, so I'm relying on other people to tell me when something doesn't work and to help diagnose the problem.
Thank you for the newest debug log. This does appear to be the same problem as in #71306.
I'll have to submit a fix to async_upnp_client for this to get resolved. When I've got something I'm happy with, I might get you to test it out before it gets merged. |
If you'd like to test this, could you please try pip installing |
Can you check the link please? It comes up empty for me.
…On Tue, 17 May 2022, 14:28 Michael Chisholm, ***@***.***> wrote:
If you'd like to test this, could you please try pip installing git+
***@***.***
into your HA test environment and seeing if that resolves your issue?
You'll need to start HA with --skip-pip, so that it doesn't reinstall the
PyPI version of the package.
—
Reply to this email directly, view it on GitHub
<#70611 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATQTTXWGDG74ILUKTXA2JK3VKONH5ANCNFSM5UHAQ6GQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@chism Ignore me, I found your [poll-variables-gracefully] branch |
Hi, I pip installed you branch, fired up hass with --skip-pip. Unfortunately dlna_dmr entity is still unavailable. Tried removing integration, adding back, testing both auto discovered dmr and also manually adding url to description.xml. |
Hi @swedishlars, I've had a look at that 3rd log, and I don't think you've got the specific commit installed. The way to do it is a bit complicated. You have to enter the hass virtual environment (something like pip install 'git+https://github.com/chishm/async_upnp_client@7408798b5ddb49cae2fe004376a1cb87824031ab' You should then get some output like:
|
Hi @chishm , that's what I did and everything looked ok to me. But let me try again and get back to you. |
Ok. You should be able to tell if it's installed the right version by using |
@chishm Tried this again, installed into my ha venv /srv/homeassistant. But I do not get a grep result with: |
Hmm, not sure what I am doing wrong here... When I run (in my venv): I get: Collecting git+https://github.com/chishm/async_upnp_client@7408798b5ddb49cae2fe004376a1cb87824031ab pip show async-upnp-client gives: Name: async-upnp-client |
The problem
After upgrading HA Core to 2022.4.7 dlna_dmr fails to connect to my Cambridge Audio CXN v2 music streamer.
Errors point to async_upnp_client.aiohttp and dlna_dmr, so not sure which is the culprit.
What version of Home Assistant Core has the issue?
core-2022.4.7
What was the last working version of Home Assistant Core?
core-2022.3.8
What type of installation are you running?
Home Assistant Core
Integration causing the issue
DLNA Digital Media Renderer
Link to integration documentation on our website
https://www.home-assistant.io/integrations/dlna_dmr/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
Please let me know if I can be of any further help!
Regards, Lars
The text was updated successfully, but these errors were encountered: