title: STTwitter timeout issue with verifyCredentialsWithSuccessBlock in iOS 9
body: <p>I am trying to fetch tweets for a particular account using <a href="https://github.com/nst/STTwitter" rel="nofollow">STTwitter</a> but getting connection timeout error in <strong>iOS 9</strong> for <strong>verifyCredentialsWithSuccessBlock</strong> method.
  I am getting the tweets properly in iOS 8.4 but having trouble in iOS 9.
  There is no issue in performing login with twitter using STTWitter.
  Following is my code:</p>
  
  <pre><code>STTwitterAPI *twitter = [STTwitterAPI twitterAPIAppOnlyWithConsumerKey:_consumerKeyTextField
                                                                  consumerSecret:_consumerSecretTextField];
  
  [twitter verifyCredentialsWithSuccessBlock:^(NSString *bearerToken) {
   [twitter getUserTimelineWithScreenName:@"Ointeractive"
                       successBlock:^(NSArray *statuses) {
  
         self.statuses=[NSArray arrayWithArray:statuses];
         Reachability* wifiReach = [Reachability reachabilityForLocalWiFi];
  
         NetworkStatus netStatus = [wifiReach currentReachabilityStatus];
         if  (netStatus==ReachableViaWiFi) {
              [self updateTwitterLabelAndImage];
              [self addSwipeToTwitterLabel];
         }
      } errorBlock:^(NSError *error) {
        // ...
  
        NSLog(@"-- %@", [error localizedDescription]);
      }];
  
   } errorBlock:^(NSError *error) {
   }];
  </code></pre>
  
  <p>Following is the error that I'm getting:</p>
  
  <pre><code>Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x13889ca50 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "The request timed out." UserInfo={NSErrorFailingURLStringKey=https://api.twitter.com/oauth2/token, NSErrorFailingURLKey=https://api.twitter.com/oauth2/token, _kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4, NSLocalizedDescription=The request timed out.}}, NSErrorFailingURLStringKey=https://api.twitter.com/oauth2/token, NSErrorFailingURLKey=https://api.twitter.com/oauth2/token, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.}
  </code></pre>
  
  <p>I tried increasing the timeout interval and also tried disabling the App Transport Security using instructions in <a href="https://developer.apple.com/library/prerelease/ios/technotes/App-Transport-Security-Technote/" rel="nofollow">this</a> doc but still no luck. Is there any solution to this or will I have to discard STTwitter and switch to twitter integration using fabric?</p>