mirror of
https://github.com/kerberos-io/agent.git
synced 2026-08-23 15:08:32 +00:00
Two fixes for cameras flipping to offline while capture is healthy: - Heartbeat HTTP timeout (cloud.go): add a 30s Timeout to both http.Client branches so a hung heartbeat POST can no longer stall the heartbeat loop past the 180s window Hub uses to mark a camera offline. - Bounded TUS retry loop (tus_client.go): refresh the retry budget only on genuine net progress by tracking a highWaterOffset across all attempts (vs a per-attempt startHighWater snapshot). A vault that keeps resetting the offset (persistent 409 ERR_MISMATCHED_OFFSET) now gives up after maxAttempts and re-queues instead of re-uploading the first chunk forever and saturating the uplink. Adds regression test TestUploadVaultResumable_MismatchedOffsetGivesUp with a loseProgress fake-server mode reproducing the cross-replica offset-reset loop; asserts the upload terminates with a bounded PATCH count. Root cause (vault-side cross-replica offset reset) remains deferred to the vault repo.
Kerberos Open Source - Machinery
Docker Hub | Documentation | Website
Kerberos Open source (v3) is a cutting edge video surveillance management system made available as Open Source under the MIT License. This means that all the source code is available for you or your company, and you can use, transform and distribute the source code; as long you keep a reference of the original license. Kerberos Open Source (v3) can be used for commercial usage (which was not the case for v2). Read more about the license here.
Security reporting
For sensitive vulnerabilities, use private disclosure channels documented in ../SECURITY.md.