title: Google Play Games Services - Realtime Multiplayer - STATUS_CLIENT_RECONNECT_REQUIRED
body: <p>I am trying to implement a real-time multiplayer in my <em>Android</em> game using
  the <em>Google Play Games Services</em> but I am facing an issue when the <code>onRoomCreated</code> method, that I overrided, is called.</p>
  
  <pre><code>  @Override
    public void onRoomCreated(int statusCode, Room room) {
      if (statusCode != GamesStatusCodes.STATUS_OK) {
        stopKeepingScreenOn();
        showGameError();
        return;
      }
      roomId = room.getRoomId();
      showWaitingRoom(room);
    }
  </code></pre>
  
  <p>The status code is always different of <code>GamesStatusCodes.STATUS_OK</code> and actually equal to 2 (+ the <code>room</code> parameter is null), which means according to <a href="https://developers.google.com/android/reference/com/google/android/gms/games/GamesStatusCodes.html#STATUS_CLIENT_RECONNECT_REQUIRED" rel="nofollow noreferrer">Google</a> : </p>
  
  <blockquote>
    <p>The GoogleApiClient is in an inconsistent state and must reconnect to
    the service to resolve the issue. Further calls to the service using
    the current connection are unlikely to succeed.</p>
  </blockquote>
  
  <p>But there is no change if I call <code>getApiClient().reconnect()</code>. So I would really appreciate any help. For information, <code>getApiClient()</code> comes from the <code>GameHelper</code> class that I extend and which is provided in the library from the <a href="https://github.com/playgameservices/android-basic-samples" rel="nofollow noreferrer">Android samples page</a>.</p>