Anyone ran multiple API calls in JAVA successfully ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Anyone ran multiple API calls in JAVA successfully ?

L4 Transporter

We are trying to run multiple API instances (using the connectionNumber parameter) but facing intermittent failures. For example, 10 instances are being launched simultaneously (code written in JAVA) and while some of the calls go through , some are failing with the following error - Exiting createSafe with response=FAILURE:::500 Failed to create Safe 'TEST_SAFE_XXXX'. Reason: ITATS912E Service failed due to internal error (code 1; Reason: None).

 

In some cases, the above error is received but the safe still gets created while in other cases its just the error that comes up. Has anyone experiences this ?

 

Regards

11 REPLIES 11

L5 Sessionator

What Authentication type are you using, and which API authentication endpoint?

Are all 10 Logon actions to the API successful?

L4 Transporter

Hi Pete-

 

We are using Cyber-Ark Authentication and yup logon action is successful for all the 10 calls

 

 

L2 Linker

Hi Anand,

 

I too ran into same issue with CyberArk Auth API, did you get solution for this?

 

Thanks,

Naveen

L4 Transporter

@Naveen Setty​ Looks like a bug. My case is currently under review with the L3 support team in Cyber-Ark

L2 Linker

Thanks for your response Anand, btw, does your environment 10.5? and do you LB on your PVWA?

 

We do see this issue after adding load balancer to PVWA

L4 Transporter

@Naveen Setty​ The (test) environment is 9.8 and nope, its just a single PVWA

Hi @Anand Negi​ , did you get any resolution/updates on this? we are experiencing on the same issue as well.

L4 Transporter

@Charmaine Manalansan​ Cyber-Ark identified this as a bug as said that they would probably have a fix for this in the newer versions. As of now we are thinking of using PACLI with different session IDs

@Anand Negi​  did they mention any ETA when the fix will be implemented? Thanks

@Charmaine Manalansan​  Not really, they said if it was impacting business then they could consider looking for a fix immediately else this would be resolved in the next releases.

L2 Linker

There is a bug which aligns with the error in the original post. This bug is fixed in versions 10.5.3 and 11.2. If you're not able to go to either of these versions, it's likely you should reduce or remove concurrency in the PACLI/API script.

  • 855 Views
  • 11 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!