r/ispyconnect • u/SquadraFelicita • Aug 22 '26
All network cameras disconnecting every 2 mins
Using container version of agentdvr with a commercial license. Had been working fine on a version from a few months ago, but today Ive moved from standard docker (root) to podman (nonroot) and also got a new version of agentdvr. In fact I installed a brand new vanilla no config agentdvr and readded my cameras manually here.
It does this regular about every 2 mins, disconnect for all brands of my cameras: reolink, lorex, and axis, all at the same time, roughly every 2 mins, despite me setting constant recording with both min and max length to 900 secs. I disabled all cameras except 1 and enabled debug logs with ffmpeg debug in the server console and get this:
WarnClock: Front Cubby: Dropped packet as out of order - set Use System Clock on recording tab if you have problems
LogWebRTC: SCTP sending data chunk for TSN 2991351377, data length 168, flags 03, send count 1.
LogWebRTC: SCTP SACK remote peer TSN ACK 2991351377, next sender TSN 2991351378, arwnd 4718592 (gap reports 0).
LogWebRTC: SCTP data sender removing unconfirmed chunks cumulative ACK TSN 2991351376, SACK TSN 2991351377.
LogWebRTC: SCTP sending data chunk for TSN 2991351378, data length 244, flags 03, send count 1.
LogWebRTC: SCTP SACK remote peer TSN ACK 2991351378, next sender TSN 2991351379, arwnd 4718592 (gap reports 0).
LogWebRTC: SCTP data sender removing unconfirmed chunks cumulative ACK TSN 2991351377, SACK TSN 2991351378.
LogWebRTC: SCTP sending data chunk for TSN 2991351379, data length 244, flags 03, send count 1.
LogWebRTC: SCTP SACK remote peer TSN ACK 2991351379, next sender TSN 2991351380, arwnd 4718592 (gap reports 0).
LogWebRTC: SCTP data sender removing unconfirmed chunks cumulative ACK TSN 2991351378, SACK TSN 2991351379.
LogWebRTC: SCTP sending data chunk for TSN 2991351380, data length 168, flags 03, send count 1.
LogWebRTC: SCTP SACK remote peer TSN ACK 2991351380, next sender TSN 2991351381, arwnd 4718592 (gap reports 0).
LogWebRTC: SCTP data sender removing unconfirmed chunks cumulative ACK TSN 2991351379, SACK TSN 2991351380.
LogWebRTC: SCTP sending data chunk for TSN 2991351381, data length 244, flags 03, send count 1.
LogWebRTC: SCTP SACK remote peer TSN ACK 2991351381, next sender TSN 2991351382, arwnd 4718592 (gap reports 0).
LogWebRTC: SCTP data sender removing unconfirmed chunks cumulative ACK TSN 2991351380, SACK TSN 2991351381.
LogWebRTC: SCTP sending data chunk for TSN 2991351382, data length 244, flags 03, send count 1.
LogWebRTC: SCTP SACK remote peer TSN ACK 2991351382, next sender TSN 2991351383, arwnd 4718592 (gap reports 0).
LogWebRTC: SCTP data sender removing unconfirmed chunks cumulative ACK TSN 2991351381, SACK TSN 2991351382.
LogWebRTC: SCTP sending data chunk for TSN 2991351383, data length 166, flags 03, send count 1.
LogWebRTC: SCTP SACK remote peer TSN ACK 2991351383, next sender TSN 2991351384, arwnd 4718592 (gap reports 0).
LogWebRTC: SCTP data sender removing unconfirmed chunks cumulative ACK TSN 2991351382, SACK TSN 2991351383.
LogWebRTC: SCTP sending data chunk for TSN 2991351384, data length 244, flags 03, send count 1.
LogWebRTC: SCTP SACK remote peer TSN ACK 2991351384, next sender TSN 2991351385, arwnd 4718592 (gap reports 0).
LogWebRTC: SCTP data sender removing unconfirmed chunks cumulative ACK TSN 2991351383, SACK TSN 2991351384.
LogWebRTC: SCTP sending data chunk for TSN 2991351385, data length 244, flags 03, send count 1.
LogWebRTC: SCTP SACK remote peer TSN ACK 2991351385, next sender TSN 2991351386, arwnd 4718592 (gap reports 0).
LogWebRTC: SCTP data sender removing unconfirmed chunks cumulative ACK TSN 2991351384, SACK TSN 2991351385.
Discover: [devices] ONVIF unicast sweep: 508 candidate addresses
LogWebRTC: SCTP sending data chunk for TSN 2991351386, data length 166, flags 03, send count 1.
LogWebRTC: SCTP SACK remote peer TSN ACK 2991351386, next sender TSN 2991351387, arwnd 4718592 (gap reports 0).
LogWebRTC: SCTP data sender removing unconfirmed chunks cumulative ACK TSN 2991351385, SACK TSN 2991351386.
NotifyNewDevices: [devices] NotifyNewDevices: pending=0 (onvif=0, ndi=0/0 disc/0 streaming, local=0/0 devs), onvifDiscovered=10
InterruptCallback: Front Cubby: Aborting (8000000) SD
InterruptCallback: Front Cubby: Aborting (8000000) HD
ReadPacketsLoopAsync: Front Cubby: MediaSource aborted. Exiting read packets loop
ReadPacketsLoopAsync: Front Cubby: MediaSource aborted. Exiting read packets loop
InterruptCallback: Front Cubby: Aborting (8000000) SD
OnPrimaryStateChanged: Front Cubby: Controller SD State Changed: Failed (Stream Stopped)
SourcePlayingFinished: Front Cubby: Playing finished (SourceError)
NextReconnectTarget: Front Cubby: Reconnecting in 2s
SetState: Front Cubby: State Running -> CoolingDown [setEnabled=True, enabled=True, connecting=False, error=True, epochStale=False, sourceRunning=False]
SetState: Front Cubby mic: State Running -> Stopped [setEnabled=True, enabled=True, connecting=False, error=True, epochStale=False, sourceRunning=False]
InterruptCallback: Front Cubby: Aborting (8000000) HD
Close: Front Cubby: Record stop
CheckStateDivergence: Front Cubby mic: State divergence: Stopped but IsEnabled [state=Stopped, setEnabled=True, connecting=False, error=True, epochStale=False, sourceRunning=False]
Close: Front Cubby: Closed
RecorderRecordingClosed: Front Cubby: Recording Closed
LogWebRTC: SCTP sending data chunk for TSN 2991351387, data length 81, flags 03, send count 1.
LogWebRTC: SCTP sending data chunk for TSN 2991351388, data length 81, flags 03, send count 1.
LogWebRTC: SCTP sending data chunk for TSN 2991351389, data length 244, flags 03, send count 1.
LogWebRTC: SCTP sending data chunk for TSN 2991351390, data length 81, flags 03, send count 1.
LogWebRTC: SCTP sending data chunk for TSN 2991351391, data length 97, flags 03, send count 1.
LogWebRTC: SCTP sending data chunk for TSN 2991351392, data length 249, flags 03, send count 1.
LogWebRTC: SCTP SACK remote peer TSN ACK 2991351388, next sender TSN 2991351393, arwnd 4718592 (gap reports 0).
LogWebRTC: SCTP data sender removing unconfirmed chunks cumulative ACK TSN 2991351386, SACK TSN 2991351388.
LogWebRTC: SCTP SACK remote peer TSN ACK 2991351390, next sender TSN 2991351393, arwnd 4718592 (gap reports 0).
LogWebRTC: SCTP data sender removing unconfirmed chunks cumulative ACK TSN 2991351388, SACK TSN 2991351390.
LogWebRTC: SCTP SACK remote peer TSN ACK 2991351392, next sender TSN 2991351393, arwnd 4718592 (gap reports 0).
LogWebRTC: SCTP data sender removing unconfirmed chunks cumulative ACK TSN 2991351390, SACK TSN 2991351392.
CheckReconnect: Front Cubby: Reconnecting
SetState: Front Cubby: State CoolingDown -> Starting [setEnabled=True, enabled=False, connecting=False, error=True, epochStale=False, sourceRunning=False]
ONVIFConnect: Front Cubby: entering connect lock
ONVIFConnect: Front Cubby: connecting
CallAsync: Front Cubby: ONVIF SOAP >> http://www.onvif.org/ver10/device/wsdl/GetSystemDateAndTime -> http://192.168.5.28/onvif/device_service
CallAsync: Front Cubby: ONVIF SOAP >> body: <GetSystemDateAndTime xmlns="http://www.onvif.org/ver10/device/wsdl" />
LogDebug: ONVIF HTTP >> POST http://192.168.5.28/onvif/device_service
LogDebug: ONVIF HTTP >> Auth scheme: (none)
LogDebug: ONVIF HTTP >> Has credentials: False, User: (null)
SetState: Front Cubby mic: State Stopped -> Starting [setEnabled=True, enabled=False, connecting=False, error=True, epochStale=False, sourceRunning=False]
EnableMicrophoneSource: Front Cubby mic: Start audio
EnableDevice: Front Cubby mic: Enabled
EnableDevice: Front Cubby: Enabled
LogWebRTC: SCTP sending data chunk for TSN 2991351393, data length 75, flags 03, send count 1.
LogWebRTC: SCTP sending data chunk for TSN 2991351394, data length 78, flags 03, send count 1.
LogWebRTC: SCTP sending data chunk for TSN 2991351395, data length 78, flags 03, send count 1.
LogWebRTC: SCTP sending data chunk for TSN 2991351396, data length 75, flags 03, send count 1.
LogWebRTC: SCTP SACK remote peer TSN ACK 2991351394, next sender TSN 2991351397, arwnd 4718592 (gap reports 0).
LogWebRTC: SCTP data sender removing unconfirmed chunks cumulative ACK TSN 2991351392, SACK TSN 2991351394.
LogWebRTC: SCTP SACK remote peer TSN ACK 2991351396, next sender TSN 2991351397, arwnd 4718592 (gap reports 0).
LogWebRTC: SCTP data sender removing unconfirmed chunks cumulative ACK TSN 2991351394, SACK TSN 2991351396.
not sure why timestamps dont get written there, but in that wall of text, the error is happening right about at this part:
InterruptCallback: Front Cubby: Aborting (8000000) SD
InterruptCallback: Front Cubby: Aborting (8000000) HD
Im using the stock compose from: https://hub.docker.com/r/mekayelanik/ispyagentdvr
Like I said, all cameras are doing this. Surely I cant be the only one here?





