Page 1 of 1

HTTP Version not supported

Posted: Wed Jul 14, 2010 6:08 pm
by harolds
Ever since yesterday (7/13) using xtvdWebService.cs from the development section I get the below error when calling Download("2010-7-12T03:00:00Z","2010-7-15T05:59:59Z"):
System.Net.WebException: The request failed with HTTP status 505: HTTP Version Not Supported.

Prior to the 13th it worked as expected.

How long can I expect to be without service?

Re: HTTP Version not supported

Posted: Wed Jul 14, 2010 9:32 pm
by rmeden
I've been seeing these intermittently as well. It's been reported.

Robert

Re: HTTP Version not supported

Posted: Thu Jul 15, 2010 12:30 pm
by petarld
How do I modify the HTTP version for the sample written in C#?

Re: HTTP Version not supported

Posted: Thu Jul 15, 2010 2:21 pm
by Glenn1963
Not sure how far we've strayed from the sample code, but assuming you are creating an HttpWebRequest like

Code: Select all

HttpWebRequest request =(HttpWebRequest)base.GetWebRequest(uri);
all you need is

Code: Select all

request.ProtocolVersion = HttpVersion.Version10;
As Robert has reported, I still see the 505 error on occasion, but am able to complete requests most of the time.

-G

Re: HTTP Version not supported

Posted: Thu Jul 15, 2010 2:54 pm
by petarld
Thanks, it works a little better but still crashes occasionally and it's not really usable for me.

Re: HTTP Version not supported

Posted: Thu Jul 15, 2010 4:15 pm
by Glenn1963
We catch the error and use a 60 second delay retry loop, it keeps the data flowing when the error is occasional.

-G