473,421 Members | 1,625 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,421 software developers and data experts.

Intermittent http-400 Errors

I don't know if this is an ASP.NET issue, an IIS issue, or a user browser
issue, but on one of our web applications we have been getting an increasing
amount of 400 'Bad Request' errors. The following is what we know about the
issue mostly from looking at LiveStats and the IIS log:

- It is Intermittent. Most of the time it behaves correctly but the amount
of 400 errors has been increasing in frequency.
- When the 400 does occur it is on a postback, not on the first request to
the page.
- Once the error occurs, it will occur for all subsequent refreshes to the
page.
- There is evidence that sometimes the user is able to submit the page
correctly the first time, but when they come back to that same page later it
produces the 400 error when they try to submit the form. So it does not
happen consistently for the same user.
- ASP.NET does not catch this 400 error. We use the global error event to
catch errors, and while it picks up 404's it is not picking up this 400.
- IIS server 2003, Dotnet framework 1.1.
- It has occured on both IE 6 and IE 7 browsers, with no indication that it
will not occur on others.
- The IIS logs also shows network code 64. Nothing was listed in the event
log.

We have never been able to duplicate this error, but it seems to be
happening to an increased number of customers on the site. This is affecting
our sales. It is high priority for us to resolve this. If no one knows the
answer I would like to be directed to an area where I can get assitance.

Thank You
Darrel
May 1 '07 #1
2 4644
400 is a bad request, meaning what IIS received is not a valid http
request. you should run a network sniffer/trace to catch what is
actually sent to IIS.

a common cause is using integrated security which requires connection
keep alives for the out-of-band security exchange messages, and some
proxy server is not honoring the keep alive.
-- bruce (sqlwork.com)

Darrel wrote:
I don't know if this is an ASP.NET issue, an IIS issue, or a user browser
issue, but on one of our web applications we have been getting an increasing
amount of 400 'Bad Request' errors. The following is what we know about the
issue mostly from looking at LiveStats and the IIS log:

- It is Intermittent. Most of the time it behaves correctly but the amount
of 400 errors has been increasing in frequency.
- When the 400 does occur it is on a postback, not on the first request to
the page.
- Once the error occurs, it will occur for all subsequent refreshes to the
page.
- There is evidence that sometimes the user is able to submit the page
correctly the first time, but when they come back to that same page later it
produces the 400 error when they try to submit the form. So it does not
happen consistently for the same user.
- ASP.NET does not catch this 400 error. We use the global error event to
catch errors, and while it picks up 404's it is not picking up this 400.
- IIS server 2003, Dotnet framework 1.1.
- It has occured on both IE 6 and IE 7 browsers, with no indication that it
will not occur on others.
- The IIS logs also shows network code 64. Nothing was listed in the event
log.

We have never been able to duplicate this error, but it seems to be
happening to an increased number of customers on the site. This is affecting
our sales. It is high priority for us to resolve this. If no one knows the
answer I would like to be directed to an area where I can get assitance.

Thank You
Darrel
May 1 '07 #2
Thank you Bruce for your answer.

I had passed this information along to our network staff and web host. And
we will be posting similar questions in network forums.

I would like to verify that this is a network error and not an asp.net
error. Since we have not uploaded any changes to the code lately, and since
the asp.net gloabl event handler does not seem to be catching it, it does
appear to be network related.

If anbody knows anything about this issue that could be asp.net related, or
there is something I could do as an asp.net developer to help resolve this,
please let me know.

Darrel

"bruce barker" wrote:
400 is a bad request, meaning what IIS received is not a valid http
request. you should run a network sniffer/trace to catch what is
actually sent to IIS.

a common cause is using integrated security which requires connection
keep alives for the out-of-band security exchange messages, and some
proxy server is not honoring the keep alive.
-- bruce (sqlwork.com)

Darrel wrote:
I don't know if this is an ASP.NET issue, an IIS issue, or a user browser
issue, but on one of our web applications we have been getting an increasing
amount of 400 'Bad Request' errors. The following is what we know about the
issue mostly from looking at LiveStats and the IIS log:

- It is Intermittent. Most of the time it behaves correctly but the amount
of 400 errors has been increasing in frequency.
- When the 400 does occur it is on a postback, not on the first request to
the page.
- Once the error occurs, it will occur for all subsequent refreshes to the
page.
- There is evidence that sometimes the user is able to submit the page
correctly the first time, but when they come back to that same page later it
produces the 400 error when they try to submit the form. So it does not
happen consistently for the same user.
- ASP.NET does not catch this 400 error. We use the global error event to
catch errors, and while it picks up 404's it is not picking up this 400.
- IIS server 2003, Dotnet framework 1.1.
- It has occured on both IE 6 and IE 7 browsers, with no indication that it
will not occur on others.
- The IIS logs also shows network code 64. Nothing was listed in the event
log.

We have never been able to duplicate this error, but it seems to be
happening to an increased number of customers on the site. This is affecting
our sales. It is high priority for us to resolve this. If no one knows the
answer I would like to be directed to an area where I can get assitance.

Thank You
Darrel
May 3 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tom Chadwin | last post by:
Hello all Using PHP 4.1.2, I am seeing intermittent visible escaping backslashes in my HTML output. Try refreshing the following page a few times to see what I mean: ...
8
by: trinitypete | last post by:
Hi all I have a strange problem with IIS windows pass through authentication. Heres the setup IIS running with Windows Authentication for our intranet site. ACL has been set to everyone for all...
4
by: akhare1 | last post by:
OK, before I start, let me clarify a few things here. This is not the run of the mill failure to read a registry key while trying to write to the Event Log. Here's our setup: a) IIS 6.0...
2
by: Mike Krajewski | last post by:
We are having an intermittent problem using an ExecuteScalar command on a asp.NET page accessing SQL Server. 2 characters of the sql statement get intermittently altered. The code looks as...
3
by: Lee Chapman | last post by:
Hi, I have a problem where my ASP.NET application occasionally generates a MissingFieldException exception. This unexpectedly happened on my development box, and so I was able to extract some...
0
by: Shane C | last post by:
Intermittent Error: Server was unable to process request  Object reference not set to an instance of an object I have windows application that references a XML web service on our web server. ...
0
by: Brano | last post by:
Hi all, I have a asp.net website that has been live for about 2 weeks now and there were no problems with it. I have got a new server that is Win 2003 IIS 6.0 I have moved my application onto...
8
by: Dave | last post by:
I am getting an intermittent database error on my asp page. I am using Access 2003 with classic ASP. The error is this: Microsoft JET Database Engine Error 80040e10 No value given for one or...
0
by: Joey Bersche | last post by:
I've been experiencing an intermittent crash where no python stacktrace is provided. It happens for a url downloading process that can last up to 12 hours and crawls about 50,000 urls. I'm...
15
by: jonnyboy | last post by:
Hello, I'm having an intermittent problem with the back-end of my database. On an intermittent basis, the back-end tables will become read-only. This only happens when the back-end is located...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.