SaaS Web Service Connector - Error: Command Timed Out

Hi all,

Currently, we’re building a connection to a web service using the Web Services SaaS connector connector (not to be confused with SaaS Connectivity). It seems however, that there is a limitation in the processing of the data, since we get a “Command timed out” error message when we start to map a lot of the data.

According to this post it seems it must be a setting in IdentityNow (that we cannot change ourselves)?

Is there another way out, besides implementing pagination?

Thanks in advance!
Edwin

1 Like

SaaS connectivity doesn’t have unlimited memory, so you have to use pagination to process large amounts of identities. If running out of memory isn’t your issue, and your command is just taking longer than 3 minutes to process the request, then you can issue an res.keepAlive() in your code to keep the command from timing out. Please see this doc for more information.

Hi Colin,

Thanks for the quick reply.

This is NOT a custom connector, so I don’t have any code here. This is using the Web services SaaS connector from SailPoint. Any idea if there is a way to force the keepAlive in that connector?

1 Like

Oh, sorry about that. When you said “SaaS based web service connector” I thought you were referring to SaaS connectivity. You’re talking about the VA based web service connector.

You should be able to increase the timeout of VA connectors. Follow the solution here:

In this case it’s option number 3, it is the new Web Services connector that runs directly in IdentityNow, so without the VA.

https://documentation.sailpoint.com/connectors/webservices/help → good old VA based web services connector

Integrating SailPoint and Web Services SaaS → SaaS based web services connector

I’m assuming the second is based on the SaaS connectivity technology, but I’m not sure.

So is there a way for this ‘out-of-the-box’ connector to be configured with a keepAlive?

1 Like

I think the only way the new SaaS based webservices connector will keep the connection alive is if you send a response within 3 minutes, usually done through pagination logic. Otherwise it will timeout. For any complex webservice calls that need to be made, we recommend to simply create a custom connector using the SDK.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.