Bug 5918 - Can't resolve slimdevices names
: Can't resolve slimdevices names
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: mDNS
: 7.0
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-26 01:39 UTC by Philip Meyer
Modified: 2007-10-27 09:31 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
asyncdns debug log file (15.17 KB, text/plain)
2007-10-26 17:31 UTC, Philip Meyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Meyer 2007-10-26 01:39:38 UTC
I can see in my log that SqueezeCenter frequently can't resolve update.slimdevices.com or squeezenetwork.  I have tried to resolve these names in other applications from the same PC, running under the same account, and the names always resolve to an IP address.
Comment 1 Andy Grundman 2007-10-26 06:47:56 UTC
This should be fixed now.  Please submit a debug log with network.asyncdns if you are still seeing it.
Comment 2 Philip Meyer 2007-10-26 17:30:07 UTC
Still getting errors.  Will attach a debug log file.
Comment 3 Philip Meyer 2007-10-26 17:31:03 UTC
Created attachment 2316 [details]
asyncdns debug log file
Comment 4 Andy Grundman 2007-10-26 17:37:34 UTC
The DNS requests in the log all look good, but the HTTP requests just timed out for some reason.  I would suggest removing all 3rd party plugins if nothing else is working.  Some plugins don't play nice and block the server from performing other tasks which can cause timeouts like this.  If you see it again, get a log with this command:

./slimserver.pl --debug network.asyncdns,network.asynchttp --perfwarn 0.5

perlwarn will display if anything is blocking the server for more than half a second.
Comment 5 Philip Meyer 2007-10-27 04:34:04 UTC
Yes, I can see in my log that it is now resolving the names, but timing out at startup due to CustomBrowse plugin processing.
Comment 6 Erland Isaksson 2007-10-27 05:56:07 UTC
I believe this is the same problem as:
https://bugs-archive.lyrion.org/show_bug.cgi?id=5830

The problem occurs because Custom Browse needs to perform an operation after initPlugin, it does this by calling Slim::Utils::Scheduler::add_task and SqueezeCenter can't handle this if the task takes too much time. There is a sample plugin attached to bug 5830 which can be used to reproduce the problem.
Comment 7 Andy Grundman 2007-10-27 09:31:14 UTC
Yep it's the same problem.