Closed frankenjoe closed 2 years ago
It seems to be a problem with Artifactory. Downloading the file with the browser also fails...
Can you try to download it with artifactory.rest_get_stream()
, compare https://github.com/devopshq/artifactory/blob/master/artifactory.py#L753-L766
But it seems indeed related to Artifactory if you can also not download from the browser.
Can you try to download it with
artifactory.rest_get_stream()
, compare https://github.com/devopshq/artifactory/blob/master/artifactory.py#L753-L766
Do you have some sample code how to use this function? Having a hard to figure out and can't find any documentation.
This was caused by having a size limit on cache file for downloading on a slow connection, compare https://www.jfrog.com/jira/browse/RTFACT-16743
We increased the allowed caching size on the server, can you try to download again and check if it is working now?
We increased the allowed caching size on the server, can you try to download again and check if it is working now?
Great, this solved the issue.
When I try to download a specific file from our Artifactory server on my local computer, I get stuck in the following loop:
Basically, it reads 0 bytes from the file, which is an indication that there are no more bytes left to read, but the condition
src_size > dst_size
is still True.src_size
is:but
dst_size
only:On disk the file has
1.1 GB (1,085,050,880 bytes)
and on Artifactory it says:I have the following versions installed: