Artifacts publishing problem
Hello. We installed the TeamCity Professional License (v 8.15) on a Windows 7 Professional machine and one build agent on the same machine. After performing about 20 successful builds (including publishing of artifacts), the build server agent is no longer capable of publishing artifacts. The builds are still successful. See log below. We disabled antivirus protection and firewall but with no success. Does anybody have any ideas how to fix this?
[2014-11-21 19:11:27,579] INFO - buildServer.AGENT.registration - Server confirmed we are still registered
[2014-11-21 19:11:27,579] INFO - r.agent.impl.AgentLogProxyImpl - Ping OK and registered on the server again: 23
[2014-11-21 19:11:27,579] INFO - r.agent.impl.AgentLogProxyImpl - Pending remote commands count: 6
[2014-11-21 19:11:27,579] INFO - jetbrains.buildServer.AGENT - Start: Publishing files using WebPublisher
[2014-11-21 19:11:27,798] INFO - jetbrains.buildServer.AGENT - Start: Publishing files using ArtifactsCachePublisher
[2014-11-21 19:11:30,840] WARN - jetbrains.buildServer.AGENT - Failed to publish artifacts [D:\BuildAgent\temp\buildTmp\ZipPreprocessor2437893383097425848\UpgradePackage_5.30.1.1.22_2759.zip (size: 149123590)] because of error: java.net.SocketException: Connection reset by peer: socket write error, will try again.
[2014-11-21 19:11:30,840] WARN - jetbrains.buildServer.AGENT - Failed to publish artifacts: Connection reset by peer: socket write error, will try again
[2014-11-21 19:11:30,840] WARN - r.agent.impl.AgentLogProxyImpl - Remote command Publishing to Result/UpgradePackage_5.30.1.1.22_2759.zip failed 10 times, error: jetbrains.buildServer.agent.ArtifactPublishingFailedException: Connection reset by peer: socket write error
Please sign in to leave a comment.
Hi Adrian,
What is the size of artifacts that you publish? To configure Maximum artifact file size please go to Administration > Global setting page.
The size of the publishing artifacts is almost 1GB and the maximum artifact file size is unlimited (-1) - see attached screenshot. Sometimes publishing succeeds after 3 attempts, but sometimes they don't succeed at all.
Attachment(s):
tcadmin.png
Do you have proxy server configured?
No, we haven't configured any proxy for TeamCity.
Hi Adrian,
I've created an issue https://youtrack.jetbrains.com/issue/TW-38898. Please watch/vote for it. Also please attach teamcity-server.log and teamcity-agent.log files to the issue.
Hi Adrian/Alina
I am using TeamCity Enterprise 9.1.4 version and I am facing one weird issue when Linux agents are used.
The size of artifacts is unlimited in Administration--> Global settings.
While publishing a tar or zip file as a build articact, the build gets cancelled after getting connection reset errors.
Do you guys know the cause here as we are completely blocked due to this?
Thanks,
-Rajesh