[SOLVED] trying to connect iphone using Apple Remote

Forum to discuss MonkeyTunes DACP Server for MediaMonkey

[SOLVED] trying to connect iphone using Apple Remote

Postby kenhardwick » Wed Feb 09, 2011 3:09 am

My first post may be niaive in which case I apologise in advance.
I am trying to connect using the iPhone "Remote" app, and where it works fine with iTunes, it will not connect to MM.
I can see the phone in the tree and it seems to accept the 4 digit code, but the connection never completes.
I have submitted the log file for your perusal.
The port numbers were changed to see if that had any effect but no success. They are now back to original.
Your help would be appreciated. ................ Ken
[Header]
2011-02-09 00:18:16,476 [INFO ] - (1) - *** Creating MonkeyTunes Server 1.4.9.0 ***
2011-02-09 00:18:16,492 [INFO ] - (1) - *** Called From MediaMonkey Auto Init Script ***
2011-02-09 00:18:18,367 [INFO ] - (1) - Attaching to MediaMonkey Events
2011-02-09 00:18:18,398 [INFO ] - (1) - MediaMonkey Version: 3.2.4
2011-02-09 00:18:18,398 [INFO ] - (1) - MonkeyTunes Version: 1.4.9.0
2011-02-09 00:18:18,398 [INFO ] - (1) - OS: Microsoft Windows NT 5.1.2600 Service Pack 3
2011-02-09 00:18:18,398 [INFO ] - (1) - Machine: KEN_DOWNSTAIRS
2011-02-09 00:18:18,398 [INFO ] - (1) - .NET Framework: 2.0.50727.3615
2011-02-09 00:18:18,461 [INFO ] - (1) - IP Address : 192.168.2.4
2011-02-09 00:18:18,476 [INFO ] - (1) - Initializing MonkeyTunesServer...
2011-02-09 00:18:18,476 [INFO ] - (1) - Starting DACPServer...
2011-02-09 00:18:18,476 [INFO ] - (1) - Checking Port 3689
2011-02-09 00:18:18,476 [INFO ] - (1) - Port 3689 available = False
2011-02-09 00:18:18,476 [INFO ] - (1) - Checking Port 3690
2011-02-09 00:18:18,476 [INFO ] - (1) - Port 3690 available = True
2011-02-09 00:18:18,492 [INFO ] - (1) - Initializing DACPPairingDatabase
2011-02-09 00:18:18,492 [INFO ] - (1) - Creating DACPPairingDatabase....
2011-02-09 00:18:18,492 [INFO ] - (1) - Deserializing XML file: C:\Documents and Settings\ken\Application Data\MonkeyTunes\MonkeyTunes.xml
2011-02-09 00:18:18,898 [INFO ] - (1) - Creating DACPPairingDatabase....
2011-02-09 00:18:18,898 [INFO ] - (1) - Initializing DACPPairingServer...
2011-02-09 00:18:18,914 [INFO ] - (1) - mDNS Version: 214.3.8
2011-02-09 00:18:18,976 [INFO ] - (1) - Starting Listener http://+:3690/...
2011-02-09 00:18:19,008 [INFO ] - (1) - START Refreshing Cache...
2011-02-09 00:18:19,008 [INFO ] - (1) - Browsing Artists...
2011-02-09 00:18:19,086 [INFO ] - (1) - SQL: SELECT Artists.Artist, Artists.Id, Artists.Albums, Artists.Tracks FROM Artists WHERE Artists.Albums != 0 ORDER BY Artists.Artist
2011-02-09 00:18:19,101 [INFO ] - (1) - Browsing Composers...
2011-02-09 00:18:19,101 [INFO ] - (1) - SQL: SELECT DISTINCT Artists.Artist FROM Artists, ArtistsSongs, GenresSongs, Genres WHERE Genres.GenreName = 'Classical' AND Artists.ID=ArtistsSongs.IDArtist AND Artists.Albums != 0 AND ArtistsSongs.IDSong=GenresSongs.IDSong AND Genres.IDGenre = GenresSongs.IDGenre ORDER BY Artists.Artist
2011-02-09 00:18:19,101 [INFO ] - (1) - Browsing Genres...
2011-02-09 00:18:19,101 [INFO ] - (1) - SQL: SELECT Genres.GenreName FROM Genres ORDER BY Genres.GenreName
2011-02-09 00:18:19,101 [INFO ] - (1) - Getting Playlists...
2011-02-09 00:18:19,101 [INFO ] - (1) - SQL: SELECT Playlists.IDPlaylist, IFNULL(Playlists.IsAutoPlaylist, 0) IsAutoPlaylist,IFNULL((SELECT A.PlaylistName FROM Playlists A WHERE A.IDPlaylist=Playlists.ParentPlaylist), 'Root') || ' - ' || Playlists.PlaylistName AS NAME, COUNT(PlaylistSongs.IDPlaylistSong) as REC_COUNT FROM Playlists LEFT OUTER JOIN PlaylistSongs ON Playlists.IDPlaylist = PlaylistSongs.IDPlaylist GROUP BY Playlists.IDPlaylist, IsAutoPlaylist, NAME ORDER BY NAME
2011-02-09 00:18:19,117 [INFO ] - (1) - Gettings Albums...
2011-02-09 00:18:19,117 [INFO ] - (1) - SQL: SELECT DISTINCT Albums.ID,Albums.Artist,Albums.Album,Albums.Tracks FROM Albums ORDER BY Albums.Album
2011-02-09 00:18:19,117 [INFO ] - (1) - FINISHED Refreshing Cache...
2011-02-09 00:18:19,117 [INFO ] - (1) - Garbage Collecting to prevent SQL Queries from statying open and causing MM problems
2011-02-09 00:18:19,117 [INFO ] - (1) - *** Init method complete ***
2011-02-09 00:18:19,711 [INFO ] - (8) - Published mDNS Service: domain(local.) type(_touch-able._tcp.) name(529BBC15529BBC1)
2011-02-09 00:18:19,711 [INFO ] - (6) - Published mDNS Service: domain(local.) type(_http._tcp.) name(MonkeyTunes KEN_DOWNSTAIRS)
2011-02-09 00:18:52,336 [INFO ] - (9) - NetServiceBrowser_DidFindService: 051c366c8e60187d41f9e2aa2318791df81018ce
2011-02-09 00:18:53,289 [INFO ] - (12) - NetServiceBrowser DidResolveService: 051c366c8e60187d41f9e2aa2318791df81018ce
2011-02-09 00:18:53,289 [INFO ] - (12) - OnClientListChanged: New DACP Clients discovered...
2011-02-09 00:18:54,461 [INFO ] - (9) - NetServiceBrowser_DidRemoveService: 051c366c8e60187d41f9e2aa2318791df81018ce
2011-02-09 00:18:54,461 [INFO ] - (9) - OnClientListChanged: New DACP Clients discovered...
2011-02-09 00:19:01,148 [INFO ] - (9) - NetServiceBrowser_DidFindService: 051c366c8e60187d41f9e2aa2318791df81018ce
2011-02-09 00:19:02,164 [INFO ] - (11) - NetServiceBrowser DidResolveService: 051c366c8e60187d41f9e2aa2318791df81018ce
2011-02-09 00:19:02,164 [INFO ] - (11) - OnClientListChanged: New DACP Clients discovered...
2011-02-09 00:19:16,055 [INFO ] - (1) - Attempting to Pair Service: 051c366c8e60187d41f9e2aa2318791df81018ce
2011-02-09 00:19:17,445 [INFO ] - (9) - NetServiceBrowser_DidRemoveService: 051c366c8e60187d41f9e2aa2318791df81018ce
2011-02-09 00:19:17,445 [INFO ] - (9) - OnClientListChanged: New DACP Clients discovered...
2011-02-09 00:23:10,680 [ERROR] - (1) - Error On Node Focused
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Melloware.MonkeyTunes.MonkeyTunesServer.XNfq3hSWu(SDBTreeNode )
2011-02-09 00:33:05,617 [INFO ] - (9) - NetServiceBrowser_DidFindService: 051c366c8e60187d41f9e2aa2318791df81018ce
2011-02-09 00:33:06,648 [INFO ] - (11) - NetServiceBrowser DidResolveService: 051c366c8e60187d41f9e2aa2318791df81018ce
2011-02-09 00:33:06,648 [INFO ] - (11) - OnClientListChanged: New DACP Clients discovered...
2011-02-09 00:33:20,055 [INFO ] - (1) - Attempting to Pair Service: 051c366c8e60187d41f9e2aa2318791df81018ce
2011-02-09 00:33:21,476 [INFO ] - (14) - NetServiceBrowser_DidRemoveService: 051c366c8e60187d41f9e2aa2318791df81018ce
2011-02-09 00:33:21,476 [INFO ] - (14) - OnClientListChanged: New DACP Clients discovered...
kenhardwick
 
