2024.07 Tools Update Issue
I've just updated our Teamcity to 2024.07 and across all the pages (I've dismissed it earlier so can't see it now) there was a banner about being unable to download/update some tools.
Clicking it brought me to the Tools page in the admin console where both JetBrains ReSharper Command Line Tools and JetBrains dotCover Command Line Tools were showing an error. I'm guessing this is happening to me now because of these two issues that were part of the 2024.07 release:
Remove dotCover bundled tool and install it after TeamCity server startup : TW-84380 (jetbrains.com)
In trying to get them working again, I removed them both and I'm trying to add them again but both are returning:
Uploading manually it also returns an error, I can't see anything in the logs to suggest what the problem is.
I don't use either of these tools but dotCover is causing all my builds to stall because this parameter is blank:
I've worked around it by manually putting a blank value into that parameter at the root of my projects but it's not an ideal solution.
We're behind a proxy and the proxy is configured correctly in ‘Internal Properties’, the proxy intercepts HTTPS traffic so I've added the proxy's CA certificate to 'SSL/HTTPS Certificates' under the <Root Project>.
All other parts of Teamcity are able to function grabbing repos from Github and updating from nuget through the proxy and https.
Picking another random tool to install also has the same error:
Does anybody have any idea what's going on or how to fix it?
Please sign in to leave a comment.
Hi Ben,
Thanks for reporting this issue.
I was able to reproduce it on my end. I will report it to our Dev Team, any update I will let you know. For now, could you please install the tools using the .nupkg file?
https://www.nuget.org/packages/JetBrains.dotCover.CommandLineTools/
https://www.nuget.org/packages/JetBrains.ReSharper.CommandLineTools/#versions-body-tab
Thanks Tom Sun , I've tried that and I get the same error as when trying to upload the ZIP file. Clicking add makes it think for a few seconds and then I get the red text appear.
Hi Ben,
To investigate further, could you please capture the network trace file(https://learn.microsoft.com/en-us/azure/azure-web-pubsub/howto-troubleshoot-network-trace) when you upload the file?
Files can be uploaded via https://uploads.jetbrains.com/. Please let us know the exact id after the upload.
Best Regards,
Tom
I've solved that secondary issue, checking the logs I was getting a 413 error and IIS, which I'm using as a reverse proxy, wasn't setup for large uploads. A few settings changes and I can import the nuget packages.
Thanks for your help.
Glad to know that you have found the root cause and I am pleased to hear that the solution is functioning well for you.
If there is any update on why ReSharper and dotCover can't be installed using a zip file, I will add the information here.
Sorry for any confusion.
I'd like to correct my previous answer. When using the .tar.gz file for the ReSharper tool, I can reproduce the issue. We have also created a YouTrack ticket TW-89226 (https://youtrack.jetbrains.com/issue/TW-89226/Allow-to-upload-dotCover-and-ReSharper-tools-in-tar.gz-format) for it. However, when using the .zip file for the ReSharper tool, it works for me.
No problem.
Is there any light you can shed on the initial issue that started me needing to manually import the packages?
Hi Ben,
These two tools are not bundled in the 2024.07 release. Based on the error information, it indicates that the issue is due to have issue to access the internet to download them.
So in your case, make sure they are allowed by your proxy.
Proxy configuration seems to be fine, all the build steps of our various projects are able to access api.nuget.org without issue so it just seems to be this particular screen/process that is has a problem so I'm not really sure what else to try.
(edit) This is where we've configured the proxy and it works for 99% of Teamcity
Please ensure that the following URLs are added to your proxy and firewall exceptions.
dotCover + ReSharper
• https://api.nuget.org (https://api.nuget.org/)
• https://azuresearch-usnc.nuget.org (https://azuresearch-usnc.nuget.org/)
• https://azuresearch-ussc.nuget.org (https://azuresearch-ussc.nuget.org/)
IDEA tool
• https://www.jetbrains.com/teamcity/intellij-tool-config.xml
• https://www.jetbrains.com/teamcity/intellij-tool-index.json
• https://www.jetbrains.com/intellij-repository/releases/com/jetbrains/intellij/idea/ideaIU/2022.1.3/ideaIU-2022.1.3.zip
Maven
• https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/maven-metadata.xml
• https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.tar.gz
• https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.tar.gz
• https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.tar.gz
• https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.tar.gz
• https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.tar.gz
• https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.2.5/apache-maven-3.2.5-bin.tar.gz
• https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.1.1/apache-maven-3.1.1-bin.tar.gz
• https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.0.5/apache-maven-3.0.5-bin.tar.gz
• https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/2.2.1/apache-maven-2.2.1-bin.tar.gz
This was really helpful.
We stumbled upon the same issue.
Is there a way to find out which URLs are blocked exactly? SOmewhere in the logs?
We are using additional Tools in Teamcity
Thank you
You can usually find the related information in the teamcity-server.log(https://www.jetbrains.com/help/teamcity/teamcity-server-logs.html)..
If you have any specific issues, please let us know.