This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ICAP/1.0 505 while running scan

Hi,

 

I am working on an ICAP client which can scan file but i am receiving this error.  Can anyone help me? 

Here is the response: 

ICAP/1.0 500 Server Error
ICAP/1.0 505 Unsupported protocol or version

 

The request sent: 

RESPMOD icap://0.0.0.0/sophosav ICAP/1.0
Host: 0.0.0.0
User-Agent: GWRE Test
Encapsulated: res-body=0

Log on server:

 

190226:142820 [5C75BD72] 00038400 New connection
To: 0.0.0.0:4022 From 0.0.0.0:4022
190226:142820 [5C75BD72] 00038402 New session
190226:142820 [5C75BD72/1] 00030406 Client request
RESPMOD icap://0.0.0.0/sophosav ICAP/1.0
190226:142820 [5C75BD72/1] 00030406 Client request
Host: 0.0.0.0
User-Agent: GWRE Test
Encapsulated: res-body=0

190226:142820 [5C75BD72/2] 00030406 Client request
P[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
190226:142820 [5C75BD72] 00038403 Session ended
190226:142820 [5C75BD72] 00038401 Connection ended

 

Config file 

pidfile: /home/ubuntu/shared/sample-apps/savdid.pid
threadcount: 10
virusdatadir: /opt/sophos-av/lib/sav
idedir: /opt/sophos-av/lib/sav

log {
type: FILE
logdir: /var/tmp/savdi/log
loglevel: 3
}

channel {
logrequests: YES
commprotocol{
type:IP
port:4022
}
service{
name:sophosav
type:avscan
scanprotocol{
type:ICAP
version:1.0
keepalive:YES
useclean204:NO
block-encrypted:NO
}
scanner{
type:SAVI
savigrp:GRPArchiveUnpack 1
}
}
}

 

 



This thread was automatically locked due to age.