This is a discussion on TFS check-in problem within the ASP and ASP.NET Programming forums, part of the Web Development category; We have a frustrating problem in that we can only check in single files at a time without getting an ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| We have a frustrating problem in that we can only check in single files at a time without getting an error that the underlying connection was closed. Every once in a while we get lucky and can check in multiple files but, for the most part cannot. I have enabled verbose logging and have captured this 4/26/2007 4:26:56 PM (pid 7888, tid 1184, 469593 ms) Recorded m_exception in UpDownAsyncResult.Completed(): Microsoft.TeamFoundation.VersionControl.Client.Ver sionControlException: C:\Code\Hydra\Hydra\HydraConfiguration\Debug\CUCor p.Hydra.BusinessEntity.DAC.config: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetResponse() at Microsoft.TeamFoundation.VersionControl.Client.Fil eUploader.UploadChunk(FileStream fileContentStream, Int64 end) --- End of inner exception stack trace --- at Microsoft.TeamFoundation.VersionControl.Client.Fil eUploader.UploadChunk(FileStream fileContentStream, Int64 end) at Microsoft.TeamFoundation.VersionControl.Client.Fil eUploader.UploadContent() The TFS server is not showing any errors. The network admins don't believe it's a network issue. I enabled Windows firewall logging and see connection drops (?) over 8080 to the server Anyone run into a problem like this before? |
| Sponsored Links |
| |||
| Does the TFS Server have plenty of resources? I've never seen this, but I've seen something similar when the ASP_NET worker process is receycling very frequently due to memory etc being low on the TFS AT (usually when running the server in an underpowered virtualised environment) Also, are you sure that your connection is not being proxied by some network device, firewall or NAT? |
| |||
| The server is a dual Xeon processor (3GHz) and has 1GB of RAM. It's running Windows 2003 Server Standard Edition and is at SP1. It has McAfee VirusScan Enterprise 7.1.0. Our workstations are running McAfee VirusScan Enterprise version 8.5.0i. I disabled the On-Access Scan before and was able to check in several files but, a co-worker tried the same steps and got the same connection closed error. The worker processes are set to recycle every 1740 minutes. TFS is the full RTM version (8.0.50727.147) and wasn't migrated from a pre-release version. I've verified that I have the latest drivers for the network card in my computer. The only protocols enabled for the network connection are Client for Microsoft Networks and Internet Protocol.
__________________ A.Rajesh Khanna |
| |||
| Hello ArjKhanna, Some other users said that the disable of the real time protection of McAfee does not work. They said that they uninstall it. then it works ok. But I am not sure. Good luck. best regards
__________________ J Suresh Kumar Google Hacks ![]() |
| |||
| We thought we made some progress because we were error free for a couple of days after performing the following: 1) Updated the driver on our NICs to the latest version. 2) Created exceptions on port 8080 for TCP and UDP in the Microsoft firewall (we allow exceptions) 3) Took the items of the connection property down to Client for Microsoft Networks and Internet Protocol. Went to check in two items to TFS and got the connection error again. 8/6/2007 10:52:37 AM (pid 5588, tid 828, 8473187 ms) Recorded m_exception in UpDownAsyncResult.Completed(): Microsoft.TeamFoundation.VersionControl.Client.Ver sionControlException: C:\Code\Hydra\Hydra\HydraStoredProcedures\Tables\C reate Tables\CreateCUCorpFilesTables.sql: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetResponse() at Microsoft.TeamFoundation.VersionControl.Client.Fil eUploader.UploadChunk(FileStream fileContentStream, Int64 end) --- End of inner exception stack trace --- at Microsoft.TeamFoundation.VersionControl.Client.Fil eUploader.UploadChunk(FileStream fileContentStream, Int64 end) at Microsoft.TeamFoundation.VersionControl.Client.Fil eUploader.UploadContent()
__________________ A.Rajesh Khanna |
| |||
| I am also having this issue. We have about 4 developers using TFS and they get the dropped connection problems also. So any help you can provide would be appreciated. We are running 8.0.50727.142 |
| |||
| I'm having this "underlying connection being closed" problem too. I am accessing TFS externally using https through a reverse web proxy. First I tested from inside our network with the reverse web proxy configured as the TFS server. It didn't seem to have this trouble. Now I am at home with the same client machine (a laptop) and I get this problem. It isn't possible to interact well with TFS due to the error. My connection is on a FIOS network (15 mbps downlink, 2 mbps uplink), so I don't think bandwidth is the issue. This is a really big problem because our company uses offshore teams, and we want them to user our TFS server. This is probably a use case scenario that gets more frequent all the time... |
| |||
| We are also seeing this issue. "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server". It's an intermittent issue and re-trying the operation will occasionally let us connect. It seems to be more common when trying file operations on multiple files rather than individual ones. Has anyone arrived at a solution for this? |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do you check if a date is valid? | itbarota | HTML, CSS and Javascript Coding Techniques | 4 | 12-30-2007 10:21 PM |
| check points | simplesabita | Testing Tools | 1 | 08-22-2007 03:10 AM |
| How may Check points available in QTP with Example? | sundarraja | Testing Tools | 1 | 08-14-2007 04:10 AM |
| Web content check | tripnautic | HTML, CSS and Javascript Coding Techniques | 2 | 05-01-2007 05:56 AM |
| How to check the URL testing? | vadivelanvaidyanathan | Software Testing | 2 | 04-13-2007 03:58 AM |