OpenCTI-Platform / connectors

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

AMQP connection workflow failed #585

Closed ExpOrx closed 2 years ago

ExpOrx commented 2 years ago

NFO:root:2001 pulse(s) since 2021-12-11 00:00:00... INFO:root:Processing pulse Additional Formbook infostealer IOCs - November 2021 (618d43cef601ecc2bc8d105b)... INFO:alienvault.builder:Excluding pulse indicator '521339ae9fa89c3af1b50456781272a8' (FileHash-MD5) INFO:alienvault.builder:Excluding pulse indicator 'c5d51d7374c5d5bd0fd41b3a18b6f812' (FileHash-MD5) INFO:root:Update action expectations opencti-work--5ac8e03f-65d2-4aa8-8e98-f4f6db9330b2 - 53 ERROR:pika.adapters.utils.selector_ioloop_adapter:Address resolution failed: gaierror(11001, 'getaddrinfo failed') ERROR:pika.adapters.utils.connection_workflow:getaddrinfo failed: gaierror(11001, 'getaddrinfo failed'). ERROR:pika.adapters.utils.connection_workflow:AMQP connection workflow failed: AMQPConnectionWorkflowFailed: 1 exceptions in all; last exception - gaierror(11001, 'getaddrinfo failed'); first exception - None. ERROR:pika.adapters.utils.connection_workflow:AMQPConnectionWorkflow - reporting failure: AMQPConnectionWorkflowFailed: 1 exceptions in all; last exception - gaierror(11001, 'getaddrinfo failed'); first exception - None ERROR:pika.adapters.blocking_connection:Connection workflow failed: AMQPConnectionWorkflowFailed: 1 exceptions in all; last exception - gaierror(11001, 'getaddrinfo failed'); first exception - None ERROR:pika.adapters.blocking_connection:Error in _create_connection(). Traceback (most recent call last):

version: '3' services: connector-alienvault: image: opencti/connector-alienvault:5.1.2 environment:

nor3th commented 2 years ago

Hey @ExpOrx

It seems like the connector is unable connect to RabbitMQ. If the OpenCTI platform is running in a separate docker compose file, you have to add the default opencti network to the connector compose file. Make sure via docker network ls that the network name is correct.

  restart: always
  networks:
    - opencti-default

networks:
  opencti-default:
    external:
      name: opencti-default

Regards

nor3th commented 2 years ago

Closed due to inactivity