Unable to Update TeamCity Further After Update to TeamCity Professional 2020.2.2 (build 85899)
Hi,
Some time ago I updated TeamCity Professional to version 2020.2.2 (build 85899). I've been stuck on this version ever since. The /admin/admin.html?item=update page shows the error below:
Checking teamcity-server.log, I see the following error repeated, I imagine for each time I try click "Check for updates" button.
[2023-04-08 11:32:21,544] WARN - jetbrains.buildServer.UPDATE - Unable to check for TeamCity updates via URL "https://www.jetbrains.com/teamcity/update.xml": javax.net.ssl.SSLException: Received close_notify during handshake (enable debug to see stacktrace)
[2023-04-08 11:32:21,545] WARN - jetbrains.buildServer.UPDATE - Error while checking new TeamCity version: jetbrains.buildServer.updates.ServerUpdateException: Unable to check for updates via URL "https://www.jetbrains.com/teamcity/update.xml": Received close_notify during handshake (enable debug to see stacktrace)
[2023-04-08 11:32:22,528] WARN - jetbrains.buildServer.UPDATE - Unable to check for TeamCity updates via URL "https://www.jetbrains.com/teamcity/update.xml": javax.net.ssl.SSLException: Received close_notify during handshake (enable debug to see stacktrace)
[2023-04-08 11:32:22,528] WARN - jetbrains.buildServer.UPDATE - Error while checking new TeamCity version: jetbrains.buildServer.updates.ServerUpdateException: Unable to check for updates via URL "https://www.jetbrains.com/teamcity/update.xml": Received close_notify during handshake (enable debug to see stacktrace)
My TeamCity server is not running on an HTTPS connection.
What do I do to fix this? I'm stuck now on version 2020.2.2 (build 85899).
Please sign in to leave a comment.
It sounds like something is preventing your TeamCity server from establishing a connection to https://www.jetbrains.com/teamcity/update.xml. Are you able to reach this URL from the TeamCity server outside of TeamCity, like from a browser?
Thanks,
Eric
Hi Eric, thanks for the suggestion.

That URL loads fine in the browser on the server:
Thanks for checking this out. Since we know that the URL can be reached from the server, there must be something else interfering with the connection. Do you know if there are any proxy settings on your TeamCity server? Please check Administration | Diagnostics | Internal Properties from your TeamCity web UI to see if there are any outgoing proxy settings there. Additionally, please check to see if there are any proxy settings in the JVM options configured for your TeamCity server; these would commonly be located in the environment variable, TEAMCITY_SERVER_OPTS.
Hi Eric.
I've checked the Internal Properties and there are no references to outgoing proxy settings. See below for a complete list:
TEAMCITY_SERVER_OPTS.
Since it looks like you do not have any outgoing proxy in place, there could be another reason for the error message: javax.net.ssl.SSLException: Received close_notify during handshake.
This error can also come up if the Java running TeamCity cannot establish a handshake. The SSL handshake is the process where the client and server agree on the encryption and decryption methods for secure communication.
With this in mind, one item to check is the version of Java in use for your TeamCity installation. It does appear that you're running an older version of Amazon Corretto 8, 1.8.0_252. As a next step, I would suggest upgrading this to a more recent version of Amazon Corretto. Please find the details on this process in our documentation here: Install Non-Bundled Version of Java. I would also recommend switching to Amazon Corretto 11 because support for Java 8 will be deprecated soon.
Thanks Eric. I'll try that next and get back to you.
what was the resolution for this solution ? I am experiencing same issue