Artifactory artifacts not used since REST API is not working. Please help.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Artifactory artifacts not used since REST API is not working. Please help.

ashoksri
Hi Team,

I've written a perl script to extract the information of the artifacts not downloaded since the given time based on the API.
https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API
****Artifacts Not Downloaded Since****

I've granted full access to the non-anonymous user to fetch. I'm using Perl LWP and HTTP request module to connect the artifactory url to fetch the information.
When I run the script, I get the below error message.

Error: 500 read timeout


The link I've tried on browser,

<a href="http://server:port/artifactory/api/search/usage?notUsedSince=1440599440000&repos=libs-snapshots-local">http://server:port/artifactory/api/search/usage?notUsedSince=1440599440000&repos=libs-snapshots-local

HTTP ERROR 401

Problem accessing /artifactory/api/search/usage. Reason:
This search resource is available to authenticated users only.


Any help or suggestion on this would be highly appreciated.
Please help me.

Thanks in advance.

Ashok Kumar Srinivas