[squid-users] Invalid Request.Squid2.6S3 accelerate with SSL on Windows

From: fulan Peng <fulanpeng@dont-contact.us>
Date: Wed, 30 Aug 2006 11:48:25 -0400

Hi,
I use Cygwin compiled every revision of Squid 2.6 and 3.0. None of
them work with SSL setup accelerate. In 3.0, the error is the known
bug: too many open files.
In 2.6S3, the error for https is "invalid request". Http works fine.

The following are my squid.conf file and some section of the log file.
Please help me to fix this problem. I need SSL in accelerate mode for
Windows badly.

I installed Squid in a local network. The IP is 192.168.0.91. The
gateway is 192.168.0.1. I can see a dialog box pops up when I run
squid. It warns the DNS will run. The DNS IP is provided by my ISP.
Since http works I think there should not have any problem with the
firewall. Also I tried to change the external backend to localhost web
server, still, it won't work.

 http_port 127.0.0.1:80 vhost vport
cache_peer zyzg.org.ru parent 80 0 originserver
https_port 443 cert=c:\squid\etc\cert.pem key=c:\squid\etc\key.pem
cache_peer 66.29.75.20 parent 80 0 originserver
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
maximum_object_size_in_memory 80 KB
access_log c:/squid/var/logs/access.log squid
debug_options ALL,9
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
collapsed_forwarding on
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access allow all
http_reply_access allow all
icp_access allow all
visible_hostname ddint.org
coredump_dir c:/squid/var/cache
request_entities on
vary_ignore_expire on

=============================================
............
parseHttpRequest: Client HTTP version 1.1.
2006/08/30 11:30:06| parseHttpRequest: Method is 'GET'
2006/08/30 11:30:06| parseHttpRequest: URI is '/'
2006/08/30 11:30:06| parseHttpRequest: req_hdr = {Accept: */*

Accept-Encoding: gzip, deflate

Cookie: sid=xyyqOo; _cookietime=2592000; _discuz_uid=33777;
_discuz_pw=0e63380c64dc6ef96cca941443b47c9d; _discuz_secques=0

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
Media Center PC 3.0; .NET CLR 1.0.3705; .NET CLR 2.0.50727)

Host: localhost

Connection: Keep-Alive

Accept-Language: en-us

}
2006/08/30 11:30:06| parseHttpRequest: end = {}
2006/08/30 11:30:06| parseHttpRequest: prefix_sz = 381, req_line_sz = 16
2006/08/30 11:30:06| parseHttpRequest: Request Header is
Accept: */*

Accept-Encoding: gzip, deflate

Cookie: sid=xyyqOo; _cookietime=2592000; _discuz_uid=33777;
_discuz_pw=0e63380c64dc6ef96cca941443b47c9d; _discuz_secques=0

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
Media Center PC 3.0; .NET CLR 1.0.3705; .NET CLR 2.0.50727)

Host: localhost

Connection: Keep-Alive

Accept-Language: en-us

2006/08/30 11:30:06| cbdataFree: 0x101e0a50
2006/08/30 11:30:06| cbdataFree: Freeing 0x101e0a50
2006/08/30 11:30:06| conn->in.offset = 0
2006/08/30 11:30:06| commSetTimeout: FD 10 timeout 86400
2006/08/30 11:30:06| clientReadRequest: FD 10 Invalid Request
2006/08/30 11:30:06| init-ing hdr: 0x1020ee1c owner: 1
2006/08/30 11:30:06| storeCreateEntry: 'error:invalid-request'
2006/08/30 11:30:06| creating rep: 0x101e2860
2006/08/30 11:30:06| init-ing hdr: 0x101e28a4 owner: 2
2006/08/30 11:30:06| 0x101e28a4 lookup for 38
2006/08/30 11:30:06| 0x101e28a4 lookup for 9
2006/08/30 11:30:06| 0x101e28a4 lookup for 38
2006/08/30 11:30:06| 0x101e28a4 lookup for 9
2006/08/30 11:30:06| 0x101e28a4 lookup for 50
2006/08/30 11:30:06| 0x101e28a4 lookup for 22
2006/08/30 11:30:06| new_MemObject: returning 0x1006c6b0
2006/08/30 11:30:06| new_StoreEntry: returning 0x101e1e10
2006/08/30 11:30:06| storeKeyPrivate: GET error:invalid-request
................
Received on Wed Aug 30 2006 - 09:48:31 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT