Re: [squid-users] POST NONE://

From: Mario Remy Almeida <malmeida_at_isaaviation.ae>
Date: Sun, 27 Sep 2009 17:23:09 +0400

Hi Amos,

Thanks for your reply.

You mean the length is less then what is required?

When you pass the below SOAP message I get the error, But when it is
passed directly to the jboss applications server the request is served
correctly.

What is wrong the Header settings in the soap message or do i need to do
some config changes in squid.conf file

=== SOAP MESSAGE ==
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:env="http://schemas.xmlsoap.org/soap/envelop/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soapenv:Header>
    <wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>WSUSER</wsse:Username><wsse:Password>pass43</wsse:Password></wsse:UsernameToken></wsse:Security></soapenv:Header><soapenv:Body><ns2:OTA_ReadRQ
xmlns:ns2="http://www.opentravel.org/OTA/2003/05"
EchoToken="WWW0909271406222" PrimaryLangID="en-us" SequenceNmbr="1"
TimeStamp="2009-09-27T02:06:22"
TransactionIdentifier=""><ns2:POS><ns2:Source TerminalID="TestUser/Test
Runner"><ns2:RequestorID ID="WSDIBUSERATM"
Type="9"></ns2:RequestorID><ns2:BookingChannel
Type="9"></ns2:BookingChannel></ns2:Source></ns2:POS><ns2:ReadRequests><ns2:ReadRequest><ns2:UniqueID
ID="18496815"
Type="14"></ns2:UniqueID></ns2:ReadRequest><ns2:AirReadRequest><ns2:DepartureDate>2009-10-30T00:00:00</ns2:DepartureDate></ns2:AirReadRequest></ns2:ReadRequests></ns2:OTA_ReadRQ><ns1:AAReadRQExt
xmlns:ns1="http://www.isaaviation.com/thinair/webservices/OTA/Extensions/2003/05"><ns1:AALoadDataOptions><ns1:LoadTravelerInfo>true</ns1:LoadTravelerInfo><ns1:LoadAirItinery>true</ns1:LoadAirItinery><ns1:LoadPriceInfoTotals>true</ns1:LoadPriceInfoTotals><ns1:LoadFullFilment>true</ns1:LoadFullFilment></ns1:AALoadDataOptions></ns1:AAReadRQExt></soapenv:Body></soapenv:Envelope>

//Remy

Amos Jeffries wrote:
> Mario Remy Almeida wrote:
>> Hi All,
>>
>> would like to know what is the reason that i get NONE:// in the
>> access.log file as below
>>
>> 1254046127.530 0 195.229.115.202 TCP_DENIED/411 1757 POST NONE:// -
>> NONE/- text/html
>>
>> my squid proxy acts like a reverse proxy.
>>
>> A valid request is sent from the above IP
>
> 411 status code is failure to pass a basic validity test.
> This one was a test for Content-Length: header on POST requests.
>
>>
>>
>> Could some one help be in solving the problem.
>>
>>
>> My setup
>>
>> Request from Internet -> Squid Reverse proxy(A) -> Squid reverse
>> proxy(B) -> Jboss Applications Server.
>>
>
> The NONE:// means no the request did not complete, it did not even get
> far enough to determine if it was a HIT or MISS on the URL.
> This is due to the required header making Squid abort its processing
> immediately.
>
> Amos

------------------------------------------------------------------------------
Disclaimer and Confidentiality

This material has been checked for computer viruses and although none has
been found, we cannot guarantee that it is completely free from such problems
and do not accept any liability for loss or damage which may be caused.
Please therefore check any attachments for viruses before using them on your
own equipment. If you do find a computer virus please inform us immediately
so that we may take appropriate action. This communication is intended solely
for the addressee and is confidential. If you are not the intended recipient,
any disclosure, copying, distribution or any action taken or omitted to be
taken in reliance on it, is prohibited and may be unlawful. The views
expressed in this message are those of the individual sender, and may not
necessarily be that of ISA.
Received on Sun Sep 27 2009 - 13:30:19 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 28 2009 - 12:00:03 MDT