42

I'm configuring a new Firebase app in Xcode, but get "nw_connection_receive_internal_block_invoke [C1] Receive reply failed with error 'Operation canceled'" printed repeatedly in the console. What should I do to fix this?

This is in Xcode 11 Beta 3, and I've tried creating a new project altogether since the original was created from an older version of Xcode, yet I still get this error printed repeatedly in the console even though all I've done is run it once after configuring.

I expect to see no errors in the console, yet this error is printed many times.

jscs
  • 63,694
  • 13
  • 151
  • 195
Varun S
  • 429
  • 1
  • 4
  • 4

2 Answers2

1

I was getting the same error. My code looked like this:

UserServices().getUserWithUID(uid: user.uid) { (user) in
    self.window?.rootViewController = MapViewController(user: user)
    self.window?.makeKeyAndVisible()
}

All I did to resolve the problem was change my code to this:

let userServices = UserServices()
userServices.getUserWithUID(uid: user.uid) { (user) in
    self.window?.rootViewController = MapViewController(user: user)
    self.window?.makeKeyAndVisible()
}

and the console errors disappeared.

0

I found out, that this popped up, after I inserted a password, that had less characters. Somehow Firebase needs minimum six letters and I tried to use three.

Nirbhay Singh
  • 1,204
  • 1
  • 12
  • 16