HTTP 502 error when you connect to TFS 2013 by using Git clients
This article helps you resolve the problem where you experience an HTTP 502 error when you connect to TFS 2013 by using Git client.
Original product version: Visual Studio Team Foundation Server 2013
Original KB number: 2867441
Symptoms
Consider the following scenario:
- Visual Studio Team Foundation Server 2013 Preview (TFS 2013) is running in Internet Information Services (IIS) 7.0 or IIS 7.5 on a computer, and the IIS Application Request Routing (ARR) 2.5 feature is enabled in IIS.
- You create a team project that uses Git as the source control engine in TFS 2013.
- You connect to this Git remote repository on the TFS server by using a third-party Git client.
- You try to execute a large request by using Git. For example, you clone many files.
In this scenario, you may receive an HTTP 502 error message from IIS that resembles the following:
error: RPC failed; result=22, HTTP code = 502
fatal: The remote end hung up unexpectedly
fatal: recursion detected in die handler
Cause
This issue occurs because of an issue in the ARR 2.5 feature.
Resolution
To resolve this issue, install the ARR 2.5 update.
Contact us for help
If you have questions or need help, create a support request, or ask Azure community support. You can also submit product feedback to Azure feedback community.
More information
Third-party information disclaimer
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for