Skip to main content

Lorex NVR “Login Return Time Is Up” Error: Resolving RTSP Handshake Timeouts, Port Conflicts, and Subnet Isolation

Updated 12 min readMarkdown

Quick answer: “Login return time is up” means the NVR sent a login or media-session request to a camera but did not receive a valid response before its timeout expired. The usual causes are an IP conflict, changed camera credentials after a firmware update, a blocked RTSP or private Dahua/Lorex service port, or a camera isolated on the NVR’s internal PoE subnet.

What the Error Actually Means

The message does not necessarily mean the camera is offline at Layer 1. It means the NVR attempted a Layer 3 or application-layer exchange and did not receive the expected reply within its configured timeout.

A Lorex NVR commonly has two network interfaces:

Interface Typical Addressing Purpose
External LAN port 192.168.1.x, 10.0.0.x, or another LAN subnet Connects the NVR to the home or business router, allows remote access, and provides NVR administration
Internal PoE switch Often 10.1.1.x, 172.16.x.x, or another private range Powers and communicates directly with cameras connected to the NVR’s PoE ports

A PC connected to the home router normally cannot reach a camera on the NVR’s internal PoE subnet. The NVR acts as the gateway between the external LAN and the private camera network. Trying to browse directly to a camera’s internal IP from a PC will often fail even when the camera is healthy.

RTSP and ONVIF Handshake Flow

Lorex cameras commonly use Dahua-derived services. The NVR may use several TCP ports during discovery, login, live view, and configuration.

Service Common TCP Port Function
HTTP 80 Web interface, ONVIF discovery, and some configuration requests
Alternate HTTP 88 Used by some Dahua/Lorex firmware versions for web or service access
RTSP 554 Establishes and controls the real-time video streaming session
Private service port 37777 Dahua/Lorex proprietary login, configuration, and media-control service
Private service port 37778 Often used for a secondary service or media-related function

The Real Time Streaming Protocol (RFC 2326) defines RTSP as a control protocol for streaming sessions. In practical terms, the NVR must reach the camera on TCP port 554 to establish or control the video stream. If TCP port 554 is filtered, the camera may still respond to a ping but fail to deliver video.

A typical failure sequence is:

  1. The NVR discovers the camera by ARP, IP address, or multicast discovery.
  2. The NVR opens a TCP connection to the camera’s HTTP or private service port.
  3. The NVR submits credentials.
  4. The NVR requests an RTSP session on TCP port 554.
  5. The camera fails to answer, rejects the credentials, or returns an incompatible response.
  6. The NVR displays “Login return time is up.”

Error State Reference

Error Message or Symptom Root Cause Exact Hardware or Network Fix
“Login return time is up” on one channel Camera IP changed, duplicate IP, or camera is offline Check the camera link LED, inspect the PoE port, and scan the internal camera subnet for duplicate addresses
Error appears after a camera firmware update Password changed, service port changed, or ONVIF profile mismatch Re-add the camera using its current IP, username, password, and correct protocol
Error appears after NVR firmware update NVR channel protocol, port, or authentication setting changed Reinitialize the channel, confirm the camera protocol, and re-enter credentials
Camera pings but video does not display RTSP port 554 or private service port is blocked Verify port 554 and 37777 reachability from the NVR; remove a conflicting firewall or VLAN rule
Camera is unreachable from a PC Camera resides on the NVR internal PoE subnet Access the camera through the NVR interface or connect a PC to the NVR’s internal PoE network only for advanced diagnostics
Multiple cameras fail at once NVR internal switch, PoE budget, VLAN, or subnet misconfiguration Check PoE consumption, reboot the NVR, and verify the internal camera subnet
Camera works by IP but not through NVR Incorrect channel protocol, credentials, or port mapping Delete and re-add the camera channel with the correct IP, protocol, and service ports

First: Determine the Camera’s Network Location

Do not assume that the IP address shown in the NVR is reachable from your PC. If the camera uses an address such as 10.1.1.65 while your PC uses 192.168.1.50, the camera is likely behind the NVR’s internal PoE switch.

The NVR routes or proxies traffic between the two networks. A direct browser connection from the PC to 10.1.1.65 can fail because the PC has no route to that subnet.

Check the NVR’s network settings:

  1. Open the NVR administration interface.
  2. Go to Network, TCP/IP, or Network Settings.
  3. Record the external LAN IP address, subnet mask, and gateway.
  4. Open Camera, IP Channel, or Device Management.
  5. Record each camera’s IP address, protocol, port, username, and channel status.
  6. Identify whether the camera IP belongs to the external LAN subnet or the internal PoE subnet.

If the camera IP is in the internal subnet, use the NVR’s camera-management interface to test, reboot, reinitialize, or re-add the channel. Do not change the camera IP to the external LAN range unless the camera is physically connected to the external LAN switch.

A camera that has lost PoE power or Ethernet link cannot answer an RTSP request. Before investigating credentials or ports, inspect the physical layer.

Observation Likely Meaning Action
Camera LED is off No PoE power, failed cable, dead port, or camera fault Reseat the cable, test another PoE port, and verify PoE budget
Camera LED blinks but never turns solid Link negotiation, firmware boot issue, or insufficient power Test with a known-good PoE injector or switch port
Camera LED is solid but NVR shows timeout Layer 1 is up, but IP, credentials, or service port is wrong Test ping and TCP ports from the NVR-side network
NVR PoE port LED is off PoE port disabled, cable fault, or camera power issue Enable the port, replace the cable, and test the camera on another port
Multiple cameras lose video simultaneously NVR PoE power budget exceeded or internal switch fault Calculate PoE load and reduce connected high-draw devices

Many Lorex and Dahua-style cameras negotiate IEEE 802.3af or 802.3at power. A camera may draw more power during infrared illumination, heater operation, or PTZ movement. If the NVR’s PoE budget is already near its limit, adding a camera can cause voltage sag, reboot loops, or intermittent Ethernet negotiation.

For diagnosis, use the IP camera status LED and PoE troubleshooting guide to separate a power or cabling fault from an IP or RTSP configuration fault.

Test IP Reachability From the Correct Side

If the camera is connected to the NVR’s internal PoE port, the most reliable test is from the NVR itself. Many Lorex NVR interfaces include a network test, ping tool, or camera reinitialize function.

If your PC is on the same subnet as the camera, use these commands.

Windows Command Prompt

cmd

ping 10.1.1.65\ arp -a\ curl -v --connect-timeout 5 http://10.1.1.65:80\ curl -v --connect-timeout 5 http://10.1.1.65:88

To test whether the RTSP port accepts a TCP connection, use PowerShell:

powershell

Test-NetConnection 10.1.1.65 -Port 554\ Test-NetConnection 10.1.1.65 -Port 37777\ Test-NetConnection 10.1.1.65 -Port 80

Linux or macOS Terminal

bash

ping -c 4 10.1.1.65\ ip neigh show\ curl -v --connect-timeout 5 http://10.1.1.65:80\ curl -v --connect-timeout 5 http://10.1.1.65:88\ nc -vz -w 5 10.1.1.65 554\ nc -vz -w 5 10.1.1.65 37777

On macOS, if nc is unavailable or restricted, use:

bash

nc -vz -w 5 10.1.1.65 554\ nc -vz -w 5 10.1.1.65 37777

Port Test Interpretation

Test Result Meaning Next Action
Ping fails and ARP entry is missing Camera is offline, powered down, or on another subnet Check PoE, cable, camera LED, and NVR port status
Ping succeeds, port 554 fails RTSP service is blocked, disabled, or using another port Check camera network settings and re-add the NVR channel
Ping succeeds, port 37777 fails Private Dahua/Lorex service is blocked or changed Confirm the camera protocol and service port in the NVR
Ports 554 and 37777 succeed, login still fails Credentials, user permissions, or firmware incompatibility Reset the camera password or re-add the channel
Camera responds on port 80 but not 554 RTSP service disabled or nonstandard RTSP port configured Set RTSP port to 554 or update the NVR channel configuration

Resolve IP Conflicts

An IP conflict can produce intermittent “Login return time is up” errors. Two devices may claim the same address, causing ARP replies to alternate between hardware addresses.

On Windows, inspect the ARP cache:

cmd

arp -d *\ ping 10.1.1.65\ arp -a

On Linux or macOS:

bash

ip neigh flush all\ ping -c 4 10.1.1.65\ ip neigh show

If the MAC address changes between pings, another device is likely using the same IP. Assign the camera a unique static address outside the DHCP pool, or create a DHCP reservation in the NVR or router.

Use this addressing approach:

Device Type Recommended Addressing Method
NVR external LAN port Static IP outside the router DHCP pool, or a DHCP reservation
Cameras on NVR internal PoE switch Static IP within the NVR internal subnet, outside its DHCP pool
Cameras on external LAN switch DHCP reservation or static IP outside the router DHCP pool
PCs, phones, and tablets Normal DHCP allocation

Avoid placing cameras in the middle of a DHCP range. For example, if the NVR internal DHCP range is 10.1.1.100 through 10.1.1.200, assign cameras addresses such as 10.1.1.20 through 10.1.1.60.

Correct Credential and Protocol Mismatches

A firmware update can change the camera password, disable a legacy account, alter ONVIF behavior, or change the service port. The NVR may retain the old channel configuration and continue sending credentials that the camera no longer accepts.

Use this recovery sequence:

  1. Identify the camera’s current IP address in the NVR.
  2. Remove or disable the affected channel.
  3. Reboot the camera from the NVR interface if available.
  4. Re-add the camera using its current IP address.
  5. Select the correct protocol: Private/Dahua, ONVIF, or RTSP, as supported by the NVR.
  6. Enter the current username and password.
  7. Confirm the HTTP port, RTSP port, and private service port.
  8. Save the channel and allow the NVR to reconnect.

Do not repeatedly enter credentials into a locked account. Some camera firmware applies temporary lockouts after several failed authentication attempts. Wait for the lockout period, confirm the password, and then retry once.

VLAN and Firewall Isolation

If the cameras are connected to an external managed switch rather than the NVR’s built-in PoE ports, VLAN configuration can isolate them from the NVR.

A camera on VLAN 20 cannot communicate with an NVR on VLAN 10 unless a router or Layer 3 switch permits routed traffic between those VLANs. A firewall rule can also allow ping but block TCP ports 554 or 37777, producing a confusing “camera responds but will not log in” condition.

Network Condition Effect on NVR Login Correct Configuration
Camera and NVR on the same VLAN ARP and TCP sessions can complete normally Keep both devices in the same VLAN or permit required inter-VLAN traffic
Camera and NVR on different VLANs Ping may work, but RTSP or service ports may be blocked Permit TCP 554, 80 or 88, and 37777 between the VLANs
Guest VLAN isolation enabled Client-to-client traffic is blocked Move cameras and NVR to a trusted camera VLAN
Firewall blocks unsolicited inbound traffic NVR cannot initiate a session to the camera Create an explicit rule allowing NVR-to-camera traffic
IGMP or multicast filtering is aggressive Discovery may fail, though direct IP access works Use static IP camera channels or permit required multicast traffic

For a direct IP camera connection, ensure the NVR can initiate TCP connections to the camera on ports 554, 80 or 88, and 37777. Do not rely on ping alone as proof that RTSP will work.

Practical Recovery Order

Use this sequence before replacing hardware:

  1. Confirm the camera power LED and Ethernet link LED.
  2. Confirm the camera is connected to the correct NVR PoE port or external switch.
  3. Identify whether the camera IP belongs to the internal PoE subnet or external LAN subnet.
  4. Reboot the individual camera from the NVR interface.
  5. Check for duplicate IP addresses and ARP instability.
  6. Re-add the camera channel with the current IP, protocol, credentials, and ports.
  7. Test TCP ports 554, 80 or 88, and 37777 from the correct network side.
  8. Inspect VLAN and firewall rules if the camera is on an external managed switch.
  9. Update the camera and NVR firmware only after backing up the current configuration.
  10. If one camera fails on every PoE port, suspect the camera. If every camera fails on one port, suspect the port, cable, or PoE budget.

For a step-by-step diagnostic sequence tailored to this exact error, use the walkthrough for the Lorex return time is up login error.

This guidance is general and may not match every NVR firmware revision. Verify your device IP scheme and consult manufacturer documentation before modifying camera network configurations.

Published by Router IP Guide: Independent Hardware Networking & Gateway Diagnostic Suite.

About the author

  • Documenting IPv4/IPv6 routing architecture, local gateway protocols, and subnet administration

No comments yet. Be the first to comment.