Artifacts is failed

Failed to deploy artifacts: Could not transfer artifact _Pipleline:zip:1.0.649 from/to XRepo (http://localhost:xxxx/repository/ParthNexusRepo): Software caused connection abort: socket write error.

Hello Tharun,

This could have multiple causes that have nothing to do with Jenkins.
Could you please retry and give us more context?
Thanks.

This is more likely related to either 1) firewall problem 2) the destination application suddenly crashes

You can try tcpdump or another good sniffer (wireshark) to figure out more. If possible, collect packets from both sides - on the sending side (Jenkins, probably an agent) and the receiving side, “XRepo”.

1 Like

[Pipeline] nexusArtifactUploader
Uploading artifact Retail_LMS.Web.zip started…
GroupId: com.xxxxxx
ArtifactId: com.xxxxxx
Classifier:
Type: zip
Version: 1.0.662
File: Retail_LMS.Web.zip
Repository:XRepo
Uploading: http://localhost:8081/repository/XRepo/com/xxxxx/X_Pipleline/1.0.662/X_Pipleline-1.0.662.zip
Failed to deploy artifacts: Could not transfer artifact com.xxxxx:X_Pipleline:zip:1.0.662 from/to XRepo (http://localhost:8081/repository/XRepo): Software caused connection abort: socket write error

I am trying to push artifact from jenkins to nexus repo.i am facing the above issue…

Please provide any solution

[Pipeline] nexusArtifactUploader
Uploading artifact Retail_LMS.Web.zip started…
GroupId: com.xxxxxx
ArtifactId: com.xxxxxx
Classifier:
Type: zip
Version: 1.0.662
File: Retail_LMS.Web.zip
Repository:XRepo
Uploading: xxxx://localhost:xxxx/repository/XRepo/com/xxxxx/X_Pipleline/1.0.662/X_Pipleline-1.0.662.zip
Failed to deploy artifacts: Could not transfer artifact com.xxxxx:X_Pipleline:zip:1.0.662 from/to XRepo (xxxx://localhost:XXXX/repository/XRepo): Software caused connection abort: socket write error

I am trying to push artifact from jenkins to nexus repo.i am facing the above issue…

Please provide any solution

Please stop posting the same question over and over again. Especially when you seem to be ignoring people’s replies.

Socket write error is a network thing. Please talk to your it team.

From Jenkins artifact is uploaded to nexus through the pipeline code.
Uploading artifact is getting failed for only single job .were other pipelines able to connect to nexus repository. Below shared the console output.

Uploading artifact Retail_LMS.WebApi.zip started…
GroupId: com.xxxxxx
ArtifactId: com.xxxxxx
Classifier:
Type: zip
Version: 1.0.1
File: Retail_LMS.WebApi.zip
Repository:ParthRepo
Uploading: http://localhost:8081/repository/ParthRepo/com/xxxxxx/Testing Parth1/1.0.1/Testing Parth1-1.0.1.zip
10 % completed (774 kB / 7.7 MB).
20 % completed (1.5 MB / 7.7 MB).
30 % completed (2.3 MB / 7.7 MB).
40 % completed (3.1 MB / 7.7 MB).
50 % completed (3.9 MB / 7.7 MB).
60 % completed (4.6 MB / 7.7 MB).
70 % completed (5.4 MB / 7.7 MB).
80 % completed (6.2 MB / 7.7 MB).
90 % completed (7.0 MB / 7.7 MB).
100 % completed (7.7 MB / 7.7 MB).
110 % completed (8.5 MB / 7.7 MB).
120 % completed (9.3 MB / 7.7 MB).
130 % completed (10 MB / 7.7 MB).
140 % completed (11 MB / 7.7 MB).
150 % completed (12 MB / 7.7 MB).
160 % completed (12 MB / 7.7 MB).
170 % completed (13 MB / 7.7 MB).
180 % completed (14 MB / 7.7 MB).
Failed to deploy artifacts: Could not transfer artifact com.xxxxxx:Testing Parth1:zip:1.0.1 from/to ParthRepo (http://localhost:8081/repository/ParthRepo): Connection reset by peer: socket write error.

Can the team suggest any solution for the connection reset by peer:socket write error issue.

180%? something crazy is happening to your artifact. It grows while uploading!