Firebase Auth: auth/network-request-failed — A network AuthError (such as timeout, interrupted connection or unreachable host) has occurred
The Firebase Auth SDK couldn’t reach Google’s servers — offline, blocked by an extension/firewall, or (on Android emulators) missing Play Services/network.
A network AuthError (such as timeout, interrupted connection or unreachable host) has occurred Meaning
Ad blockers and privacy extensions block identitytoolkit.googleapis.com, corporate networks block Google APIs, emulators without internet, and CSP rules that don’t allow the endpoints cause this.
Common causes
- Device/emulator offline
- Ad blocker/privacy extension blocking Google endpoints
- CSP connect-src missing Google domains
- Auth emulator configured but not running
⚡ Quick fix
- Test in an incognito window without extensions
- Allow https://identitytoolkit.googleapis.com and https://securetoken.googleapis.com in CSP
- Start the emulator or remove connectAuthEmulator
Detailed fix by platform
HTML
<meta http-equiv="Content-Security-Policy" content="connect-src 'self' https://identitytoolkit.googleapis.com https://securetoken.googleapis.com">
How to diagnose
- Network — Requests blocked in DevTools?
- Extensions — Disabled test?
- Emulator — Running?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in Authentication
- disallowed_useragent Google OAuth: Error 403: disallowed_useragent (sign-in from an embedded WebView)
- invalid_token invalid_token: The access token is invalid (JsonWebTokenError: invalid signature / jwt malformed)
- Access blocked: has not completed the Google verification process Google OAuth: Error 403: access_denied — The developer hasn't given you access to this app / has not completed the Google verification process
Other ways to find it
Where this error sits
Origin: Application & API. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 13 Oct 2026