We are using Teamcity 8.0.1 (build 27435). Having this same problem. Trying to connect to the bitbucket repository and get the following exception with interruptions:
Failed to collect changes, error: List remote refs failed: org.eclipse.jgit.errors.TransportException: https:// username@bitbucket.org /myproject/project.git: -1 null
For the proxy server, I added -Dhttps.proxyHost = XXX -Dhttps.proxyPort = 1234 to the TEAMCITY_SERVER_OPTS environment variable. This did not work. An attempt was made to upgrade to Java7 in another forum , but that also did not help.
Unfortunately, we cannot use SSH for bitbucket due to company network rules.
Has anyone solved this problem or have any suggestions? Thanks for the help!
source share