OpenCTI-Platform / connectors

OpenCTI Connectors
https://www.opencti.io
Apache License 2.0
363 stars 392 forks source link

AlienVault Connector doesn't pull any data . #2057

Open CyberSentr opened 4 months ago

CyberSentr commented 4 months ago

Hello there ! Since 20 March 2024 my AlienVault connector has completely stopped working . I tried every troubleshooting variant possible , but no success so far . Things I did

I'm really running out of options here. Interestingly, the same configuration is working perfectly fine on my colleague's setup. I'm confident that my Docker implementation is solid.

Docker container logs image

Docker-compose configuration connector-alienvault: image: opencti/connector-alienvault:6.0.10 environment:

CTI version : 6.0.5 ( Standalone architecture , 1 node deployment ) Docker version : 26.0.1, build d260a54

Any help would be greatly appreciated ! Have a nice day !

CyberSentr commented 4 months ago

Update : Error popped up in the logs this morning : {"timestamp": "2024-04-19T06:25:06.577465Z", "level": "ERROR", "name": "AlienVault", "message": "Error pinging the API", "exc_info": "Traceback (most recent call last):\n File \"/usr/local/lib/python3.11/site-packages/pycti/connector/opencti_connector_helper.py\", line 442, in ping\n result = self.api.connector.ping(self.connector_id, initial_state)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.11/site-packages/pycti/api/opencti_api_connector.py\", line 63, in ping\n result = self.api.query(\n ^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.11/site-packages/pycti/api/opencti_api_client.py\", line 353, in query\n raise ValueError(\nValueError: {'name': 'DATABASE_ERROR', 'message': 'Update indexing fail'}", "attributes": {"reason": "{'name': 'DATABASE_ERROR', 'message': 'Update indexing fail'}"}}

CyberSentr commented 4 months ago

Update : Updated OpenCTI deployment to 6.0.10 , same issue

helene-nguyen commented 4 months ago

Hi @CyberSentr! May I help you with this error message.

{'name': 'DATABASE_ERROR', 'message': 'Update indexing fail'}", "attributes": {"reason": "{'name': 'DATABASE_ERROR', 'message': 'Update indexing fail'}"}}

This error indicates an error on your database and not with AlienVault directly. I will ask to my team and give you an update soon :)

helene-nguyen commented 2 months ago

@CyberSentr sorry for the late answer, after some investigations, the Update indexing fail means that there is a data in the database that cannot be updated. Does the error block your OpenCTI deployment?