<< Back to previous view

[QB-4090] Deploy failed if upload large files to artifactory
Created: 15/Apr/24  Updated: 18/Apr/24

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 12.0.12
Fix Version/s: 14.0.9

Type: Bug Priority: Blocker
Reporter: Siddharth Kaushal Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Windows Server 2019

File Attachments: PNG File 2024-04-17_19-08-14.png    

 Description   
Hi,

I have recently configured artifactory plugin. I have created a new publish to artifactory step and when I am trying to upload the artifacts I am getting below error

12:03:49,323 ERROR - Step 'master>publish_to_fis_dev_artifactory' is failed: Failed to deploy artifacts: 404 page not found

Whereas I have connectivity on the server I am trying to execute. Please check and let me know if anything else need to be done.

variables defined
artifactory_server = https://artifactory._url/


 Comments   
Comment by Robin Shen [ 15/Apr/24 11:28 AM ]
Please specify artifatory server url as "https://&lt;artifactory server url>/artifactory" to see if it works.
Comment by Siddharth Kaushal [ 15/Apr/24 11:42 AM ]
Can you please specify url using below format, the above you mentioned is confusing:
my url is as below:
https://artifactory.dev/
Comment by Robin Shen [ 15/Apr/24 12:07 PM ]
Specify url as "https://artifactory.dev/artifactory".
Comment by Siddharth Kaushal [ 15/Apr/24 12:10 PM ]
okay, I tried this its having same error with below html details

publish_to_fis_dev_artifactory' is failed: Failed to deploy artifacts: <!doctype html><html lang="en"><head><title>HTTP Status 400 - Bad Request</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 400 - Bad Request</h1></body></html>
Comment by Robin Shen [ 15/Apr/24 12:18 PM ]
Which Artifactory version are you using?
Comment by Siddharth Kaushal [ 15/Apr/24 12:21 PM ]
Using Jfrog Enterprise Plus 7.77.6
Comment by Siddharth Kaushal [ 16/Apr/24 09:55 AM ]
I tried again and checked on artifactory, its uploading the folder but not all contents of the folder.
There are 2 folders and 2 files under the source path.

Also getting below error at the end of the step:
java.net.SocketException: Software caused connection abort: socket write error
caused by: Software caused connection abort: socket write error
Comment by Robin Shen [ 16/Apr/24 11:13 AM ]
Thanks for the update. Will investigate the issue and let you know the result.
Comment by Robin Shen [ 16/Apr/24 12:00 PM ]
Please check if QB14 works at your side. I tested with Artifactory 7.77.9 version and it can publish artifacts without any issues here.
Comment by Siddharth Kaushal [ 16/Apr/24 12:11 PM ]
I am using QB12.0.12, can you please try to check on this version of QB. Because for upgrading to QB14 will take some time for us.
Comment by Siddharth Kaushal [ 17/Apr/24 07:20 AM ]
I tried on a test instance where QB 13.0.40 is installed and the issue is same as above

java.net.SocketException: Software caused connection abort: socket write error
caused by: Software caused connection abort: socket write error
Comment by Robin Shen [ 17/Apr/24 11:09 AM ]
Are you able to choose repository as indicated by attached screenshot?
Comment by Siddharth Kaushal [ 17/Apr/24 11:14 AM ]
Yes, I am able to choose repository.

Also there are 2 folders in source directory out of which only 1 is getting uploaded
Comment by Robin Shen [ 18/Apr/24 02:39 AM ]
Get this reproduced at my side with large files. And the problem is now fixed in QB 14.0.9:

https://build.pmease.com/build/5885
Generated at Fri Nov 01 01:01:12 UTC 2024 using JIRA 189.