RE: [squid-users] https problem with squid 2.5.STABLE6

From: Brad Larden <Brad.Larden@dont-contact.us>
Date: Tue, 9 Nov 2004 19:44:53 +1100

>
> G'day,
>
> no, nothing in access.log.
> I can see the traffic (using snoop) come in to the proxy and
> a return packet but nothing is logged at all.
>
> As in the subject - Squid-2.5.STABLE6
> OS is Solaris9 on Ultra-60
>
> It is like the request packet comes in, is presented to the
> squid process and the squid process just quenches the request.
>
>
 The thing is that if the browser returns it's own error
(can not find server or DNS error) , then it as if the request did
not reach squid.
If squid can not access the site then a squid error message should appear
in the browser.
In the absence of that, it seems that your browser tries to go direct.

M.

I understand what you're saying but I can 'see' the request hit the proxy server from the client.
Sorry, I neglected to answer your other question - the client is manually configured to use the same proxy for all protocols.

For those with a techo bent, here's a truss of the 'session'.
The first section is an http:// connection to an internal host which internally redirects the http:// request to an https:// request. The point at which the connection changes is (I think) where I have put the word "BREAK" in the following.

4299: accept(8, 0xFFBBE510, 0xFFBBE4F8, 1) = 13
4299: getsockname(13, 0xFFBBE500, 0xFFBBE4F8, 1) = 0
4299: fcntl(13, F_GETFL, 0x00000000) = 130
4299: fstat64(13, 0xFFBBE320) = 0
4299: getsockopt(13, SOL_SOCKET, 0x2000, 0xFFBBE420, 0xFFBBE418, 0) = 0
4299: fcntl(13, F_SETFD, 0x00000083) = 0
4299: fcntl(13, F_GETFL, 0x00000000) = 130
4299: fstat64(13, 0xFFBBE320) = 0
4299: getsockopt(13, SOL_SOCKET, 0x2000, 0xFFBBE420, 0xFFBBE418, 0) = 0
4299: fstat64(13, 0xFFBBE320) = 0
4299: getsockopt(13, SOL_SOCKET, 0x2000, 0xFFBBE420, 0xFFBBE41C, 0) = 0
4299: setsockopt(13, SOL_SOCKET, 0x2000, 0xFFBBE420, 4, 0) = 0
4299: fcntl(13, F_SETFL, 0x00000082) = 0
4299: accept(8, 0xFFBBE510, 0xFFBBE4F8, 1) Err#11 EAGAIN
4299: poll(0xFFBBFD38, 4, 1000) = 1
4299: read(13, " G E T h t t p : / / x".., 4095) = 391
4299: so_socket(PF_INET, SOCK_STREAM, IPPROTO_IP, "", 1) = 14
4299: fcntl(14, F_GETFL, 0x00000000) = 2
4299: fstat64(14, 0xFFBBE3A8) = 0
4299: getsockopt(14, SOL_SOCKET, 0x2000, 0xFFBBE4A8, 0xFFBBE4A0, 0) = 0
4299: fcntl(14, F_SETFD, 0x00000003) = 0
4299: bind(14, 0xFFBBE500, 16, 3) = 0
4299: fcntl(14, F_GETFL, 0x00000000) = 2
4299: fstat64(14, 0xFFBBE3A8) = 0
4299: getsockopt(14, SOL_SOCKET, 0x2000, 0xFFBBE4A8, 0xFFBBE4A0, 0) = 0
4299: fstat64(14, 0xFFBBE3A8) = 0
4299: getsockopt(14, SOL_SOCKET, 0x2000, 0xFFBBE4A8, 0xFFBBE4A4, 0) = 0
4299: setsockopt(14, SOL_SOCKET, 0x2000, 0xFFBBE4A8, 4, 0) = 0
4299: fcntl(14, F_SETFL, 0x00000082) = 0
4299: setsockopt(14, tcp, TCP_NODELAY, 0xFFBBE50C, 4, 1) = 0
4299: connect(14, 0x00A394F0, 16, 1) Err#150 EINPROGRESS
4299: poll(0xFFBBFD38, 5, 978) = 1
4299: getsockopt(14, SOL_SOCKET, SO_ERROR, 0xFFBBEC28, 0xFFBBEC24, 1) = 0
4299: poll(0xFFBBFD38, 5, 902) = 1
4299: write(14, " G E T / H T T P / 1".., 480) = 480
4299: poll(0xFFBBFD38, 5, 902) = 1
4299: read(14, " H T T P / 1 . 1 3 0 2".., 49152) = 453
4299: poll(0xFFBBFD38, 5, 806) = 1
4299: write(13, " H T T P / 1 . 0 3 0 2".., 488) = 488
4299: write(5, " 1 0 9 9 9 8 9 4 7 8 . 5".., 117) = 117

BREAK

4299: read(13, 0x00A06CE8, 4095) Err#11 EAGAIN
4299: poll(0xFFBBFD38, 5, 805) = 1
4299: poll(0xFFBBE628, 1, 0) = 1
4299: accept(8, 0xFFBBE510, 0xFFBBE4F8, 1) = 15
4299: getsockname(15, 0xFFBBE500, 0xFFBBE4F8, 1) = 0
4299: fcntl(15, F_GETFL, 0x00000000) = 130
4299: fstat64(15, 0xFFBBE320) = 0
4299: getsockopt(15, SOL_SOCKET, 0x2000, 0xFFBBE420, 0xFFBBE418, 0) = 0
4299: fcntl(15, F_SETFD, 0x00000083) = 0
4299: fcntl(15, F_GETFL, 0x00000000) = 130
4299: fstat64(15, 0xFFBBE320) = 0
4299: getsockopt(15, SOL_SOCKET, 0x2000, 0xFFBBE420, 0xFFBBE418, 0) = 0
4299: fstat64(15, 0xFFBBE320) = 0
4299: getsockopt(15, SOL_SOCKET, 0x2000, 0xFFBBE420, 0xFFBBE41C, 0) = 0
4299: setsockopt(15, SOL_SOCKET, 0x2000, 0xFFBBE420, 4, 0) = 0
4299: fcntl(15, F_SETFL, 0x00000082) = 0
4299: accept(8, 0xFFBBE510, 0xFFBBE4F8, 1) Err#11 EAGAIN
4299: poll(0xFFBBFD38, 6, 627) = 1
4299: poll(0xFFBBE628, 1, 0) = 1
4299: accept(8, 0xFFBBE510, 0xFFBBE4F8, 1) = 16
4299: getsockname(16, 0xFFBBE500, 0xFFBBE4F8, 1) = 0
4299: fcntl(16, F_GETFL, 0x00000000) = 130
4299: fstat64(16, 0xFFBBE320) = 0
4299: getsockopt(16, SOL_SOCKET, 0x2000, 0xFFBBE420, 0xFFBBE418, 0) = 0
4299: fcntl(16, F_SETFD, 0x00000083) = 0
4299: fcntl(16, F_GETFL, 0x00000000) = 130
4299: fstat64(16, 0xFFBBE320) = 0
4299: getsockopt(16, SOL_SOCKET, 0x2000, 0xFFBBE420, 0xFFBBE418, 0) = 0
4299: fstat64(16, 0xFFBBE320) = 0
4299: getsockopt(16, SOL_SOCKET, 0x2000, 0xFFBBE420, 0xFFBBE41C, 0) = 0
4299: setsockopt(16, SOL_SOCKET, 0x2000, 0xFFBBE420, 4, 0) = 0
4299: fcntl(16, F_SETFL, 0x00000082) = 0
4299: accept(8, 0xFFBBE510, 0xFFBBE4F8, 1) Err#11 EAGAIN
4299: poll(0xFFBBFD38, 7, 470) = 0
4299: poll(0xFFBBFD38, 7, 470) = 0
Received on Tue Nov 09 2004 - 01:45:01 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST