RE: [SQU] Re: Zero Sized Reply

From: Lee, Ethan <ethan.lee@dont-contact.us>
Date: Mon, 4 Dec 2000 13:27:21 +0800

thanks. i thot that -h meant the URL...

-----Original Message-----
From: Robert Collins [mailto:robert.collins@itdomain.com.au]
Sent: Monday, December 04, 2000 1:19 PM
To: Lee, Ethan; squid-users@ircache.net
Subject: RE: [SQU] Re: Zero Sized Reply

./client

$ ./src/client.exe
Usage: ./src/client.exe [-arsv] [-i IMS] [-h remote host] [-l local
host] [-p po
rt] [-m method] [-t count] [-I ping-interval] [-H 'strings'] [-T
timeout] url
Options:
    -P file PUT request.
    -a Do NOT include Accept: header.
    -r Force cache to reload URL.
    -s Silent. Do not print data to stdout.
    -v Verbose. Print outgoing message to stderr.
    -i IMS If-Modified-Since time (in Epoch seconds).
    -h host Retrieve URL from cache on hostname. Default is
localhost.
    -l host Specify a local IP address to bind to. Default is
none.
    -p port Port number of cache. Default is 3128.
    -m method Request method, default is GET.
    -t count Trace count cache-hops
    -g count Ping mode, "count" iterations (0 to loop until
interrupted).
    -I interval Ping interval in seconds (default 1 second).
    -H 'string' Extra headers to send. Use '\n' for new lines.
    -T timeout Timeout value (seconds) for read/write operations.

The URL comes LAST.

./client -p 8080 -h proxyserver.com http://www.cnn.com

> -----Original Message-----
> From: Lee, Ethan [mailto:ethan.lee@sg.origin-it.com]
> Sent: Monday, 4 December 2000 4:13 PM
> To: Robert Collins; squid-users@ircache.net
> Subject: RE: [SQU] Re: Zero Sized Reply
> Importance: High
>
>
> sorry to interrupt... but how to use the client program ? i tried :
>
> ./client -h www.cnn.com -p 80
> ./client -h http://www.cnn.com -p 80
>
> but it does'nt work. said that my browser sent out a bad request...
>
> however, if i surf using the proxy, its ok. what gives ?
>
> -----Original Message-----
> From: Robert Collins [mailto:robert.collins@itdomain.com.au]
> Sent: Saturday, December 02, 2000 7:28 AM
> To: David Klippel; squid-users@ircache.net
> Subject: Re: [SQU] Re: Zero Sized Reply
>
>
> David,
> Have you tried using the squid client? (bin/client). It
> can do http
> tracing.
>
> What is your configuration? Are you using upstream peers or direct
> connections?
> Did you use lynx or netscape/mozilla when you tested from the
> squid box? Was
> that program configured to use http/1.0 and not
> http/1.1?
>
> Are your users using the IE setting 'use HTTP/1.1 thru proxy
> connections'?
> I find this breaks things all over the place. In particular htttps:
> My _guess_ is that you have that option turned on, and
> Hotmail, Deja and the
> IBM support site all confirm the passwords via a
> redirect to
> a secure site to assign a cookie-token, and then back to
> http: for the rest
> of the vist.
>
> What does your access log show for the site?
>
> Do you have a firewall?
>
> Does the error happen every time?
>
> And did you know that squid is available as a commercial
> solution from third
> party companies (see the squid web site) who will offer
> support levels, immediate reaction, code changes et al.
> instead of this
> damnably unreliable peer support group thing.
>
> What you need to do to find the cause of the error is to
> remove variables
> one by one. Checking access from the same machine is a
> good start.
>
> Now check the http headers of the browsers request (from the
> squid box) vs
> the request made from squid. TCPDUMP can be useful to get
> this info.
>
> If they are different (other than the user-agent) see if the
> differences
> give any clues.
>
> Rob
>
>
>
> ----- Original Message -----
> From: "David Klippel" <djk@klippel.com>
> To: <squid-users@ircache.net>
> Sent: Saturday, December 02, 2000 5:47 AM
> Subject: [SQU] Re: Zero Sized Reply
>
>
> > I am hoping somebody has some hints or better yet an answer
> on how to
> > resolve this problem. If I cannot get this resolved soon
> management will
> > force the use of some expense commercial solution. I have
> also tried the
> > Squid/2.4.DEVEL4 version and receive the same error(Zero Sized Reply
> > Squid did not receive any data for this request.).
> >
> >
> >
> > > I am receiving this message when try to access
> http://www.deja.com/my/pr.xp. I
> > > have users that have problems trying to access hotmail.com and IBM
> support site
> > > as well as Microsoft's support site. I am running
> Squid/2.3.STABLE4
> normal (not
> > > transparent) on Redhat 6.0 Kernel 2.2.5-15. I have
> verified that the
> sites can
> > > be access directly on the machine that is the Squid server.
> > >
> > > Does anybody have hints on what look for to find the
> cause of the error
> or how
> > > to resolve it?
> >
> >
> > --
> > David Klippel mailto:djk@klippel.com
> >
> > --
> > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
> >
> >
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Sun Dec 03 2000 - 22:30:11 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:50 MST