I have a Desktop client making HTTPS requests to a WebServer hosted in Visual Studio IIS Express. I have been developing the use of VS 2015 Update 2 for several months and everything works without problems.
However, yesterday I installed the VS 2015 update. First I had to install a local SSL certificate on my computer (I am pretty sure that I did not need to do this with Update 2). But as soon as it was aloof, everything was in order.
When I turned on my machine today and loaded my development environment, I get the following exception chain when sending an HTTPS request:
HttpRequestException: An error occurred while sending the request.
WebException: The underlying connection was closed: An unexpected error occurred while sending.
IOException: Unable to read data from transport connection: An existing connection was forcibly closed by the remote host.
SocketException: An existing connection is forcibly closed by the remote host.
I did not make any other changes in my dev environment other than updating Resharper from 9.2 to 2016.1, but I cannot imagine that it had anything to do with my problems.
Does anyone know what might cause problems?
Update:
I do not get an exception if I do not use SSL. So it seems like some of the changes in IIS Express used in Visual Studio 2015 Update 3 are causing some SSL issues.
source share