IOException reading from HttpWebResponse response stream over SSL
- by Lawrence Johnston
I get the following exception when attempting to read the response from my HttpWebRequest:
System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamReader.ReadBuffer()
at System.IO.StreamReader.ReadToEnd()
...
…