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 / .NET SDK / December 2003

Tip: Looking for answers? Try searching our database.

httpwebresponse and getting Chunk length was not valid error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ali Mazaheri,MCAD - 15 Oct 2003 06:52 GMT
Hi there,

Has anyone tried to capture a Chunked data (Transfer-Encoding=chunked)
through httpwebresponse?

When I try to read the stream from getresponsestream I get the following
error:
The chunk length was not valid
Ron Alberda [MSFT] - 21 Oct 2003 23:24 GMT
What kind of server is it? Are you able to go to the site with Internet
Explorer or any other web browser?

-Ron

> Hi there,
>
[quoted text clipped - 4 lines]
> error:
> The chunk length was not valid
Ali Mazaheri [MCAD] - 22 Oct 2003 07:09 GMT
Yes, it's Appachi. I try to capture the stream from a video server.

> What kind of server is it? Are you able to go to the site with Internet
> Explorer or any other web browser?
[quoted text clipped - 9 lines]
> > error:
> > The chunk length was not valid
Feroze [MSFT] - 06 Nov 2003 20:25 GMT
If it is a public server/uri, you can send us the location of that and we
can see what is wrong with it.

Signature

Remove "user" from the email address to reply to the author.

This posting is provided "AS IS" with no warranties, and confers no rights

Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

> Yes, it's Appachi. I try to capture the stream from a video server.
>
[quoted text clipped - 11 lines]
> > > error:
> > > The chunk length was not valid
Eric Larson - 26 Nov 2003 17:23 GMT
Was this ever resolved?  We have the same problem (on a non-public site)
on Apache.

The default chunk size for Apache is 4096 bytes and we were getting this
error when the chunk being sent was 4139 bytes.  So we dropped the chunk
size down to 3072 but that just seems to have shifted the problem to a
different size of bytes.

Any suggestions?
Feroze [MSFT] - 18 Dec 2003 00:25 GMT
I have tested with apache, and never had a problem with chunk sizes. What
build of the framework are you using ? Is this server publicly accessible ?

Please give detailed repro instructions. What is the size of the chunk that
is causing problems ?

feroze.

Signature

Remove "user" from the email address to reply to the author.

This posting is provided "AS IS" with no warranties, and confers no rights

Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

> Was this ever resolved?  We have the same problem (on a non-public site)
> on Apache.
[quoted text clipped - 5 lines]
>
> Any suggestions?

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.