TeamCity proxy doesn't work;

my TeamCity config a GitHub project, which connection is very poor, because we are in china,  I have set hk proxy . however it still happened:

Failed to collect changes, error: List remote refs failed: org.apache.http.conn.ConnectTimeoutException: Connect to [] failed: connect timed out, VCS root: "******#refs/heads/master" {instance id=26, parent internal id=1, parent id=*****, description: "*****o#refs/heads/master"}
1 comment

The git processes in TeamCity have their own proxy settings. Please configure the following internal properties:

Type of SSH proxy, supported values: httpsocks4socks5. Keep in mind that socks4 proxy cannot resolve remote host names, so if you get an UnknownHostException, either switch to socks5 or add an entry for your git server into the hosts file on the TeamCity server machine.



For additional information on git properties, please visit our documentation at 


Please sign in to leave a comment.