title: Game Center Error
body: <p>I am following a tutorial here . <a href="http://www.raywenderlich.com/3325/how-to-make-a-simple-multiplayer-game-with-game-center-tutorial-part-22" rel="nofollow">Multiplayer Game iOS</a></p>
  
  <p>I am using following code from above tutorial for Match Making</p>
  
  <pre><code>GKMatchRequest *request = [[[GKMatchRequest alloc] init] autorelease]; 
  request.minPlayers = minPlayers;     
  request.maxPlayers = maxPlayers;
  request.playersToInvite = pendingPlayersToInvite;
  
  GKMatchmakerViewController *mmvc = [[[GKMatchmakerViewController alloc] initWithMatchRequest:request] autorelease];    
  mmvc.matchmakerDelegate = self;
  
  [presentingViewController presentModalViewController:mmvc animated:YES];
  </code></pre>
  
  <p>When I search for other players using Play Now option, the <code>GKMatchmakerViewController</code> dismissed immediately delegating <code>matchmakerViewController:didFailWithError</code> with following error.</p>
  
  <pre><code>Error Domain=GKErrorDomain Code=3 "The requested operation could not be 
  completed due to an error communicating with the server." UserInfo=0x2081d8d0
  {GKServerStatusCode=5001, NSUnderlyingError=0x2086c560 "The operation couldn’t be 
  completed. (GKServerErrorDomain error 5001.)", NSLocalizedDescription=The requested
  operation could not be completed due to an error communicating with the server.}
  </code></pre>
  
  <p>I have not been able to figure why is it happening so. The same code was previously able to search and find appropriate players but failed when fetching player aliases using </p>
  
  <pre><code>[GKPlayer loadPlayersForIdentifiers:match.playerIDs withCompletionHandler:^(NSArray *players, NSError *error)
  </code></pre>
  
  <p>with 'Could not communicate to server' error.</p>
  
  <p>The code however, works fine on simulator.</p>