Detect in real time whether you have an Internet connection and whether the server responds. Try enabling airplane mode, disconnecting WiFi, or stopping the server.

Current status

Network (browser)
Online
Server
Checking...
-
0

Heartbeat

Every 5 seconds a fetch is made to the server. If it fails, it retries with exponential backoff.

How it works

1. Browser online/offline events

Instant detection when the device loses or regains its network connection.

2. HTTP heartbeat

Every 5s a fetch is made to the /ping endpoint. If it responds OK, the server is alive.

3. Automatic reconnection

If the ping fails, it retries with exponential backoff (1s, 2s, 4s... up to 30s). When the network returns, it retries immediately.

Event log