Posts: 2
Joined: Tue Feb 08, 2011 7:39 pm

Re: trying to connect iphone using Apple Remote

Postby Melloware » Wed Feb 09, 2011 6:43 am

First I am moving this post to the MOnkeyTunes forum, you put this in the iMonkey forum.

Second your issue is that your are still running iTunes at the same time.

Code: Select all
2011-02-09 00:18:18,476 [INFO ] - (1) - Port 3689 available = False
2011-02-09 00:18:18,476 [INFO ] - (1) - Checking Port 3690
2011-02-09 00:18:18,476 [INFO ] - (1) - Port 3690 available = True


Please shut down iTunes before starting MonkeyTunes.

Third, it might be your firewall rules. iTunes can automatically get around certain firewall rules that MediaMonkey can't so you might have to create firewall rules like in this FAQ:

http://www.assembla.com/wiki/show/melloware/MonkeyTunes_Troubleshooting_FAQ

Other than that your log looks GOOD.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11090
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Re: trying to connect iphone using Apple Remote

Postby kenhardwick » Fri Feb 11, 2011 11:34 am

Thanks, the firewall was the problem and opening the specified ports as detailed in your response has cured it.

Thanks for the prompt help
kenhardwick
 
Posts: 2
Joined: Tue Feb 08, 2011 7:39 pm

