Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to read data from the transport connection - TFS Issue

I am having an issue regarding Team Foundation Server where i am getting the error 'Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.' whenever i try to check in a project. I also get this error from time to time when i try to 'Get Latest Version'. I have attempted to use TFS in both Visual Studio 2010 & Visual Studio 2013 but i get the same issue.

I have also tried the following:

  • Remapping my TFS Source Control
  • Deleting all files from the local path of my source control and redownloading
  • Turned my firewalls off
  • Switching the port in which my Ethernet cable is connected to

I have included a screenshot of this error below:

Error Message

Does anyone have any idea of how to fix this, i would be massively grateful!

like image 293
Charlie Stuart Avatar asked Jul 10 '15 11:07

Charlie Stuart


1 Answers

I came across this article which talks about this exact same problem. The author of the article talks about this error being related to http.sys bug.

Below is an excerpt from that article

Http.sys is the http protocol stack that IIS uses to perform http communication with clients. It has a timer called MinBytesPerSecond that is responsible for killing a connection if its transfer rate drops below some kb/sec threshold. By default, that threshold is set to 240 kb/sec. It turns out that there is a bug with this timer and it is causing connections to be prematurely killed. We have found that lowering this threshold reduces the number of connections that are killed by the server.

See if that helps?

Note: As mentioned in the article, the hotfix and settings have to be changed in the Application Tier (AT). TFS consists of a Application tier and a Database Tier. If your unfamiliar with the term, then you probably have just a single server installation, which means both the AT and DT are on the same server.

like image 160
S.Krishna Avatar answered Oct 05 '22 07:10

S.Krishna