473,320 Members | 1,802 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,320 software developers and data experts.

Http protocol violation error

I m using HTTWebResponse which is running smoothly on my system which
is behing a proxy server. When I run the application with Live IP it
gives

"HTTP Protocol violation error"

I can't use 'useUnsafeHeaderParsing' because it is not recognized by
framework without sp3.

I have urlencoded my data... its a simple get method with no complexity
(I think so)

Here is portion of my log file...please have a look at it. Any comments
on it are appreciated highly... thanks in advance

2/6/2006 4:55:02 PM
URI: http://patft.uspto.gov/netacgi/nph-Parser
--------------------------------------------------------------------
2/6/2006 4:55:02 PM
DATA Length: 11
--------------------------------------------------------------------
2/6/2006 4:55:02 PM
Creating uri
--------------------------------------------------------------------
2/6/2006 4:55:02 PM
CompleteData:
Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&u=/netahtml/srchnum.htm&r=1&f=G&l=50&s1=6666325.WKU.&OS=PN/6666325&RS=PN/6666325
--------------------------------------------------------------------
2/6/2006 4:55:02 PM
Creating Request
--------------------------------------------------------------------
2/6/2006 4:55:02 PM
Request Created
--------------------------------------------------------------------
2/6/2006 4:55:02 PM
Going to get response
--------------------------------------------------------------------
2/6/2006 4:55:10 PM
Error occuredSystem.Net.WebException: The underlying connection was
closed: The server committed an HTTP protocol violation.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncRes ult
asyncResult)
at System.Net.HttpWebRequest.GetResponse()
at PIA.SiteGrabber.Site_Get(String uri, String[] data)
--------------------------------------------------------------------

Feb 27 '06 #1
1 2394
Hello, Khadim!

Except Get request are there any headers that you specify?

How exactly server violated HTTP protocol? ( this info can be obtain by analyzing traffic with the help of traffic sniffer or another proxy...)

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Feb 27 '06 #2

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

Similar topics

0
by: Robert | last post by:
I'm using the https-protocol. On my systems and network everything works ok. But on some connections from some other users' computers/network I get this error (Python 2.3.5 on Windows): ...
5
by: Henrik | last post by:
Hi, I am trying to read some industrial webservers using the HTTP/CGI webequest like this: wrs = (HttpWebRequest)WebRequest.Create(HTTP/CGI-string); mwst = (HttpWebResponse wrs.GetResponse();...
0
by: Helen | last post by:
Hi, I am trying to use a .Net WebClient object to read data from a url, but I am getting the following error: System.Net.HttpWebRequest.CheckFinalStatus()...
3
by: sumit | last post by:
Hi, I am trying to send an XML request from ASPX page to A servlet,,,and gets the XML response back. I am using HttpWebRequest object. It throws exception as: The underlying connection was...
1
by: pmclinn | last post by:
I keep getting the following error: The underlying connection was closed: The server committed an HTTP protocol violation. I have tried putting the <configuration> <system.net> <settings>...
1
by: Dan W. | last post by:
Does anyone have any experience with this problem. I am trying to post about 20 fields of information to another server using System.Net.WebClient.UploadData. This works fine for some servers but...
7
by: Tom | last post by:
Hello all: I have a method that does a POST to a secured website using HttpWebRequest. It worked when logging in the site, but it failed with an HTTP prococol violation error when it is used to...
3
by: JansenH | last post by:
We have implemented a 'HTTP Post' client in C# that posts Xml documents to a webserver. This is working fine if the post rate is one post for every 20 seconds. But if the post rate is increased to...
0
by: Marcus Ogden | last post by:
Hello, A client of ours using the Squid proxy server (version 2.5.STABLE6-3.4E.12.1) on Red Hat Enterprise Linux 4 is experiencing a problem when running our .NET 2.0 client application, which...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.