Bug 19517 - System.Net.HttpWebRequest incorrectly fails with System.Net.WebException: The operation has timed out
Summary: System.Net.HttpWebRequest incorrectly fails with System.Net.WebException: The...
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: System ()
Version: 3.2.x
Hardware: Other Other
: --- normal
Target Milestone: Untriaged
Assignee: Martin Baulig
URL:
Depends on:
Blocks:
 
Reported: 2014-05-04 13:17 UTC by DiverseCG
Modified: 2016-11-11 09:45 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description DiverseCG 2014-05-04 13:17:43 UTC
Description of Problem:
System.Net.HttpWebRequest fails with System.Net.WebException: The operation has timed out; Uploads with or without expect-100-continue fail if they take longer than 30 second timeout, even though the actual upload completes even if it takes 5+ minutes, the error happens on connection close, but the file is uploaded in it's entirety without any problems (hashes check out).  This error does not happen on Windows.  The error is painfully present with Duplicati backup software.  Unsure if related only to PUT requests. I have tried this on both MacOS and on Linux.  (error reports https://groups.google.com/forum/#!topic/duplicati/6jw0GKs8Bl8 and https://groups.google.com/forum/#!topic/duplicati/Rm5IJymLI9o )

Steps to reproduce the problem:
1. Do a backup with Duplicati software to Google drive or to SFTP, set the --dblock-size to a high enough value to make upload take > 30 seconds

2. try same backup command on Windows and see no errors


Actual Results:
System.Net.WebException: The operation has timed out

Expected Results:
no errors

How often does this happen? 
every time

Additional Information:
Comment 1 Martin Baulig 2016-11-11 09:45:17 UTC
Closing ancient bugs, please reopen if you're still having this problem.