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

SAVDID : "ICAP/1.0 505 Unsupported protocol or version "

Hi

We are integrating our application with SAVDID and the SAVDID is throwing an error "ICAP/1.0 505 Unsupported protocol or version ". Below is the RESPMOD Request:

RESPMOD icap://localhost:1344/AVSCAN?action=SCAN ICAP/1.0

Host: localhost:1344

Preview: 4

Allow: 204

Encapsulated: req-hdr=0 res-hdr=83 res-body=130

GET localhsot/C:\Users\prasad\Downloads\eicar.com.txt HTTP/1.1Host: localhost
HTTP/1.1 200 OKTransfer-Encoding: chunked


4  

[Preview four bytes of data]

0

If we send only options message as below we get the proper response.

Sent:

OPTIONS icap://localhost:1344/avscan ICAP/1.0 

Host localhost

Received:

ICAP/1.0 200 OKIS

Tag: "1-01-3-26-28-FDADC8A5"

Service: Sophos Anti-Virus SAVDI/ICAP

Date: Wed, 14 Dec 2011 08:05:05 GMT

Methods: RESPMOD

Transfer-Complete: *

Options-TTL: 3500Encapsulated: null-body=0

Any help is appreciated. Thanks

:19783


This thread was automatically locked due to age.
Parents
  • Hi,

    The Encapsulated header needs commas between the elements.  Without them the line isn’’’’t being recognised and the 505 error is a result of the GET / HTTP/1.1 line.

    The line should read:

    Encapsulated: req-hdr=0, res-hdr=32, res-body=76

    Can you try that.

    Regards,

    Jak

    :20111
Reply
  • Hi,

    The Encapsulated header needs commas between the elements.  Without them the line isn’’’’t being recognised and the 505 error is a result of the GET / HTTP/1.1 line.

    The line should read:

    Encapsulated: req-hdr=0, res-hdr=32, res-body=76

    Can you try that.

    Regards,

    Jak

    :20111
Children
No Data