# Firebase Auth: auth/network-request-failed — A network AuthError (such as timeout, interrupted connection or unreachable host) has occurred

**Code:** `auth/network-request-failed` · **Category:** Authentication · **Seen on:** REST API

The Firebase Auth SDK couldn’t reach Google’s servers — offline, blocked by an extension/firewall, or (on Android emulators) missing Play Services/network.

## 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

1. Test in an incognito window without extensions
2. Allow https://identitytoolkit.googleapis.com and https://securetoken.googleapis.com in CSP
3. Start the emulator or remove connectAuthEmulator

## Detailed fix by platform

### HTML

1. `<meta http-equiv="Content-Security-Policy" content="connect-src 'self' https://identitytoolkit.googleapis.com https://securetoken.googleapis.com">`

## How to diagnose

1. **Network** — Requests blocked in DevTools?
2. **Extensions** — Disabled test?
3. **Emulator** — Running?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/auth/firebase-auth-network-request-failed)
