Unable to collect changes :: jetbrains.buildServer.vcs.VcsException
Hi, Below is the stack trace which is from teamcity-vcs.log file.
jetbrains.buildServer.vcs.VcsException: List remote refs failed: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair.
Detailed log:
Caused by: org.eclipse.jgit.errors.TransportException: https://htalari%40ctepl.com@bitbucket.org/schneider-electric/cbmsjava.git: cannot open git-upload-pack
Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive).
Using git as VCS.
Thanks
Harinath T.
Please sign in to leave a comment.
Hi Harinath,
This issue is rather common recently with bitbucket. You are running either an old java version that doesn't support the encryption algorithms of the VCS server, and they seem to have recently removed support for older encryption, so your only solution is to upgrade your Java installation or the whole teamcity installation to a newer release.
Hope this helps.
Thank you Denis Lapuente for your reply, I have installed New teamCity.
Denis Lapuente
Could you please tell me, if I installed latest version of java then where and which places I need to update the JAVA_HOME path in teamcity server.
Hi Harinath,
normally you need to add it to the environment variables of the user running the teamcity service (then restart the service). More information here: https://confluence.jetbrains.com/display/TCD10/Installing+and+Configuring+the+TeamCity+Server#InstallingandConfiguringtheTeamCityServer-JavaInstallation