Failed to connect to GitHub, socket connection reset
We are trying to integrate TeamCity with GitHub, and we get intermittent socket issues with the following:
Failed to collect changes, error: org.eclipse.jgit.errors.TransportException: git@github.com:Organization-Name/Project.git: Session.connect: java.net.SocketException: Connection reset, VCS root: "DotNet Project GitHub" {instance id=11119, parent internal id=3111, parent id=TeamProjects_ProjectClientGitHub, description: "git@github.com:Organization-Name/Project.git#master"}
Please sign in to leave a comment.
The “Connection Reset” error indicates that the connection to github.com was dropped for some reason. Since you've mentioned it is intermittent, you could check to see if anything in your network might be interfering. It could also be that you are experiencing a rate limit, which can also look like an intermittent connection.