home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.3k stars 30.61k forks source link

media_player.squeezebox: Failed communicating with LMS: <class 'aiohttp.client_exceptions.ClientResponseError'> #10760

Closed qrioniclabs closed 6 years ago

qrioniclabs commented 6 years ago

Home Assistant release (hass --version): 0.58.1

Python release (python3 --version): 3.4

Component/platform: media_player.squeezebox

Description of problem: Home Assistant does not connect to Logitech Media Server since updating from 0.57.X to 0.58.1. On startup of HA, I get the log entry

ERROR (MainThread) [homeassistant.components.media_player.squeezebox] Failed communicating with LMS: <class 'aiohttp.client_exceptions.ClientResponseError'>

Expected: Home Assistant connecting Squeezebox Server / Logitech Media Server as usual.

Problem-relevant configuration.yaml entries and steps to reproduce:

- platform: squeezebox
  host: localhost
  port: 9090

I have tried changing the port to 9000 which changes the error to class 'aiohttp.client_exceptions.ClientConnectorError'>. Thus, I think, port 9090 is the correct port.

LMS Web Server Port is 9000. Clients are working normal.

Thanks for your help!

terba commented 6 years ago

You have to use the web server port not the telnet port. So set the port to the same as you access the LMS web interface with a browser. By default it is 9000.

balloobbot commented 6 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:

balloobbot commented 6 years ago

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