SAP GRC Connector - Access Management integration mode - Sleep interrupted error

Which IIQ version are you inquiring about?

Version 8.4

Share all details related to your problem, including any error messages you may have received.

Dear All,

We have integrated SAP GRC using access management mode for provisioning from SAP GRC system for connected SAP Systems. IIQ able to create ARQ requests successfully but when trying poll the status, connector throws “Sleep Interrupted” Error from the connector code. There are 2 errors while checking the status of the request

  1. Invalid request No ( As per Sailpoint we tried put wait in provision workflow, which is not solved the problem - SAP GRC Invalid Request No Error during Provisioning

  2. Sleep interrupted - Even though create user account in SAP GRC is succssful but access request is failed with sleep interrupted error

Below are debug logs. please help me if any clue to solve this issue

2024-05-03 10:30:07,091 INFO Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:457 - Request ID 337 is created and submitted successfully.
2024-05-03 10:30:07,091 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:97 - Entering checkStatus: Arguments => 337
2024-05-03 10:30:07,091 TRACE Workflow Event Thread 1 connector.sapgrc.service.SAPGRCSDKService:97 - Entering createEndpointForRequestDetails: Arguments => <soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:urn=“urn:sap-com:document:sap:soap:functions:mc-style”>soapenv:Header/soapenv:Bodyurn:GracIdmReqDetailsServices337</urn:GracIdmReqDetailsServices></soapenv:Body> </soapenv:Envelope>
2024-05-03 10:30:07,091 TRACE Workflow Event Thread 1 connector.sapgrc.service.SAPGRCSDKService:97 - Entering getLanguage: Arguments => N/A
2024-05-03 10:30:07,091 TRACE Workflow Event Thread 1 connector.sapgrc.service.SAPGRCSDKService:108 - Exiting getLanguage: Arguments => N/A, Returns => EN
2024-05-03 10:30:07,091 TRACE Workflow Event Thread 1 connector.sapgrc.service.SAPGRCSDKService:97 - Entering prepareSSLOptionsMap: Arguments => N/A
2024-05-03 10:30:07,091 TRACE Workflow Event Thread 1 connector.sapgrc.service.SAPGRCSDKService:108 - Exiting prepareSSLOptionsMap: Arguments => N/A, Returns => {http.socket.timeout=60000, http.connection.timeout=60000}
2024-05-03 10:30:07,091 TRACE Workflow Event Thread 1 connector.sapgrc.service.SAPGRCSDKService:97 - Entering getAttribuetMappingForRequestDetails: Arguments => N/A
2024-05-03 10:30:07,091 TRACE Workflow Event Thread 1 connector.sapgrc.service.SAPGRCSDKService:108 - Exiting getAttribuetMappingForRequestDetails: Arguments => N/A, Returns => {User ID=//RequestDetails/UserInfo/item[1]/Userid, msgType=//MsgReturn/MsgType, reqStatus=//RequestDetails/RequestStatus, CurrentStageStatus=//RequestDetails/RequestPaths/item[1]/CurstageStatus, msgNo=//MsgReturn/MsgNo, CurrentStage=//RequestDetails/RequestPaths/item[1]/CurstageName, msgStatement=//MsgReturn/MsgStatement}
2024-05-03 10:30:07,091 TRACE Workflow Event Thread 1 connector.sapgrc.service.SAPGRCSDKService:108 - Exiting createEndpointForRequestDetails: Arguments => <soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:urn=“urn:sap-com:document:sap:soap:functions:mc-style”>soapenv:Header/soapenv:Bodyurn:GracIdmReqDetailsServices337</urn:GracIdmReqDetailsServices></soapenv:Body> </soapenv:Envelope>, Returns => EndpointConfig [sequenceId=1, endpointIdentifier=SAPGRCCreate Account, operationType=Create Account, parent=null, requestConfig=RequestConfig [url=http://sappgcci.intel.com:8000/sap/bc/srt/scs/sap/grac_request_details_ws?sap-client=510, httpMethod=POST, requestBuilder=null, headers=[Accept-language, Content-Type], body=, sslOptions=[http.socket.timeout, http.connection.timeout]], responseConfig=ResponseConfig [rootPath=null, attributeMapping={User ID=//RequestDetails/UserInfo/item[1]/Userid, msgType=//MsgReturn/MsgType, reqStatus=//RequestDetails/RequestStatus, CurrentStageStatus=//RequestDetails/RequestPaths/item[1]/CurstageStatus, msgNo=//MsgReturn/MsgNo, CurrentStage=//RequestDetails/RequestPaths/item[1]/CurstageName, msgStatement=//MsgReturn/MsgStatement}, possibleHttpErrorCodes=null, possibleHttpErrorMessages=null, successCodes=null, responseParser=null], pagingProcessor=connector.sdk.webservices.paging.impl.GenericExpressionPagingProcessor@6fb6807, resourceResolutionStrategy=connector.sdk.webservices.resource.AppendResourceStrategy@15ed3709, childEndpoints=null, authenticationProvider=BasicAuthentication [username=sys_SAPAGS, password=], beforeRequestProcessor=connector.sdk.webservices.EndpointConfig$1@408b5377, afterResponseProcessor=connector.sdk.webservices.EndpointConfig$2@7121316e, endpointAttributes=null, rawResponse=null]
2024-05-03 10:30:07,091 TRACE Workflow Event Thread 1 connector.sapgrc.service.SAPGRCSDKService:97 - Entering executeEndPoint: Arguments => EndpointConfig [sequenceId=1, endpointIdentifier=SAPGRCCreate Account, operationType=Create Account, parent=null, requestConfig=RequestConfig [url=http://sappgcci.intel.com:8000/sap/bc/srt/scs/sap/grac_request_details_ws?sap-client=510, httpMethod=POST, requestBuilder=null, headers=[Accept-language, Content-Type], body=, sslOptions=[http.socket.timeout, http.connection.timeout]], responseConfig=ResponseConfig [rootPath=null, attributeMapping={User ID=//RequestDetails/UserInfo/item[1]/Userid, msgType=//MsgReturn/MsgType, reqStatus=//RequestDetails/RequestStatus, CurrentStageStatus=//RequestDetails/RequestPaths/item[1]/CurstageStatus, msgNo=//MsgReturn/MsgNo, CurrentStage=//RequestDetails/RequestPaths/item[1]/CurstageName, msgStatement=//MsgReturn/MsgStatement}, possibleHttpErrorCodes=null, possibleHttpErrorMessages=null, successCodes=null, responseParser=null], pagingProcessor=connector.sdk.webservices.paging.impl.GenericExpressionPagingProcessor@6fb6807, resourceResolutionStrategy=connector.sdk.webservices.resource.AppendResourceStrategy@15ed3709, childEndpoints=null, authenticationProvider=BasicAuthentication [username=sys_SAPAGS, password=], beforeRequestProcessor=connector.sdk.webservices.EndpointConfig$1@408b5377, afterResponseProcessor=connector.sdk.webservices.EndpointConfig$2@7121316e, endpointAttributes=null, rawResponse=null]

2024-05-03 10:30:07,919 TRACE Workflow Event Thread 1 connector.sapgrc.service.SAPGRCSDKService:108 - Exiting executeEndPoint: Arguments => EndpointConfig [sequenceId=1, endpointIdentifier=SAPGRCCreate Account, operationType=Create Account, parent=null, requestConfig=RequestConfig [url=http://sappgcci.intel.com:8000/sap/bc/srt/scs/sap/grac_request_details_ws?sap-client=510, httpMethod=POST, requestBuilder=null, headers=[Authorization, Accept-language, Content-Type], body=, sslOptions=[http.socket.timeout, http.connection.timeout]], responseConfig=ResponseConfig [rootPath=null, attributeMapping={User ID=//RequestDetails/UserInfo/item[1]/Userid, msgType=//MsgReturn/MsgType, reqStatus=//RequestDetails/RequestStatus, CurrentStageStatus=//RequestDetails/RequestPaths/item[1]/CurstageStatus, msgNo=//MsgReturn/MsgNo, CurrentStage=//RequestDetails/RequestPaths/item[1]/CurstageName, msgStatement=//MsgReturn/MsgStatement}, possibleHttpErrorCodes=null, possibleHttpErrorMessages=null, successCodes=null, responseParser=null], pagingProcessor=connector.sdk.webservices.paging.impl.GenericExpressionPagingProcessor@6fb6807, resourceResolutionStrategy=connector.sdk.webservices.resource.AppendResourceStrategy@15ed3709, childEndpoints=null, authenticationProvider=BasicAuthentication [username=sys_SAPAGS, password=], beforeRequestProcessor=connector.sdk.webservices.EndpointConfig$1@408b5377, afterResponseProcessor=connector.sdk.webservices.EndpointConfig$2@7121316e, endpointAttributes=null, rawResponse=HttpResponseWrapper [status=200, response=

<soap-env:Envelope xmlns:soap-env=“http://schemas.xmlsoap.org/soap/envelope/”>soap-env:Header/soap-env:Body<n0:GracIdmReqDetailsServicesResponse xmlns:n0=“urn:sap-com:document:sap:soap:functions:mc-style”>4ERRORInvalid Request No</n0:GracIdmReqDetailsServicesResponse></soap-env:Body></soap-env:Envelope>, headers={set-cookie=sap-usercontext=sap-client=510; path=/, content-length=732, sap-srt_id=20240503/033007/v1.00_final_6.40/005056B5DF5E1EEF82A703540E0451FC, sap-server=true, sap-perf-fesrec=814414.000000, content-type=text/xml; charset=utf-8, sap-srt_server_info_ext=0, sap-srt_server_info=PGC_510,804 ,urn:sap-com:document:sap:soap:functions:mc-style,GRAC_REQUEST_DETAILS_WS,GracIdmReqDetailsServices,766, accept=text/xml}]], Returns => [{msgType=ERROR, reqStatus=, msgNo=4, msgStatement=Invalid Request No}]
2024-05-03 10:30:07,919 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:97 - Entering lambda$checkStatus$47: Arguments => [{msgType=ERROR, reqStatus=, msgNo=4, msgStatement=Invalid Request No}]
2024-05-03 10:30:07,919 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:108 - Exiting lambda$checkStatus$47: Arguments => [{msgType=ERROR, reqStatus=, msgNo=4, msgStatement=Invalid Request No}], Returns => Request details: [{msgType=ERROR, reqStatus=, msgNo=4, msgStatement=Invalid Request No}]
2024-05-03 10:30:07,919 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:97 - Entering lambda$checkStatus$47: Arguments => [{msgType=ERROR, reqStatus=, msgNo=4, msgStatement=Invalid Request No}]
2024-05-03 10:30:07,919 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:108 - Exiting lambda$checkStatus$47: Arguments => [{msgType=ERROR, reqStatus=, msgNo=4, msgStatement=Invalid Request No}], Returns => Request details: [{msgType=ERROR, reqStatus=, msgNo=4, msgStatement=Invalid Request No}]
2024-05-03 10:30:07,919 DEBUG Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:2045 - Request details: [{msgType=ERROR, reqStatus=, msgNo=4, msgStatement=Invalid Request No}]
2024-05-03 10:30:07,919 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:97 - Entering lambda$checkStatus$48: Arguments => Invalid Request No
2024-05-03 10:30:07,919 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:108 - Exiting lambda$checkStatus$48: Arguments => Invalid Request No, Returns => An exception has occurredInvalid Request No
2024-05-03 10:30:07,919 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:97 - Entering lambda$checkStatus$48: Arguments => Invalid Request No
2024-05-03 10:30:07,919 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:108 - Exiting lambda$checkStatus$48: Arguments => Invalid Request No, Returns => An exception has occurredInvalid Request No
2024-05-03 10:30:07,919 WARN Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:2057 - An exception has occurredInvalid Request No
2024-05-03 10:30:07,919 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:97 - Entering lambda$checkStatus$49: Arguments => N/A
2024-05-03 10:30:07,919 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:108 - Exiting lambda$checkStatus$49: Arguments => N/A, Returns => Waiting for 300seconds before retrying
2024-05-03 10:30:07,919 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:97 - Entering lambda$checkStatus$49: Arguments => N/A
2024-05-03 10:30:07,919 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:108 - Exiting lambda$checkStatus$49: Arguments => N/A, Returns => Waiting for 300seconds before retrying
2024-05-03 10:30:07,919 DEBUG Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:2058 - Waiting for 300seconds before retrying
2024-05-03 10:31:05,232 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:115 - Throwing checkStatus - java.lang.InterruptedException: sleep interrupted
2024-05-03 10:31:05,232 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:115 - Throwing setRequestResult - java.lang.InterruptedException: sleep interrupted
2024-05-03 10:31:05,232 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:97 - Entering lambda$createUser$2: Arguments => N/A
2024-05-03 10:31:05,232 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:108 - Exiting lambda$createUser$2: Arguments => N/A, Returns => Error creating user access request.
2024-05-03 10:31:05,232 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:97 - Entering lambda$createUser$2: Arguments => N/A
2024-05-03 10:31:05,232 TRACE Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:108 - Exiting lambda$createUser$2: Arguments => N/A, Returns => Error creating user access request.
2024-05-03 10:31:05,232 ERROR Workflow Event Thread 1 sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner:223 - Error creating user access request.
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method) ~[?:?]
at java.lang.Thread.sleep(Thread.java:334) ~[?:?]
at java.util.concurrent.TimeUnit.sleep(TimeUnit.java:446) ~[?:?]
at sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner.checkStatus(SAPGRCConnectorProvisioner.java:2061) ~[connector-bundle-misc.jar:8.4p1]
at sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner.setRequestResult(SAPGRCConnectorProvisioner.java:462) ~[connector-bundle-misc.jar:8.4p1]
at sailpoint.connector.sapgrc.SAPGRCConnectorProvisioner.createUser(SAPGRCConnectorProvisioner.java:219) [connector-bundle-misc.jar:8.4p1]
at sailpoint.connector.sapgrc.service.SAPGRCConnectorService.provision(SAPGRCConnectorService.java:743) [connector-bundle-misc.jar:8.4p1]
at sailpoint.connector.SAPGRCConnector.provision(SAPGRCConnector.java:823) [connector-bundle-misc.jar:8.4p1]
at sailpoint.connector.ConnectorProxy.provision(ConnectorProxy.java:1116) [connector-bundle-identityiq.jar:8.4]
at sailpoint.integration.ConnectorExecutor.provision(ConnectorExecutor.java:160) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.provisioning.PlanEvaluator.provision(PlanEvaluator.java:1638) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.provisioning.PlanEvaluator.execute(PlanEvaluator.java:958) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.provisioning.PlanEvaluator.execute(PlanEvaluator.java:840) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.provisioning.PlanEvaluator.execute(PlanEvaluator.java:739) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Provisioner.execute(Provisioner.java:1732) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.workflow.IdentityLibrary.provisionProject(IdentityLibrary.java:3212) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at sailpoint.server.ScriptletEvaluator.doCall(ScriptletEvaluator.java:134) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.server.ScriptletEvaluator.evalSource(ScriptletEvaluator.java:63) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.evalSource(Workflower.java:5937) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.advanceStep(Workflower.java:5176) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.advance(Workflower.java:4563) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.advanceSubcase(Workflower.java:5503) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.advanceStep(Workflower.java:5096) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.advance(Workflower.java:4563) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.advanceSubcase(Workflower.java:5503) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.advanceStep(Workflower.java:5096) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.advance(Workflower.java:4563) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.advanceSubcase(Workflower.java:5503) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.advanceStep(Workflower.java:5096) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.advance(Workflower.java:4563) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.advanceSubcase(Workflower.java:5503) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.advanceStep(Workflower.java:5096) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.advance(Workflower.java:4563) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.assimilate(Workflower.java:4213) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.handleWorkItem(Workflower.java:7651) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.processEvent(Workflower.java:1914) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.api.Workflower.processEvent(Workflower.java:1896) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.task.WorkflowerThread.process(WorkflowerThread.java:363) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
at sailpoint.task.WorkflowerThread.run(WorkflowerThread.java:288) [identityiq.jar:8.4p1 Build e243e6f4783-20240325-035201]
2024-05-03 10:31:05,232 TRACE Workflow Event Thread 1 connector.sapgrc.service.SAPGRCConnectorService:97 - Entering closeSapgrcfmServiceProvider: Arguments => N/A
2024-05-03 10:31:05,232 TRACE Workflow Event Thread 1 connector.sapgrc.service.SAPGRCConnectorService:108 - Exiting closeSapgrcfmServiceProvider: Arguments => N/A, Returns => N/A

Hi,

for how long you put “wait”?

Regards,
Adam

2 Likes

Hi Adam,

added wait for 2min

Hi and Hello.

For the Invalid Request Number:

  • Verification of Request Entry: Ensure that the request ID is properly being logged and recognized in SAP GRC.

  • Increase Wait Time: Although you’ve already tried this, you might need to further adjust the wait times based on the processing times observed in SAP GRC. (from 2 —>to 5)

  • Logging Enhancements: Improve logging around the request submission and status check areas to capture more detailed information about the timing and sequence of events.

Regards,
Adam

2 Likes

@irappahosamani : Have you cheked below post from SailPoint, hope this helps.

https://documentation.sailpoint.com/connectors/identityiq8_3/sap/grc/help/integrating_sap_grc/troubleshooting.html