Hi,
We've installed a remote agent successfully via docker. However, when testing the integration from the SOAR console, it appears there's a timeout connection error (see below). In the 'Remote Agents' settings page, the agent status is 'Live' with an up-to-date timestamp.
What commands can be performed on the host to verify connection requirements?
The site documentation does not provide much information on how to troubleshoot other issues besides the agent deployment. (Troubleshooting | Google Security Operations | Google Cloud)
----------------- Main - Started ----------------- General error performing action ActiveDirectory - Ping. Error: Error: socket connection error while opening: [Errno 110] Connection timed out Error: socket connection error while opening: [Errno 110] Connection timed out Traceback (most recent call last): File "/opt/SiemplifyAgent/Integrations/ActiveDirectory_V37.0/Tasks/Task-RUN_ACTION-1875282 [Action: Ping]/ActiveDirectoryManager.py", line 173, in __init__ self.conn = Connection( ^^^^^^^^^^^ File "/opt/SiemplifyAgent/Integrations/ActiveDirectory_V37.0/lib/python3.11/site-packages/ldap3/core/connection.py", line 363, in __init__ self._do_auto_bind() File "/opt/SiemplifyAgent/Integrations/ActiveDirectory_V37.0/lib/python3.11/site-packages/ldap3/core/connection.py", line 387, in _do_auto_bind self.open(read_server_info=False) File "/opt/SiemplifyAgent/Integrations/ActiveDirectory_V37.0/lib/python3.11/site-packages/ldap3/strategy/sync.py", line 57, in open BaseStrategy.open(self, reset_usage, read_server_info) File "/opt/SiemplifyAgent/Integrations/ActiveDirectory_V37.0/lib/python3.11/site-packages/ldap3/strategy/base.py", line 146, in open raise exception_history[0][0] ldap3.core.exceptions.LDAPSocketOpenError: socket connection error while opening: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/SiemplifyAgent/Integrations/ActiveDirectory_V37.0/Tasks/Task-RUN_ACTION-1875282 [Action: Ping]/Ping.py", line 73, in main manager = ActiveDirectoryManager( ^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/SiemplifyAgent/Integrations/ActiveDirectory_V37.0/Tasks/Task-RUN_ACTION-1875282 [Action: Ping]/ActiveDirectoryManager.py", line 179, in __init__ raise ActiveDirectoryManagerError(f"Error: {e}") ActiveDirectoryManager.ActiveDirectoryManagerError: Error: socket connection error while opening: [Errno 110] Connection timed out
/var/log/SiemplifyAgent
/opt/SiemplifyAgent/Logs
Healthy logs should look like:
/opt/SiemplifyAgent/Logs/siemplify_agent.log
2023-09-22 09:19:22,994 - agent - DEBUG - Checking for stop signal
2023-09-22 09:19:22,994 - agent - DEBUG - Sending keep alive package
2023-09-22 09:19:22,994 - agent - INFO - Request to
https://deployment.siemplify-soar.com/pub/api/agents/keepalive/
(MASTER) 2023-09-22 09:19:23,180 - agent - DEBUG -
Agent-3bb8768e-2bda-4a2a-b7f7-7322737bfb83: Fetching new tasks
2023-09-22 09:19:23,180 - agent - INFO - Request to
https://deployment.siemplify-soar.com/pub/api/tasks (MASTER)
2023-09-22 09:19:26,530 - agent - DEBUG - Checking for stop signal
2023-09-22 09:19:26,530 - agent - DEBUG - Sending keep alive package
2023-09-22 09:19:26,530 - agent - INFO - Request to
https://deployment.siemplify-soar.com/pub/api/agents/keepalive/
(MASTER)
/var/log/SiemplifyAgent/agent.log
2023-09-22 09:19:22,994 - agent - INFO - Request to
https://deployment.siemplify-soar.com/pub/api/agents/keepalive/
(MASTER) 2023-09-22 09:19:23,180 - agent - INFO - Request to
https://deployment.siemplify-soar.com/pub/api/tasks (MASTER)
2023-09-22 09:19:26,530 - agent - INFO - Request to
https://deployment.siemplify-soar.com/pub/api/agents/keepalive/
(MASTER) 2023-09-22 09:19:26,712 - agent - INFO - Request to
https://deployment.siemplify-soar.com/pub/api/tasks (MASTER)
Check docker container status by running docker container ps -a
, the status should look like Up 25 minutes (healthy)
somethings you can test for connectivity
I suspect your Agent does not have network access to the AD server. This could be a VLan issue, firewall issue, routing issue, or maybe the wrong target IP?
I would personally use packet capture: a) can you see a SYN leaving the remote agent to the AD server. b) do you see a SYN ACK, etc
Yes a simple curl to that AD device as well..
tcpdump as Andy says.