[Mono-bugs] [Bug 69118][Wis] New - Accessing https: protocol raises exceptions

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 4 Nov 2004 22:29:36 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by devslashnull@gmail.com.


--- shadow/69118	2004-11-04 22:29:36.000000000 -0500
+++ shadow/69118.tmp.3807	2004-11-04 22:29:36.000000000 -0500
@@ -0,0 +1,58 @@
+Bug#: 69118
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: Mac OS 10.3.5
+Status: NEW   
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: devslashnull@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Accessing https: protocol raises exceptions
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+I tried using the HttpWebRequest class in one of my projects to access an https: page, but I was 
+given an exception. I tried using just the WebClient class in a very simple test and it also threw 
+an exception.
+Steps to reproduce the problem:
+1. Use the WebClient class's DownloadData member to access an https: page.
+2. Output the result to the Console.
+Actual Results:
+Unhandled Exception: System.Net.WebException: Error getting response stream: ReceiveFailure 
+---> System.ObjectDisposedException: The object was used after being disposed.
+in <0x00058> Mono.Security.Protocol.Tls.SslClientStream:checkDisposed ()
+in <0x00088> (wrapper remoting-invoke-with-check) 
+Mono.Security.Protocol.Tls.SslClientStream:checkDisposed ()
+in <0x00080> Mono.Security.Protocol.Tls.SslClientStream:BeginRead 
+in <0x000e4> System.Net.WebConnection:InitRead (object)
+--- End of inner exception stack trace ---
+in <0x0008c> System.Net.HttpWebRequest:CheckFinalStatus (System.Net.WebAsyncResult)
+in <0x000a8> (wrapper remoting-invoke-with-check) System.Net.HttpWebRequest:
+CheckFinalStatus (System.Net.WebAsyncResult)
+in <0x00244> System.Net.HttpWebRequest:EndGetResponse (System.IAsyncResult)
+in <0x000b0> System.Net.HttpWebRequest:GetResponse ()
+in <0x00064> System.Net.WebClient:DownloadData (string)
+in <0x000a8> (wrapper remoting-invoke-with-check) System.Net.WebClient:DownloadData 
+in <0x00064> TestSSL:Main (string[])
+Expected Results:
+The contents of the url.
+How often does this happen? 
+Every time.
+Additional Information:
+Accessing the internet through Airport using WEP.