AIQUM API calls fail to obtain data intermittently with request time out error
Applies to
- ActiveIQ Unified Manager (AIQUM) 9.6+
- Ansible playbook API calls
- Remote authentication
Issue
- API calls from Ansible Playbook fails intermittently to gather metrics data from AIQUM
- Error message:
2022 06:50:40 +0000 (0:00:00.939) 0:00:01.001 ******
fatal: [localhost]: FAILED! => {"changed": false, "msg": "API return
an error code -1: {'url': 'https://ocum_server.abc.net/api/datacenter/clusters', 'status': -1, 'msg': 'Connection
failure: The read operation timed out'}"}
server.log
:
2022-12-13 06:07:42,887 ERROR [io.undertow.request] (default task-7052) UT005023: Exception handling request to /apis/XMLrequest: org.springframework.ldap.TimeLimitExceededException: [LDAP: error code 3 - Timelimit Exceeded]; nested exception is javax.naming.TimeLimitExceededException: [LDAP: error code 3 - Timelimit Exceeded]; remaining name ''
at deployment.dfm-app.war//org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:160) [spring-ldap-core-2.3.4.RELEASE.jar:2.3.4.RELEASE]
at deployment.dfm-app.war//org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:397) [sprin
……
Caused by: javax.naming.TimeLimitExceededException: [LDAP: error code 3 - Timelimit Exceeded]; remaining name ''
- Remote authentication was used to trigger the API calls in AIQUM