Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
asadri11
Contributor
Contributor

Metaservlet API - unable to read from Artifactory

I am attempting to create a Task in TAC by referring to the Talend job stored in the Jfrog Artifactory, using Metaservlet API. The user being used as test is the admin user.

Expected result:

  • To read the file stored in Artifact repository and copy it to the TAC server
  • To see a record of the access in the access.log file

Actual:

There is a line in the request.log with the HTTP code 200 , but there is nothing recorded in the access.log. How do I find out what the issue is?

The error:

"{"error":"nexus.error.wrongstatus","returnCode":181}"

The Restful call:

./MetaServletCaller.sh --tac-url http://... -json '{"actionName": "associatePreGeneratedJob", "active": true, "artifactoryArtifactId": "job_showMsg2", "artifactoryGroupId": "test.job", "artifactoryRepository": "snapshot", "artifactoryVersion": "0.1.0", "authPass": "xxx", "authUser": "xxx", "contextName": "Default", "description": "test_jb1 description", "executionServerName": "jbsrv", "importType": "Artifactory", "logLevel": "Info", "onUnknownStateJob": "WAIT", "pauseOnError": false, "taskName": "job_test", "taskType": "Artifact","targetConductor":"JOBCONDUCTOR", "timeout": 3600}'

Labels (4)
2 Replies
Anonymous
Not applicable

Hello,

It seems you have already created a support case about {"error":"nexus.error.wrongstatus","returnCode":181} when creating a task an artifact task with Antifactory.

A related jira issue has been raised and our TAC team are working on this issue.

We will keep you up to date about it.

Best regards

Sabrina

KKerluke1609150778
Contributor
Contributor

To work with Artifactory you need to configure Maven to perform the following two steps: Resolving Artifacts Through Artifactory; Deploying Uploaded image for project: 'Artifactory Binary Repository'. Artifactory Binary Repository · RTFACT-15209. Access can't up without restart after timed out exception caused by stress test. Log In. Export Error while executing /api/v1/auth/login on access java.net.SocketTimeoutException: Read timed out.

 

 

 

TellPopeyes