Search squid archive

Squid + rproxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey Folks,

I've got squid + rproxy patch applied running with a couple
cache_peer's controlled by cache_peer_access and acls.

Running into a little problem when attempting to load a page:

ERROR
The requested URL could not be retrieved

While trying to process the request:

GET / HTTP/1.1
Host: something.wicked.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

The following error was encountered:

   * Invalid Request

The log shows the following, which shows the request is completely
valid, but for some reason squid is saying it's invalid:

2006/05/03 04:56:30| httpAccept: FD 13: accepted port 80 client 70.31.11.98:1160
2006/05/03 04:56:30| cbdataLock: 0x8216440
2006/05/03 04:56:30| comm_add_close_handler: FD 13, handler=0x80639b0,
data=0x841da10
2006/05/03 04:56:30| cbdataLock: 0x841da10
2006/05/03 04:56:30| commSetTimeout: FD 13 timeout 300
2006/05/03 04:56:30| aclCheckFast: list: 0x821a9b0
2006/05/03 04:56:30| aclMatchAclList: checking all
2006/05/03 04:56:30| aclMatchAcl: checking 'acl all src 0.0.0.0/0.0.0.0'
2006/05/03 04:56:30| aclMatchIp: '70.31.11.98' found
2006/05/03 04:56:30| aclMatchAclList: returning 1
2006/05/03 04:56:30| commSetSelect: FD 13 type 1
2006/05/03 04:56:30| comm_accept: FD 15: (11) Resource temporarily unavailable
2006/05/03 04:56:30| eventRun: RUN ID 448
2006/05/03 04:56:30| eventRun: Running 'MaintainSwapSpace', id 447
2006/05/03 04:56:30| storeMaintainSwapSpace: f=0.000000, max_scan=100,
max_remove=10
2006/05/03 04:56:30| cbdataFree: 0x83a7df8
2006/05/03 04:56:30| cbdataFree: Freeing 0x83a7df8
2006/05/03 04:56:30| storeUfsDirMaintain: /usr/local/squid/var/cache
removed 0/10 f=0.000 max_scan=100
2006/05/03 04:56:30| comm_poll: 1+0 FDs ready
2006/05/03 04:56:30| clientReadRequest: FD 13: reading request...
2006/05/03 04:56:30| commSetSelect: FD 13 type 1
2006/05/03 04:56:30| cbdataLock: 0x841da10
2006/05/03 04:56:30| parseHttpRequest: Method is 'GET'
2006/05/03 04:56:30| parseHttpRequest: URI is '/'
2006/05/03 04:56:30| parseHttpRequest: req_hdr = {Host: something.wicked.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

}
2006/05/03 04:56:30| parseHttpRequest: end = {}
2006/05/03 04:56:30| parseHttpRequest: prefix_sz = 412, req_line_sz = 16
2006/05/03 04:56:30| parseHttpRequest: Request Header is
Host: something.wicked.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive


2006/05/03 04:56:30| cbdataFree: 0x841edb0
2006/05/03 04:56:30| cbdataFree: Freeing 0x841edb0
2006/05/03 04:56:30| conn->in.offset = 0
2006/05/03 04:56:30| commSetTimeout: FD 13 timeout 86400
2006/05/03 04:56:30| clientReadRequest: FD 13 Invalid Request
2006/05/03 04:56:30| storeCreateEntry: 'error:invalid-request'
2006/05/03 04:56:30| new_MemObject: returning 0x841f500
2006/05/03 04:56:30| new_StoreEntry: returning 0x841f4c8
2006/05/03 04:56:30| storeKeyPrivate: GET error:invalid-request
2006/05/03 04:56:30| storeHashInsert: Inserting Entry 0x841f4c8 key
'856DA4D247CFC2FBC0F8E98C9AA4F0DA'
2006/05/03 04:56:30| storeReleaseRequest: '856DA4D247CFC2FBC0F8E98C9AA4F0DA'
2006/05/03 04:56:30| cbdataLock: 0x841edb0
2006/05/03 04:56:30| storeClientCopy:
856DA4D247CFC2FBC0F8E98C9AA4F0DA, seen 0, want 0, size 4096, cb
0x80660c0, cbdata 0x841edb0
2006/05/03 04:56:30| cbdataLock: 0x841f668
2006/05/03 04:56:30| storeClientCopy2: 856DA4D247CFC2FBC0F8E98C9AA4F0DA
2006/05/03 04:56:30| storeClientCopy3: Waiting for more
2006/05/03 04:56:30| cbdataUnlock: 0x841f668
2006/05/03 04:56:30| storeLockObject: key
'856DA4D247CFC2FBC0F8E98C9AA4F0DA' count=2
2006/05/03 04:56:30| errorConvert: %R --> 'GET / HTTP/1.1
Host: something.wicked.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

'

Anyone have any ideas?

Henrik, you said that the GET request format (GET /index as opposed to
GET http://site/index) was an option with rproxy, what is the option
called?  I cannot find any related comments in squid.conf.default.

Thanks!


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux