Change8
Error1 reports

Fix UnknownHostException

in Firebase Auth

Solution

UnknownHostException in firebase-auth usually indicates a DNS resolution problem, meaning your application can't translate the Firebase server's hostname into an IP address. Ensure your device or emulator has a stable internet connection and that your network allows DNS lookups. You can also try switching to a public DNS server (like Google's 8.8.8.8) in your network settings to resolve potential DNS server issues.

Related Issues

Real GitHub issues where developers encountered this error:

Timeline

First reported:Apr 2, 2025
Last reported:Apr 2, 2025

Need More Help?

View the full changelog and migration guides for Firebase Auth

View Firebase Auth Changelog