Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 5 123 ... LastLast
Results 1 to 10 of 47
  1. #1
    Junior Member
    Join Date
    May 2010
    Posts
    25

    strange DNS problem using LMS on Windows 10

    Hey there !

    From one day another, I am facing a weird problem in Logitech Media Server on Win 10:
    the server won't find any internet addresses, so when entering my login for mysqueezebox.com in the LMS control panel I get "An unexpected error occurred while validating your mysqueezebox.com account. Please make sure network connectivity is working fine.".
    When using the browser, I can login at mysqueezebox.com without any problem.
    Also, in the LMS control panel on tab 'Diagnostics' everything looks fine (mysqueezebox.com: 54.170.81.39/OK/OK/OK).

    Similar problem in the web control: when I open the tab "plugins", it takes about ten seconds before I get the plugins page starting with this message: "Bad repository http://repos.squeezecommunity.org/extensions.xml - Couldn't resolve IP address for: repos.squeezecommunity.org".
    When I just enter that address into the browser, it will show that xml-file instantly.

    So I already tried this (always with a proper restart routine):
    - change Windows DNS-settings from my router's IP to 8.8.8.8 (Google),
    - change Windows DNS-settings directly to those from my provider,
    - completely deactivate firewall,
    - de-installing the server including all configs, downgrading from latest 7.9.1 to 7.7.5, (manually making sure no file is left before restarting, then re-install),
    - restart the router.

    I found some articles describing a similar problem on linux-machines, where people would create (or change) a file /etc/resolv.conf manually, and that did the trick.
    But on Windows this doesn't seem to work (I was hopeless, I even tried THAT...).

    Some log excerpts (with network.asyncdns and network.squeezenetwork set to Debug):
    Code:
    [17-09-19 17:52:02.2428] main::init (387) Starting Logitech Media Server (v7.9.1, 1505480690, Fri Sep 15 13:17:40 CUT 2017) perl 5.014001 - MSWin32-x86-multi-thread
    [17-09-19 17:52:03.9892] Slim::Utils::Misc::msg (1250) Warning: [17:52:03.9890] EV: error in callback (ignoring): pack_sockaddr: invalid host at /<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>AnyEvent/DNS.pm line 1114
    [17-09-19 17:52:03.9896] Slim::Utils::Misc::msg (1250) Warning: [17:52:03.9895] EV: error in callback (ignoring): pack_sockaddr: invalid host at /<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>AnyEvent/DNS.pm line 1114
    [17-09-19 17:52:26.0121] Slim::Networking::Async::DNS::__ANON__ (59) Lookup failed for www.mysqueezebox.com
    [17-09-19 17:52:26.0123] Slim::Networking::Async::DNS::__ANON__ (64) Reset DNS resolver to pick up new configuration
    [17-09-19 17:52:26.0125] Slim::Formats::XML::gotErrorViaHTTP (338) Error: getting http://www.mysqueezebox.com/api/sounds/v1/opml
    Couldn't resolve IP address for: www.mysqueezebox.com
    [17-09-19 17:52:26.0126] Slim::Plugin::Sounds::Plugin::_gotSoundsError (83) Error: Unable to cache Sounds & Effects menu from SN: Couldn't resolve IP address for: www.mysqueezebox.com
    [17-09-19 17:52:26.0128] Slim::Networking::Async::DNS::__ANON__ (59) Lookup failed for repos.squeezecommunity.org
    [17-09-19 17:52:28.0335] Slim::Networking::Async::DNS::__ANON__ (59) Lookup failed for opml.radiotime.com
    [17-09-19 17:52:28.0338] Slim::Formats::XML::gotErrorViaHTTP (338) Error: getting http://opml.radiotime.com/Index.aspx?partnerId=16
    Couldn't resolve IP address for: opml.radiotime.com
    [17-09-19 17:52:28.0339] Slim::Plugin::InternetRadio::Plugin::_gotRadioError (67) Unable to retrieve radio directory from SN: Couldn't resolve IP address for: opml.radiotime.com
    Thanks for your help !!!

  2. #2
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    2,823
    Anti Virus or Firewall blocking LMS access to the internet ?
    Pi3 with piCoreplayer music on QNAP TS419p via NFS iThingys/iPeng/Tablets/Jogglers
    Living Room - Joggler & SB3 -> Onkyo TS606 - > Celestion Ditton F20s
    Office - Pi -> Sony TA FE320 -> Celestion F10s / Pi & SB3 -> Onkyo CRN 755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - SB Touch -> Topping TP21 -> AKG Headphones

  3. #3
    Junior Member
    Join Date
    May 2010
    Posts
    25
    no, i tried deactivating firewall AND antivirus - didn't change a thing...

  4. #4
    Senior Member toby10's Avatar
    Join Date
    Jul 2007
    Location
    USA (home of the bottomless credit card)
    Posts
    9,088
    Quote Originally Posted by pupvogel View Post
    no, i tried deactivating firewall AND antivirus - didn't change a thing...
    ..... and then rebooted LMS? Same diagnostic results for LMS for all Ports (all say OK)?

  5. #5
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    15,257
    IIRC This sort of problem can happen if LMS is started before network connection is up & running. Is LMS running as a service to be started on system boot ?

  6. #6
    Junior Member
    Join Date
    May 2010
    Posts
    25
    Quote Originally Posted by bpa View Post
    IIRC This sort of problem can happen if LMS is started before network connection is up & running. Is LMS running as a service to be started on system boot ?
    Yes, it is. But if I stop the LMS and restart it (not the whole machine, just the server), I still have the same problem.
    Or...is there more to it than just select "Stop Logitech Media Server" and then restart it..?

  7. #7
    Junior Member
    Join Date
    May 2010
    Posts
    25
    Quote Originally Posted by toby10 View Post
    ..... and then rebooted LMS? Same diagnostic results for LMS for all Ports (all say OK)?
    If you mean the LMS control panel->Diagnostics->mysqueezebox.com: it always shows the values 54.78.17.170 (or other valid IPs for that site)/OK/OK/OK - even though it cannot connect.
    And yes, I always rebooted after changes.
    Last edited by pupvogel; 2017-09-20 at 11:44.

  8. #8
    Senior Member
    Join Date
    May 2008
    Location
    United States
    Posts
    11,071
    Quote Originally Posted by pupvogel View Post
    r...is there more to it than just select "Stop Logitech Media Server" and then restart it..?
    correct. just do the above (stop LMS then restart). and do this well after the machine LMS is on has an internet connection.
    Home: VortexBox 4TB (2.4) > LMS 7.9.1 > Transporter, Touch, Boom, Radio (all ethernet)
    Cottage: VBA 3TB (2.4) > LMS 7.9.1 > Touch > Benchmark DAC I, Boom, Radio w/Battery (all ethernet except Radio)
    Office: Win8(64) > LMS 7.9.1 > Squeezelite
    Spares: Transporter, Touch(3), Radio(3), Boom, SB3, CONTROLLER
    Controllers: iPhone6 & iPadAir2 (iPeng & Squeezepad), CONTROLLER, or SqueezePlay 7.8 on Win10(64) laptop
    Files: ripping: dbpoweramp > FLAC; post-rip: mp3tag, PerfectTunes; Streaming: Spotify

  9. #9
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    15,257
    The problem seems to be specifically DNS and not internet.
    What version of LMS is running ? (not sure as you seem to have upgraded/downgraded between 7.7* and 7.9.*)

    IIRC older version of LMS used a specfic DNS service perhaps openDNS. If so maybe blocked by Windows.

    I suggest enable logging network.asyncdns to DEBUG to see if more info is available

  10. #10
    Junior Member
    Join Date
    May 2010
    Posts
    25
    Quote Originally Posted by bpa View Post
    The problem seems to be specifically DNS and not internet.
    What version of LMS is running ? (not sure as you seem to have upgraded/downgraded between 7.7* and 7.9.*)

    IIRC older version of LMS used a specfic DNS service perhaps openDNS. If so maybe blocked by Windows.

    I suggest enable logging network.asyncdns to DEBUG to see if more info is available
    I'm now running the latest nightly again (1505480690), I just downgraded temporarily to check if that would fix the problem.

    The network.asyncdns log was included above, the only meaningful lines I get from it are these:
    Code:
    [17-09-21 20:04:29.2878] Slim::Networking::Async::DNS::__ANON__ (59) Lookup failed for repos.squeezecommunity.org
    [17-09-21 20:04:31.2622] Slim::Networking::Async::DNS::__ANON__ (59) Lookup failed for opml.radiotime.com
    [17-09-21 20:05:00.0164] Slim::Networking::Async::DNS::__ANON__ (59) Lookup failed for www.mysqueezebox.com
    [17-09-21 20:29:02.0554] Slim::Networking::Async::DNS::__ANON__ (64) Reset DNS resolver to pick up new configuration
    These are the first log lines after a Server restart:
    Code:
    [17-09-21 20:04:05.5140] main::init (387) Starting Logitech Media Server (v7.9.1, 1505480690, Fri Sep 15 13:17:40 CUT 2017) perl 5.014001 - MSWin32-x86-multi-thread
    [17-09-21 20:04:07.2341] Slim::Utils::Misc::msg (1250) Warning: [20:04:07.2272] EV: error in callback (ignoring): pack_sockaddr: invalid host at /<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>AnyEvent/DNS.pm line 1114
    [17-09-21 20:04:07.2343] Slim::Utils::Misc::msg (1250) Warning: [20:04:07.2343] EV: error in callback (ignoring): pack_sockaddr: invalid host at /<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>AnyEvent/DNS.pm line 1114
    [17-09-21 20:04:09.2402] Slim::Utils::Misc::msg (1250) Warning: [20:04:09.2400] EV: error in callback (ignoring): pack_sockaddr: invalid host at /<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>AnyEvent/DNS.pm line 1114
    [17-09-21 20:04:14.2514] Slim::Utils::Misc::msg (1250) Warning: [20:04:14.2512] EV: error in callback (ignoring): pack_sockaddr: invalid host at /<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>AnyEvent/DNS.pm line 1114
    [17-09-21 20:04:14.2516] Slim::Utils::Misc::msg (1250) Warning: [20:04:14.2515] EV: error in callback (ignoring): pack_sockaddr: invalid host at /<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>AnyEvent/DNS.pm line 1114
    [17-09-21 20:04:16.2465] Slim::Utils::Misc::msg (1250) Warning: [20:04:16.2462] EV: error in callback (ignoring): pack_sockaddr: invalid host at /<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>AnyEvent/DNS.pm line 1114
    [17-09-21 20:04:24.2720] Slim::Utils::Misc::msg (1250) Warning: [20:04:24.2718] EV: error in callback (ignoring): pack_sockaddr: invalid host at /<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>AnyEvent/DNS.pm line 1114
    [17-09-21 20:04:24.2723] Slim::Utils::Misc::msg (1250) Warning: [20:04:24.2722] EV: error in callback (ignoring): pack_sockaddr: invalid host at /<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>AnyEvent/DNS.pm line 1114
    [17-09-21 20:04:26.2535] Slim::Utils::Misc::msg (1250) Warning: [20:04:26.2533] EV: error in callback (ignoring): pack_sockaddr: invalid host at /<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>AnyEvent/DNS.pm line 1114
    [17-09-21 20:04:29.2871] Slim::Networking::Async::DNS::__ANON__ (59) Lookup failed for www.mysqueezebox.com
    [17-09-21 20:04:29.2873] Slim::Networking::Async::DNS::__ANON__ (64) Reset DNS resolver to pick up new configuration

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •