Skip to content

Delay connection attempts #727

@curtishall

Description

@curtishall

Currently the connection retry attempt is immediate, if a password is entered incorrectly or connection drops the server will slam the server with RTSP connections causing some cameras to freak out or block the server

025-01-04T04:00:00.319266-04:00 bluecherry-nvr bc-server[952]: E(1/Garage): Read error from stream: End of file
2025-01-04T04:00:02.884140-04:00 bluecherry-nvr bc-server[248338]: OK
2025-01-04T04:00:02.933566-04:00 bluecherry-nvr bc-server[952]: E(1/Garage): Failed to open stream. Error: -111 (Connection refused)
2025-01-04T04:00:02.933662-04:00 bluecherry-nvr bc-server[952]: E(1/Garage): Error starting device stream:
2025-01-04T04:00:05.338361-04:00 bluecherry-nvr bc-server[251017]: OK
2025-01-04T04:00:05.381779-04:00 bluecherry-nvr bc-server[952]: E(1/Garage): Failed to open stream. Error: -111 (Connection refused)
2025-01-04T04:00:56.264822-04:00 bluecherry-nvr bc-server[952]: E(1/Garage): Stream started after failures
2025-01-04T04:00:56.265000-04:00 bluecherry-nvr bc-server[952]: I(1/Garage): Stream started: h264, 1/90000(s) 1/90000(c)
2025-01-04T04:00:56.279033-04:00 bluecherry-nvr bc-server[952]: W(1/Garage): Failed to initialize VAAPI decoder for stream
2025-01-04T04:00:58.015596-04:00 bluecherry-nvr bc-server[251018]: OK
2025-01-04T05:05:00.061732-04:00 bluecherry-nvr bc-server[952]: E(2/Driveway): Read error from stream: End of file
2025-01-04T05:05:00.108182-04:00 bluecherry-nvr bc-server[952]: E(2/Driveway): Failed to open stream. Error: -111 (Connection refused)
2025-01-04T05:05:00.108249-04:00 bluecherry-nvr bc-server[952]: E(2/Driveway): Error starting device stream:
2025-01-04T05:05:00.152707-04:00 bluecherry-nvr bc-server[952]: E(2/Driveway): Failed to open stream. Error: -111 (Connection refused)
2025-01-04T05:05:31.285379-04:00 bluecherry-nvr bc-server[952]: E(2/Driveway): Last message repeated 1 times!
2025-01-04T05:05:31.288057-04:00 bluecherry-nvr bc-server[952]: E(2/Driveway): Stream started after failures
2025-01-04T05:05:31.307299-04:00 bluecherry-nvr bc-server[952]: W(2/Driveway): Failed to initialize VAAPI decoder for stream
2025-01-04T05:05:32.743868-04:00 bluecherry-nvr bc-server[952]: E(2/Driveway): Failure in recording writing
2025-01-04T08:12:20.738047-04:00 bluecherry-nvr bc-server[952]: I(1/Garage): Motion detected

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions