11

I am working on and android app and, I implemented FireStore and now I keep on getting this error, it repeats aswell.

 W/ManagedChannelImpl: [{0}] Failed to resolve name. status={1}

Anyone knows what this is?

Vital Verleyen
  • 141
  • 1
  • 1
  • 10

4 Answers4

22

There is no Connection to the internet in the device which your app running on!

Mohammad Desouky
  • 734
  • 7
  • 15
  • I have this when I turn on Airplane mode. I wonder which plugin is doing it because it shouldn't keep spamming it. – Dpedrinha Nov 09 '20 at 20:42
  • Quick question is it something i should be worried about in a production app. I have a stream which fetches data and every so often the internet drops. I read that firestore has offline support but i keep seeing this error logged which makes me think about production app. should i be worried – Dylan Karimagoko Jun 09 '22 at 11:55
  • No, as long as your error checking i.e. the ConnectionState, is correct then there shouldn't be any issues. This is due to network connections as mentioned above. So will happen occasionally on a production app if the user disconnects from their network. – Milie Aug 03 '22 at 10:48
10

@AlleyOOP is right. Restarting emulator worked for me.

adiga
  • 34,372
  • 9
  • 61
  • 83
Primož Ivančič
  • 1,984
  • 1
  • 17
  • 29
1

The above-mentioned issue occurred to me, this happens because of network connection. Try turning on and of your network connection if it is a physical device.

If Virtual device, Restart the device

Naveen S
  • 11
  • 5
0

issue in your network. change network provider solved for me

Jegan T
  • 11