Build failing when pulling from perforce with SSL received failed:: unexpected eof while reading
Since 8th Jan all the builds are failing from Perforce with [2026-01-12 16:41:37,041] INFO - jetbrains.buildServer.VCS.P4 - jetbrains.buildServer.vcs.perforce.cmdExceptions.PerforceClientErrorException: Perforce client error. Please check your connection parameters or inspect teamcity-vcs logs for the complete information. (exitCode: 1)(stderr: SSL receive failed. read: error:0A000126:SSL routines::unexpected eof while reading: The operation completed successfully. Perforce client error:
If we login to the build machine and pull the repo it works fine
Please sign in to leave a comment.
Hi,
Is it possible that you had rotated the Perforce server's SSL certificates before this error started to occur? If that was the case, you could need to set p4 trust as indicated here:
https://www.jetbrains.com/help/teamcity/perforce.html#Other+Settings
It is also worth mentioning there are some known issues of this property being ignored in some cases, that have been fixed in version 2026.1:
https://youtrack.jetbrains.com/issue/TW-95283
Thanks