[SOLVED] Players can’t connect to LMS & panel at port 9000 ‚Connection refused‘

Max2Play Home 2016 (en) Forums Max2Play as Squeezebox (Player / Server) [SOLVED] Players can’t connect to LMS & panel at port 9000 ‚Connection refused‘

This topic contains 7 replies, has 2 voices, and was last updated by  Heiner Moderator 1 year, 3 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • 4. Juni 2019 at 23:09 #45605

    Hello,

    Although it all used to work flawless, none of my devices can connect to LMS anymore. Meaning, not the players nor the LMS panel at port 9000. I get a ‚Connection refused‘ error in my browser.

    I’ve reset Max2Play and reconfigured everything without results.

    However, I can still reach the Pi through a browser (Max2Play panel) and by using Putty (SSH).

    – I’m running LMS Nightly 7.9 at a Raspberry Pi3 running version 2.48.
    – All players have an IP (DHCP).
    – The Pi has 2 IP’s: one for wifi and one for the cabled connection with my QNAP file server.
    – The Max2Play licence has been activated.
    – Squeezebox Server is running
    – I can reach the audio files on my Samba share QNAP file server, using a Win notebook

    Could you please shine your light on this?

    Here’s an abstract of the debug info of the LMS after a restart:

    [19-06-04 22:45:40.7162] main::init (387) Starting Logitech Media Server (v7.9.2, 1559540204, Mon Jun 3 07:47:43 CEST 2019) perl 5.020002 – arm-linux-gnueabihf-thread-multi-64int
    [19-06-04 22:50:13.8565] Slim::Networking::Async::connect (114) Failed to connect to api.ickstream.com:443, because
    Verbinding is verlopen
    [19-06-04 22:50:13.8584] Plugins::IckStreamPlugin::BrowseManager::__ANON__ (207) Failed to retrieve content services from cloud for Squeezebox woonkamer: Connect timed out: Verbinding is verlopen
    [19-06-04 22:50:13.8874] Plugins::IckStreamPlugin::PlayerManager::_performPlayerInitialization (336) Initializing Squeezebox keuken (75545A41-380F-4F5D-9071-4153A0CFEB16)
    [19-06-04 22:50:13.9000] Plugins::IckStreamPlugin::PlayerManager::_performPlayerInitialization (336) Initializing Squeezebox woonkamer (5758B89C-38A8-435C-B505-B0A3416ED35B)
    [19-06-04 22:54:40.0962] Slim::Networking::Async::connect (114) Failed to connect to api.ickstream.com:443, because
    Verbinding is verlopen
    [19-06-04 22:54:40.0979] Plugins::IckStreamPlugin::PlayerManager::__ANON__ (123) Failed to get application identity for max2play:
    Failed to retrieve license
    [19-06-04 22:54:40.1968] Slim::Networking::Repositories::__ANON__ (146) Failed to fetch https://sourceforge.net/projects/sdt-weather-com/files/repo.xml: Timed out waiting for data
    [19-06-04 22:54:40.1983] Slim::Networking::Repositories::__ANON__ (149) https lookup failed – trying plain text http instead: http://sourceforge.net/projects/sdt-weather-com/files/repo.xml
    [19-06-04 22:54:40.2099] Slim::Networking::SqueezeNetwork::_error (576) Unable to login to SN: malformed JSON string, neither array, object, number, string or atom, at character offset 817 (before „(end of string)“) at /usr/share/perl5/Slim/Networking/SqueezeNetwork.pm line 545.
    [19-06-04 22:54:40.2117] Slim::Networking::SqueezeNetwork::_init_error (185) Unable to login to mysqueezebox.com, sync is disabled: malformed JSON string, neither array, object, number, string or atom, at character offset 817 (before „(end of string)“) at /usr/share/perl5/Slim/Networking/SqueezeNetwork.pm line 545.
    (https://www.mysqueezebox.com)
    [19-06-04 22:54:40.2143] Slim::Networking::SqueezeNetwork::_init_error (201) mysqueezebox.com sync init failed: malformed JSON string, neither array, object, number, string or atom, at character offset 817 (before „(end of string)“) at /usr/share/perl5/Slim/Networking/SqueezeNetwork.pm line 545.
    , will retry in 900 (https://www.mysqueezebox.com)
    [19-06-04 22:54:40.2361] Plugins::IckStreamPlugin::PlayerManager::__ANON__ (354) Error when initializing Squeezebox keuken
    [19-06-04 22:59:06.3363] Slim::Networking::Async::connect (114) Failed to connect to api.ickstream.com:443, because
    Verbinding is verlopen
    [19-06-04 22:59:06.3381] Plugins::IckStreamPlugin::PlayerManager::__ANON__ (209) Failed to update address in cloud, player Squeezebox keuken needs to be re-registered

    #### PERL VERSION ####
    v5.20.2

    5. Juni 2019 at 10:32 #45608

    Hi Jacco,

    Please try removing your WiFi connection if you are running the Pi connected via ethernet. A double connection is not advantageous.

    If possible, you can also try reinstalling the latest proper release 7.9.1 to see if it makes a difference.

    5. Juni 2019 at 11:01 #45611

    Hi Heiner,

    Thanks for your quick reply.
    I’ve removed the wifi connection, rebooted and now I only have a wired connection.
    It didn’t help so I reinstalled 7.9.1 but that doesn’t have the desired effect either. I still get a ‚Connection refused‘ on port 9000 in my browser when trying to open the panel and the players still can’t connect to the LMS either.

    Do you have any other ideas?

    Thanks,
    Jacco

    5. Juni 2019 at 12:55 #45615

    Hi Jacco,

    It’s probably connected to your home network. I’d assume that the device is somehow impeded by your router. You can check the router’s web interface to see if the device with the LMS is recognized properly and doesn’t block any connections.

    5. Juni 2019 at 22:43 #45623

    Hi Heiner,

    Thanks again for your quick reply.
    I checked my router control panel (did that before as well) and I see that my Pi and my Squeezeboxes show up as clients so they all have an IP at the same subnet.

    After checking that, I did the following:

    – Check of port 9000 on Pi: Port is open (checked both with Netstat at local and from a laptop connected to the same network)
    – Check which user uses port 9000: squeezeboxserver
    – Check for firewall settings Pi: Empty ruleset in iptables of the Pi so all say policy ACCEPT > no firewall rules active
    – The firewall of the router disabled > no change
    – The router has been restarted > no change
    – After restarting, LMS restarted > no change
    – Install LMS 7.9.0 > No change
    – Reinstall LMS 7.9.1 > No change
    – Packages on Pi updated > No change

    I’m still able to reach the Pi, both by the Max2Play interface as by SSH using Putty. However, LMS is still shy to my Squeezebox players and port 9000 panel.

    I think by now I ran out of ideas where to look. 🙁

    Do you have any idea?

    Thanks again,
    Jacco

    6. Juni 2019 at 9:28 #45625

    Hi Jacco,

    Try deactivating the ickstream plugin if you have not tried that yet. It seems to have issues in the log you posted.

    Do you have any other plugins or services running that might occupy port 9000?

    You can also try posting in the slimdevices forums and ask the Squeezebox veterans if they have a good idea.

    6. Juni 2019 at 12:05 #45629

    Hi Heiner,

    I didn’t deactivate the Ickstream plugin before but now I did, which solved the issue.
    It probably is due to the fact that Ickstream’s services are discontinued on May 31st 2019. I came across more users who experienced the same issue (panel at 9000 nor players were accessible).

    For other users who experience the same:

    Go to /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/IckstreamPlugin (or the path where your Ickstream plugin reside)

    sudo rm Plugin.pm

    This enabled me to open the panel again at port 9000 where I removed the Ickstream plugin.

    Alternatively, you could do the same as in this post: https://forums.slimdevices.com/showthread.php?110624-How-do-you-uninstall-a-plugin-without-the-web-UI-(Linux)&p=942053#post942053

    Thanks for guiding me, Heiner!

    Cheers,

    Jacco

    6. Juni 2019 at 13:36 #45630

    Thanks for following up so quickly! Glad you could solve it 🙂

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Register here