View unanswered posts | View active topics It is currently Thu May 23, 2013 4:57 pm



Reply to topic  [ 6 posts ] 
 iTunes server unavailable 
Author Message

Joined: Apr 24, 2009
Posts: 38
Location: Florida
Post iTunes server unavailable
I keep having this problem, almost every day:


iTunes Error iTunes Server stopped due to the following error:

Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/iTunes.indigoPlugin/Contents/Server Plugin/statusThread.py", line 120, in run
self.iTunesController.iTunesLogin()
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/iTunes.indigoPlugin/Contents/Server Plugin/itunes.py", line 62, in iTunesLogin
raise UnknownError("ITunesController.iTunesLogin() Error getting initial cache update: " + traceback.format_exc(10))
UnknownError: 'ITunesController.iTunesLogin() Error getting initial cache update: Traceback (most recent call last):\n File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/iTunes.indigoPlugin/Contents/Server Plugin/itunes.py", line 60, in iTunesLogin\n self.updateCache()\n File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/iTunes.indigoPlugin/Contents/Server Plugin/itunes.py", line 184, in updateCache\n d = self.send_cmd(\'/update\')\n File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/iTunes.indigoPlugin/Contents/Server Plugin/dacp.py", line 586, in send_cmd\n return self.send_raw(cmd + \'?\' + self.urlencode(args))\n File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/iTunes.indigoPlugin/Contents/Server Plugin/dacp.py", line 577, in send_raw\n raise DACPException(TOUCHABLE_REQUEST_TIMEOUT_ERROR, "error (probably timeout): " + str(e))\nDACPException: 600 - error (probably timeout): timed out\n'


iTunes Error iTunes Server has an unknown error - disabling


Sun Jul 22, 2012 9:34 pm
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6661
Location: Austin, Texas
Post Re: iTunes server unavailable
Yeah, I've recently noticed that error. I think something about how iTunes responds to DACP (the undocumented protocol we use to talk to it) changed in some newer version of iTunes. My testing shows that whenever iTunes is restarted the plugin isn't able to automatically reconnect like it used to and that seems to be the error. Anyway I'm looking into it - hopefully I can figure out what the protocol wants in that scenario. I really wish Apple would publish a real API for doing this sort of thing...

EDIT - actually, looking closer at your trace, that's not exactly the error I'm seeing. That error looks like there is some sort of network issue between the plugin and the iTunes instance it's talking to. Are they on separate Macs?

_________________
Jay (Indigo Support)
Image


Mon Jul 23, 2012 8:48 am
Profile WWW

Joined: Apr 24, 2009
Posts: 38
Location: Florida
Post Re: iTunes server unavailable
Nope, everything is contained on the same machine. Could it have anything to do with the fact that iTunes is set to play through remote speakers?


Mon Jul 23, 2012 12:02 pm
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6661
Location: Austin, Texas
Post Re: iTunes server unavailable
Definitely shouldn't. Unless iTunes gets hung up trying to communicate with the speakers. iTunes has an annoying habit of starting the spinning beach ball and when that happens it does NOTHING. So any communication we're doing with DACP gets completely thrashed. Though the spinning beach ball doesn't always happen. For instance, when you hook up an iOS device and it starts the sync process, DACP comm becomes really flakey.

The 600 error you're seeing is a network timeout. Since you're running locally I think it means that iTunes is just going out to lunch trying to do something. I suppose it could also mean that your Mac is having some trouble as well...

_________________
Jay (Indigo Support)
Image


Mon Jul 23, 2012 6:43 pm
Profile WWW

Joined: Apr 24, 2009
Posts: 38
Location: Florida
Post Re: iTunes server unavailable
We also have SafeEyes running on this Mac. It causes issues sometime and is constantly communicating with its home server. That could have something to do with it too.


Mon Jul 23, 2012 8:34 pm
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6661
Location: Austin, Texas
Post Re: iTunes server unavailable
No idea what that is, but if it's caused other issues I'd just disable it for a while and see if the problem persists.

_________________
Jay (Indigo Support)
Image


Tue Jul 24, 2012 8:32 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.