417 EXPECTATION FAILED in response

39 views
Skip to first unread message

cootetom

unread,
Nov 22, 2009, 12:32:33 PM11/22/09
to Django users
Hi all,

I recently ran a load test on my django web site which is running on
an Apache server. I tested it up to a load of 5000 users. I got a few
time out error's on a page that queries mySQL on a date field so I'm
going to index that column to see if that solves it.

However I also got another error code which was 417. After a few
searches on the net I found out the definition of this error;

"The server cannot meet the requirements of the Expect request-header
field."

That makes me assume that the load testing tool that I'm using is
adding in an expects header, which makes sense. But why should this
error be returning at all? Wondering if anyone has had this issue
before. I'm not sure what I can do to fix it and can't seem to find
any useful information on the net about it. It could be an Apache
thing but I have seen in the django source that django it can return
this response code too.

Any help or advice is appreciated.
- Tom
Reply all
Reply to author
Forward
0 new messages