Bugzilla – Bug 12487
DNS problems, SC 7.3.3, Ubuntu 9.04
Last modified: 2009-09-08 09:24:34 UTC
As reported in this forum thread http://forums.slimdevices.com/showthread.php?t=64400 a few users experience DNS problems after upgrading to SC 7.3.3. Manually restarting SC will fix the problem until next reboot. No problems in previous versions of SC. Other wireless devices in my home network show no signs of DNS problems. Details of my setup: Ubuntu 9.04 (32bit) Kernel: 2.6.28-13-generic Player: SB3 Classic ISP: Fullrate.dk ADSL Router: Zyxel Prestige 2602R-61 (Wired) Access point: Buffalo AirStation Turbo G Version: 7.3.3 - 27044 @ Mon Jun 15 15:12:32 PDT 2009 Hostname: xxxxxxx Server IP Address: 192.168.1.35 Server HTTP Port Number: 9000 Operating system: Debian - EN - utf8 Platform Architecture: i686-linux Perl Version: 5.10.0 - i486-linux-gnu-thread-multi MySQL Version: 5.0.75-0ubuntu10.2 Total Players Recognized: 1 Player Model: squeezebox3 Firmware: 127 Player IP Address: 192.168.1.33 Player MAC Address: 00:04:20:12:40:8d Wireless Signal Strength: 68% Excerpt of log immediately after reboot: 2009-06-22 18:56:39 squeezecenter_safe started. [09-06-22 18:56:44.7078] main::init (270) Starting SqueezeCenter (v7.3.3, r27044, Mon Jun 15 15:12:32 PDT 2009) [09-06-22 18:56:50.0810] Slim::Networking::Async::DNS::init (90) Warning: No DNS servers responded, you may have problems with network requests. [09-06-22 18:56:56.7800] Slim::Formats::XML::gotErrorViaHTTP (306) Error: getting http://www.squeezenetwork.com/api/sounds/v1/opml Couldn't resolve IP address for: www.squeezenetwork.com [09-06-22 18:56:56.7802] Slim::Plugin::Sounds::Plugin::_gotSoundsError (99) Error: Unable to cache Sounds & Effects menu from SN: Couldn't resolve IP address for: www.squeezenetwork.com [09-06-22 18:56:58.2149] Slim::Utils::Firmware::downloadAsyncError (546) Warning: Firmware: Failed to download http://update.squeezenetwork.com/update/firmware/7.3.3/jive.version (Couldn't resolve IP address for: update.squeezenetwork.com), will try again in 10 minutes. [09-06-22 18:57:23.2759] Slim::Networking::SqueezeNetwork::_error (455) Unable to login to SN: Couldn't resolve IP address for: www.squeezenetwork.com [09-06-22 18:57:23.2761] Slim::Networking::SqueezeNetwork::_init_error (182) Unable to login to SqueezeNetwork, sync is disabled: Couldn't resolve IP address for: www.squeezenetwork.com [09-06-22 18:57:23.2764] Slim::Networking::SqueezeNetwork::_init_error (192) SqueezeNetwork sync init failed: Couldn't resolve IP address for: www.squeezenetwork.com, will retry in 300 [09-06-22 18:57:50.1648] Slim::Utils::Scanner::Remote::__ANON__ (223) Error: Can't connect to remote server to retrieve playlist: Couldn't resolve IP address for: www.dr.dk. [09-06-22 18:57:55.1810] Slim::Utils::Scanner::Remote::__ANON__ (223) Error: Can't connect to remote server to retrieve playlist: Couldn't resolve IP address for: wmscr1.dr.dk. [09-06-22 18:58:20.4681] Slim::Utils::Scanner::Remote::__ANON__ (223) Error: Can't connect to remote server to retrieve playlist: Couldn't resolve IP address for: somafm.com. [09-06-22 18:58:25.4754] Slim::Utils::Scanner::Remote::__ANON__ (223) Error: Can't connect to remote server to retrieve playlist: Couldn't resolve IP address for: wmscr1.dr.dk. [09-06-22 19:02:53.0022] Slim::Networking::SqueezeNetwork::_error (455) Unable to login to SN: Couldn't resolve IP address for: www.squeezenetwork.com [09-06-22 19:02:53.0025] Slim::Networking::SqueezeNetwork::_init_error (182) Unable to login to SqueezeNetwork, sync is disabled: Couldn't resolve IP address for: www.squeezenetwork.com [09-06-22 19:02:53.0027] Slim::Networking::SqueezeNetwork::_init_error (192) SqueezeNetwork sync init failed: Couldn't resolve IP address for: www.squeezenetwork.com, will retry in 600 [09-06-22 19:07:03.0022] Slim::Utils::Firmware::downloadAsyncError (546) Warning: Firmware: Failed to download http://update.squeezenetwork.com/update/firmware/7.3.3/jive.version (Couldn't resolve IP address for: update.squeezenetwork.com)
Given that you see this problem on bootup, but not when restarting SC later during the machine's uptime, my first guess is that this is related to initscript order / dependencies. It's likely that SC is getting started on the machine before DNS service is actually available (resolv.conf not yet configured, or something of that sort?). Of course it should deal with that situation more gracefully than it does, but the quickest fix might be to fix the initscript situation and/or delay SC startup a bit somehow.
Probably what it should do is if no local DNS servers respond, keep trying them for every request anyway. Right now it just ends up with an empty array. This was an oversight from ripping out OpenDNS, since before we still had valid servers in the list.
I have this problem on a Fedora 11 installation. Workaround is to restart squeezecenter. I hope a more robust approach for DNS lookup can be written into Squeezecenter to fix this bug. Thanks
*** This bug has been marked as a duplicate of bug 12475 ***
Please try 7.3.4 change 27205. As long as /etc/resolv.conf is available when SC starts it should fix the problem. Download the build from here;http://downloads.slimdevices.com/nightly/?ver=7.3 Report back in the bug and this list if it fixes the issue for you