-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Affects Version/s: 7.4.1
-
Fix Version/s: None
-
Component/s: Artifactory, Frontend
-
Labels:
-
Severity:High
We have many Generic repos but one of the repos in particular (generic-local-CoreSoftware_Runtime) does not allow you do download a directory from the Web UI. It works when using the CLI tool or REST API but not the web UI. The problem is when trying to download it just silently fails for the user, no error message or anything the directory zip file is just never created. When I check the logs I see these errors
2019-10-11 20:04:40,297 [http-nio-8081-exec-251] [ERROR] (o.a.d.FolderArchiveStreamer:111) - Error executing folder download: IOException: Client closed the stream prematurely
2019-10-11 20:06:03,351 [http-nio-8081-exec-221] [ERROR] (o.a.d.FolderArchiveStreamer:111) - Error executing folder download: IOException: Client closed the stream prematurely
2019-10-11 20:10:30,683 [http-nio-8081-exec-244] [ERROR] (o.a.d.FolderArchiveStreamer:111) - Error executing folder download: IOException: Client closed the stream prematurely
Looking at the error it is suggesting that the browser has terminated the connection before completing the download, I tried it with other browsers and Microsoft Edge is the only one that seems to work though it takes a while to come back, but Firefox, Chrome, IE give up too soon as well.