
2023/06/01 15:19:25 wazuh-analysisd: ERROR: dbsync: Cannot get response from database.
2023/06/01 15:19:25 wazuh-analysisd: ERROR: Cannot receive message: Connection reset by peer (104)
2023/06/01 15:19:25 wazuh-analysisd: ERROR: Cannot send message: (104) 'Connection reset by peer'.
2023/06/01 15:19:25 wazuh-analysisd: ERROR: Cannot send message: (104) 'Connection reset by peer'.
2023/06/01 15:19:25 wazuh-analysisd: ERROR: dbsync: Cannot get response from database.
2023/06/01 15:19:25 wazuh-analysisd: ERROR: No response from wazuh-db.
2023/06/01 15:19:25 wazuh-analysisd: ERROR: Error querying Wazuh DB to get the agent's 317 labels.
2023/06/01 15:19:25 wazuh-analysisd: ERROR: Cannot send message: (32) 'Broken pipe'.
2023/06/01 15:19:25 wazuh-analysisd: ERROR: Connection with wazuh-db lost. Reconnecting.
2023/06/01 15:19:25 wazuh-analysisd: INFO: Cannot connect to 'queue/db/wdb': Connection refused (111). Waiting 1 seconds to reconnect.
2023/06/01 15:19:25 wazuh-analysisd: ERROR: Cannot send message: (32) 'Broken pipe'.
2023/06/01 15:19:25 wazuh-analysisd: ERROR: Connection with wazuh-db lost. Reconnecting.
2023/06/01 15:19:25 wazuh-analysisd: INFO: Cannot connect to 'queue/db/wdb': Connection refused (111). Waiting 1 seconds to reconnect.
I haven't made any significant configuration changes, and the problem doesn't seem to be related to increased load on the manager.
I haven't seen any issues like this in the group before, where the API randomly disconnects and requires a manager daemon restart, which is why I popped in this query.
Any help would be appreciated!!