cherokee 1.0.13 bad request #761

Closed
Borkason opened this Issue Mar 24, 2013 · 16 comments

Projects

None yet

1 participant

@Borkason
Member

Original author: lnu...@gmail.com (December 09, 2010 17:02:25)

What steps will reproduce the problem?

  1. install cherokee 1.0.13 from PPA
  2. reload the page
    3.reload the page
  3. reload the page

What is the expected output? What do you see instead?
I expect to see the index page all the times I reload
but sometimes I got

400 Bad Request

Your browser sent a request that this server could not understand.

GET / HTTP/1.1
Host: pdx.enelserver.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0b7) Gecko/20100101
Firefox/4.0b7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
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
Connection: close
Pragma: no-cache
Cache-Control: no-cache

Please use labels and text to provide additional information.

This happens with :
Firefox 4.07b7
Google chrome 8.0.552.215
Firefox 3.6.12

Original issue: http://code.google.com/p/cherokee/issues/detail?id=1067

Member

From lnu...@gmail.com on December 09, 2010 17:06:36
THis does not happens with 1.0.12 from PPA

Member

From skar...@gmail.com on December 09, 2010 18:25:53
I'm not able to reproduce it... :-?

Member

From alobbs on December 09, 2010 21:16:32
Neither do I.
Leonel, is there a way I could access the server?

Member

From lnu...@gmail.com on December 10, 2010 16:50:06
ab -c 100 -n 1000 http://localhost/

with 1.0.13 and below with 1.0.12

There are NON 2xx with 1.0.13 and all responses fine with 1.0.12

Server Software: Cherokee/1.0.13
Server Hostname: localhost
Server Port: 80

Document Path: /
Document Length: 176 bytes

Concurrency Level: 100
Time taken for tests: 0.169 seconds
Complete requests: 1000
Failed requests: 365
(Connect: 0, Receive: 0, Length: 365, Exceptions: 0)
Write errors: 0
Non-2xx responses: 365
Total transferred: 477010 bytes
HTML transferred: 273820 bytes
Requests per second: 5934.44 #/sec
Time per request: 16.851 ms
Time per request: 0.169 [ms](mean, across all concurrent requests)
Transfer rate: 2764.44 [Kbytes/sec] received

Server Software: Cherokee/1.0.12
Server Hostname: localhost
Server Port: 80

Document Path: /
Document Length: 176 bytes

Concurrency Level: 100
Time taken for tests: 0.196 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 377000 bytes
HTML transferred: 176000 bytes
Requests per second: 5096.79 #/sec
Time per request: 19.620 ms
Time per request: 0.196 [ms](mean, across all concurrent requests)
Transfer rate: 1876.45 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 7 4.7 6 19
Processing: 4 12 4.4 12 23
Waiting: 1 5 2.2 5 12
Total: 4 19 7.3 19 37

Percentage of the requests served within a certain time (ms)
50% 19
66% 22
75% 24
80% 26
90% 29
95% 32
98% 34
99% 34
100% 37 (longest request)

Member

From lnu...@gmail.com on December 10, 2010 16:50:47
@alobbs ping me online to see how you can log on

Member

From sebastia...@gmail.com on December 12, 2010 11:28:19
I have the same problem, and it only happens with the last update (1.0.13). All my sites are using Drupal.

Member

From BiosElem...@gmail.com on December 13, 2010 10:37:01
I have the same problem. I'll see if I can swing over to your IRC at some point.

Member

From pchott@gmail.com on December 13, 2010 12:36:25
I experiance same problem :(

Member

From FishGuy8765@gmail.com on December 13, 2010 12:53:03
I have had the same issue on CVGM.net using django/uwsgi, downgrading to 1.0.12 has fixed the problems.

Member

From pchott@gmail.com on December 13, 2010 14:57:09
I have now 200MB of trace where inside
HTTP/1.0 400 Bad Request
Connection: close

How can that be helping?

Member

From pig...@gmail.com on December 13, 2010 15:44:53
@alobbs,

Debian 6 + cherokee SVN == problem, ping me for the test env (it's ready for you) ;-)

Member

From alobbs on December 13, 2010 19:17:06
http://svn.cherokee-project.com/changeset/5940 should have fixed the problem.

Please, give it a try if you have the chance. As soon as you guys firm it work for you, I will release 1.0.14.
Thanks!

Member

From foutrelis@gmail.com on December 13, 2010 19:37:29
r5940 appears to have fixed this issue. Great work! :)

Member

From pig...@gmail.com on December 13, 2010 20:05:14
As I wrote on Gtalk.. for me works without any problems;)

Member

From pchott@gmail.com on December 13, 2010 20:41:53
reporting for 0.14: ab test that failed before works now:

Thx alobbs

Member

From alobbs on December 13, 2010 21:06:36
Superb.
Thanks for the feedback!!

@Borkason Borkason closed this Mar 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment