Bondolin
Bondolin

Reputation: 3121

ERR_CONNECTION_RESET in MVC 3 Web App

I'm getting a connection reset error in my ASP.NET MVC3 app. It seems to work on http, except that redirects to https which doesn't work. I have tried fiddling with the timeout values as in asp.net mvc 3 - form post - ERR_CONNECTION_RESET, but to no avail. Has anyone seen and dealt with this sort of error before?

Upvotes: 0

Views: 1833

Answers (2)

Glenn Bullock
Glenn Bullock

Reputation: 349

I had a problem where I was storing and retrieving binary data in / from my database, then upon a request for image data specifically, I was setting the Content-Length header variable to a size bigger than the requested image reflected (doh!), so the browser was expecting more bytes. After two minutes or so it would throw the ERR_CONNECTION_RESET exception and clear the image. I simply removed the header variable and I'm golden.

Upvotes: 0

Bondolin
Bondolin

Reputation: 3121

Found it. I needed to re-create my SSL development self-signed certificate. It expired not too long ago.

Upvotes: 1

Related Questions