Hi Team,

 

I am trying to download the clamav updates from private local mirror on my custom clamav alpine docker image and  I am keep getting ^downloadFile: Unexpected response (502) error from freshclam.

 

Its not able to download main.cvd, daily.cvd, bytecode.cvd and eventually my pod fails after maximum retry. I did tried increasing timeouts and disabling it in freshclam.conf file but it did not work.

 

I have validated my proxy and private mirror server and they are able to connect with alpine clamav docker image.

 

Does anyone face similar issue.. I am using clamav and freshclam v0.104.3-r0 on alpine 3.16

 

Logs ---

 

Host: localmirror.clamavdatabase.com

user-agent: ClamAV/0.104.3 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: a37614fe-f1f8-4c49-a7a5-e0330ea8b945)

accept: */*

connection: close

 

* old SSL session ID is stale, removing

< HTTP/2 502

< content-type: text/html; charset=UTF-8

< referrer-policy: no-referrer

< content-length: 332

< date: Mon, 08 Aug 2022 10:16:27 GMT

< alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000

<

Time:    9.0s, ETA:    0.0s [========================>]       332B/332B

* Connection #0 to host localmirror.clamavdatabase.com.com left intact

Mon Aug  8 10:16:27 2022 -> ^downloadFile: Unexpected response (502) from https://localmirror.clamavdatabase.com/daily.cvd

Mon Aug  8 10:16:27 2022 -> ^Can't download daily.cvd from https:// localmirror.clamavdatabase.com/daily.cvd

Mon Aug  8 10:16:27 2022 -> Trying again in 5 secs...

 

Regards,

Ganesh

 


C2 General