Unable to connect the Teamcity server with the github.com VCS root.

I am trying to set up a vcs root to a github.com repo.
Whenever I try to test the connection I get the following error message:
org.eclipse.jgit.errors.TransportException: TeamCity@github.com:BTIG/TestCSharpTeamCity.git: Session.connect: java.net.SocketException: Connection reset

Does anyone know why I get this error or what exactly this error means?

0
1 comment
Hi,

java.net.SocketException with the error message Connection reset is a common Runtime error that can occur when a network connection is abruptly terminated.

To help resolve this issue, could you please check if there are any network or firewall settings that might be causing the problem? Additionally, have you tried using the native git command directly to see if it works?

If you could provide us with the teamcity-vcs.log &teamcity-vcs-states.log files, it would greatly assist us in a further investigation. About how to get the teamcity logs please refer to TeamCity Server Logs | TeamCity On-Premises Documentation ( (https://www.jetbrains.com/help/teamcity/teamcity-server-logs.html#Logging-related+Diagnostics+UI)jetbrains.com (http://jetbrains.com/)) (https://www.jetbrains.com/help/teamcity/teamcity-server-logs.html#Logging-related+Diagnostics+UI). 

Large files can be uploaded via https://uploads.jetbrains.com/. Please let us know the exact filename after the upload.
0

Please sign in to leave a comment.