Failed to write a chunk. Check if Stream Length matches StreamMaxLength in anti virus daemon settings

Hi.
Yesterday i installed nextcloud and enabled clamav scanning.

Every now and then i get
Failed to write a chunk. Check if Stream Length matches StreamMaxLength in anti virus daemon settings

and the sync times out at the client side (windows)
What is the streamlength it thinks of that i need to match?
I sync files all the way from a few bytes to several gigs large ones.

1 Like

Same problem here, everyday the nextcloud instance get stuck, i need to reboot the VM
First : Failed to write a chunk. Check if Stream Length matches StreamMaxLength in anti virus daemon settings
Then lots of redis errors : Redis::pconnect(): php_network_getaddresses: getaddrinfo for nextcloud-aio-redis failed: Try again at /var/www/html/lib/private/RedisFactory.php#117

RedisException php_network_getaddresses: getaddrinfo for nextcloud-aio-redis failed: Try again
Could not boot workflowengine: php_network_getaddresses: getaddrinfo for nextcloud-aio-redis failed: Try again 
1 Like

Same problem!
In nextcloud log I see this:

{
  "reqId": "iCEhegeTHNwBfxWkADaZ",
  "level": 2,
  "time": "2024-08-30T20:06:49+00:00",
  "remoteAddr": "146.70.161.181",
  "user": "kazimierzkrauze",
  "app": "files_antivirus",
  "method": "GET",
  "url": "/index.php/core/preview?fileId=28338&x=408&y=408&a=1&mode=cover&forceIcon=1",
  "message": "Failed to write a chunk. Check if Stream Length matches StreamMaxLength in anti virus daemon settings",
  "userAgent": "Mozilla/5.0 (Android) Nextcloud-Talk v19.0.1",
  "version": "29.0.5.1",
  "data": {
    "app": "files_antivirus"
  },
  "id": "66d230641bed2"
}

Has anyone got a solution for that?