Re: trying to connect iphone using Apple Remote

Postby Melloware » Fri Feb 11, 2011 12:28 pm

Fantastic! I will mark it solved.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11090
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Re: [SOLVED] trying to connect iphone using Apple Remote

Postby kokkie » Tue Feb 15, 2011 2:23 pm

I am having the same problem. I first opened all the required ports, set the forwarding on both router and windows firewall, then proceeded to simply turn off all firewalls, in both my router and windows. This did not resolve the problem.

I do not have MAC filtering turned on. Although a few devices on the network are assigned fixed IP addresses based on their MAC address. I do not have iTunes installed, since I hate it with a vengeance.

I do have two connected routers, but both phone (iPhone 3Gs) and desktop (Win7 64-bit) running MediaMonkey are connected to the same router. Phone wirelessly, desktop wired. All software are latest versions. No problem sending, receiving pairing code, but actual connection times out.

Please help!
kokkie
 
Posts: 1
Joined: Tue Feb 15, 2011 2:12 pm

Re: [SOLVED] trying to connect iphone using Apple Remote

Postby Melloware » Tue Feb 15, 2011 2:42 pm

Also check the outgoing traffic. After the PIN code is accepted MOnkeyTunes then calls back the Server with an HTTP Request. On Android it is always port 1024 but for Apple Remote it could be anything. You can check your MOnkeyTunes log file by right clicking on the MonkeyTunes treenode and doing View Log File...
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11090
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Re: [SOLVED] trying to connect iphone using Apple Remote

Postby Melloware » Mon Apr 18, 2011 1:05 pm

=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11090
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA


Return to MonkeyTunes for MediaMonkey

Who is online

Users browsing this forum: No registered users and 2 guests

cron