Troubleshooting
NVR Camera Keeps Disconnecting? Find the Cause of Repeated Drops
Diagnose an NVR camera that connects then drops: isolate host sleep, Wi-Fi, PoE, stream load, RTSP transport, authentication, and recording recovery.

Capture the pattern before changing settings
Record the last good frame, first missing recording, reconnection time, camera uptime, and exact error. Note whether one camera drops or every camera drops together. Compare the camera's own viewer during the failure, accounting for the extra connection it creates. A feed that never opens belongs in the initial connection guide; persistent black pictures need the black-screen checks.
| Observed pattern | Evidence to collect | Controlled test |
|---|---|---|
| All cameras drop after inactivity | Host sleep and network logs | Repeat with the host awake |
| One camera restarts | Uptime, PoE events, link changes | Known-good cable and suitable power |
| Drops during busy scenes | Bitrate, uplink errors, client count | One client and a lower-load stream |
| Drops at a repeated interval | Session timeout and keepalive responses | Compare another supported client sequentially |
| Reconnect returns an authentication error | Response code, account and clock state | Verify credentials and relevant time checks |
Check the recorder host's sleep and network state
A computer can stop recording when it sleeps even though its screen was the only thing you expected to turn off. Compare Windows screen and sleep timers, or Mac sleep settings, with the outage times. Test on external power with automatic sleep prevented during the recording window. Record app exits, restarts, VPN changes, and interface changes. Settings and background behavior depend on the actual host and operating system.
Separate Wi-Fi interruptions from PoE or cable failures
If supported, temporarily connect the affected camera and recorder by Ethernet to the same reachable network. Keep stream settings unchanged. Stability on this path points toward the wireless route; inspect access-point disconnections, interference, and uplink congestion before replacing the camera.
For wired cameras, compare uptime with switch link and power events. Swap one cable or suitable PoE port at a time. Check both per-port requirements and the switch's total budget: insufficient PoE power can cause instability. Record whether drops coincide with night illumination or other added loads.
Reduce simultaneous sessions and measure stream load
Close spare camera tabs, test players, and duplicate recorder connections, then observe one client. Axis documents excessive unique streams as a cause of unavailable RTSP service; each model has its own limits. Next, test a documented substream or reduce one bitrate, resolution, or frame-rate setting. Keep a copy of the original configuration.
Check switch counters and host CPU, memory, and disk behavior during a drop. Video traffic can arrive in bursts, so average bandwidth alone may conceal congestion. A smoother preview does not establish uninterrupted recording.
Compare RTSP transports using the same failing conditions
Where both endpoints support a transport choice, compare UDP media with interleaved TCP while holding the camera, profile, and test duration constant. UDP loss can damage video; TCP retransmits lost data but can introduce delay. Interleaved TCP can help when the UDP media path is blocked, but it cannot repair failing power or an overloaded link.
For regular drop intervals, retain the negotiated session timeout and keepalive results. Compare clients sequentially to avoid adding load. A repeating interval is a clue, not a diagnosis.
Investigate authentication and time when the errors support it
After a reconnection failure, distinguish a media timeout from repeated 401 responses, permission failures, or account lockouts. Verify the camera-local account, protocol permissions, and saved password, especially after firmware or account changes. Follow the RTSP authentication checks.
Check camera and host time synchronization when ONVIF errors indicate timestamp validation: some ONVIF authentication modes use timestamp-based tokens. Ordinary stream loss alone does not prove a clock problem. Preserve useful errors without sharing passwords or credential-bearing URLs.
Prove recovery through recorded playback
Run the chosen configuration longer than the previous failure interval, including the busiest or darkest period that triggered drops. During a planned test, briefly interrupt the camera network, restore it, and measure how long live video and new recordings take to return. Avoid power-cycling a device during a firmware update.
Play footage before and after the interruption, identify the actual gap, and export a short recovered clip. Repeat after a recorder restart. If live video returns but recordings do not, continue with recording troubleshooting. Keep the camera model, firmware, stream profile, transport, host version, timestamps, and test outcome for support.
Frequently asked questions
Why does the camera work initially and then disconnect?
An initial connection proves only that a session opened. Compare outage timing with host sleep, camera power, network changes, stream load, and session errors to isolate the later failure.
Should I force RTSP over TCP?
Compare TCP and UDP only when supported, using the same profile and conditions. TCP can help with UDP-path problems, but power, network capacity, and camera limits still need testing.
Does reconnecting mean recording recovered?
Verify new footage in recorded playback and export a recovered clip. A returning preview can hide an ongoing recording failure or a larger gap than expected.
Sources and further reading
- Apple — Set sleep and wake settings for your Mac
- Microsoft — Power settings in Windows 11
- Axis — Troubleshooting guide for streaming issues
- Axis — AXIS OS knowledge base: network traffic and diagnostics
- IETF — RFC 2326: Real Time Streaming Protocol 1.0
- IETF — RFC 7826: Real-Time Streaming Protocol Version 2.0
- TP-Link — PoE power budget and unstable power FAQ
- ONVIF — Core Specification, authentication modes
- OASIS — Web Services Security Username Token Profile 1.1.1
Choose Windows or an Apple device for local recording.
OmniNVR is available on Windows, Mac, iPhone, iPad, and Apple TV. Recording modes, purchase requirements, storage, and review tools vary by released platform build.