Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / September 2004

Tip: Looking for answers? Try searching our database.

HTTP violation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peter Bladh - 27 Sep 2004 10:15 GMT
Hi

I've made a part of a program that makes a http web request with .net
classes HttpWebRequest and HttpWebResponse. It's been working fine up til
now when one of our customers has been recieving the following WebException:

"The underlying connection was closed: The server committed an HTTP protocol
violation. "

I've been "googling" a bit and read that it might help to set the KeepAlive
property to false and set the http version to 1.0, but neither have helped.

Thanks in advance!
/peter
Girish bharadwaj - 27 Sep 2004 11:10 GMT
You might want to run a HttpTrace or some such HTTP traffic capture program
to see what kind of requests are going across the wire. (for the ones
working and not)..

Signature

Girish Bharadwaj
http://msmvps.com/gbvb

> Hi
>
[quoted text clipped - 10 lines]
> Thanks in advance!
> /peter
Peter Bladh - 27 Sep 2004 11:28 GMT
Hi,
that is kinda hard. I do not have access to the computer with the problem,
but he's agreed to try the patches I'm emailing him.

/peter

> You might want to run a HttpTrace or some such HTTP traffic capture program
> to see what kind of requests are going across the wire. (for the ones
[quoted text clipped - 18 lines]
> > Thanks in advance!
> > /peter
Jochen Kalmbach - 27 Sep 2004 12:10 GMT
> Hi
>
[quoted text clipped - 5 lines]
> "The underlying connection was closed: The server committed an HTTP
> protocol violation. "

Is it running under .NET 1.1 SP1 !?

Then here might be the reason:

HTTP response split attacks, HttpWebRequest and the NET Framework 1.1 SP1
http://blogs.msdn.com/gzunino/archive/2004/09/05/225881.aspx

Signature

Greetings
 Jochen

  My blog about Win32 and .NET
  http://blog.kalmbachnet.de/

Peter Bladh - 27 Sep 2004 14:16 GMT
Hi and thanks for the tip!

How can one see if sp1 is installed (what version shows up in the .NET
Configuration)?

/peter

> > Hi
> >
[quoted text clipped - 12 lines]
> HTTP response split attacks, HttpWebRequest and the NET Framework 1.1 SP1
> http://blogs.msdn.com/gzunino/archive/2004/09/05/225881.aspx

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.