title: TIC TCP Conn Failed [4:0x604000360300]: 1:61 Err(61) <1> HTTP load failed (error code: -1004
body: <p>I'm trying to handle a login with the Facebook SDK but I have this error:</p>
  
  <pre><code>2018-08-18 20:50:30.913552+0000 FoodTaskerMobile[1370:39985] TIC TCP Conn Failed [4:0x604000360300]: 1:61 Err(61)
  2018-08-18 20:50:30.915921+0000 FoodTaskerMobile[1370:39985] Task &lt;D93AC55D-9E5E-4B25-B48E-5799A19F5F3C&gt;.
  &lt;1&gt; HTTP load failed (error code: -1004 [1:61])
  </code></pre>
  
  <p>This is my class code:</p>
  
  <pre><code>class LoginViewController: UIViewController {
      @IBOutlet weak var bLogout: UIButton!
      @IBOutlet weak var bLogin: UIButton!
  
      var fbLoginSuccess = false
      var userType: String = USERTYPE_CUTOMER
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          if (FBSDKAccessToken.current() != nil) {
              bLogout.isHidden = false
              FBManagar.getFBUserData(completionHandler: {
                  self.bLogin.setTitle("Continue as \(User.currentUser.email!)", for: .normal)
                  // self.bLogin.sizeToFit()
              })
          }
      }
  
      override func viewDidAppear(_ animated: Bool) {
          if (FBSDKAccessToken.current() != nil &amp;&amp; fbLoginSuccess == true) {
              performSegue(withIdentifier: "CustomerView", sender: self)
          }
      }
  </code></pre>
  
  <p>I just fixed a <code>canOpenUrl</code> issue (OSStatus error -10814.) and now error 1004 showed up.</p>