Closed Bella-chris closed 1 year ago
@nor3th @richard-julien @SamuelHassine
Hello @Bella-chris,
Can you please share the logs of your platform instance?
Kind regards, Samuel
@SamuelHassine Currently I don't have it after following this issue:https://github.com/OpenCTI-Platform/opencti/issues/1445
But Worker has the below error:
INFO:pycti.entities:Listing Threat-Actors with filters null.
Traceback (most recent call last):
File "/opt/opencti-worker/worker.py", line 522, in
@SamuelHassine if there is any recommendation for this error please tell me as I'm migrating from single node to swarm and I'm stuck in this error for couple of days. Also I tried to stop containers and start them again to bring platform container again but it doesn't show up :/
@SamuelHassine I restarted my VM and now everything is working fine :)
Description
I have installed Docker Swarm OpenCTI via portainer and I can't bring the machine up. I have Ubuntu 22.04 Jammy and I have 2 nodes for swarm I installed perquisites from manual installation page https://filigran.notion.site/Manual-deployment-b911beba44234f179841582ab3894bb1
Environment
Reproducible Steps
Compose.yml file: version: '3' services: redis: image: redis:7.0.9 restart: always volumes:
redisdata:/data elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:8.6.2
volumes:
Comment out the line below for single-node
Uncomment line below below for a cluster of multiple nodes
command: server /data healthcheck: test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] interval: 30s timeout: 20s retries: 3 restart: always rabbitmq: image: rabbitmq:3.11-management environment:
volumes: esdata: s3data: redisdata: amqpdata:
Env file: OPENCTI_ADMIN_EMAIL=**@*.com OPENCTI_ADMIN_PASSWORD=***** OPENCTI_ADMIN_TOKEN=af2b7a3c-05c0-49ed-9f08-4a7c87886197 OPENCTI_BASE_URL=http://localhost:8080 MINIO_ROOT_USER=opencti MINIO_ROOT_PASSWORD= RABBITMQ_DEFAULT_USER=opencti RABBITMQ_DEFAULT_PASS= CONNECTOR_EXPORT_FILE_STIX_ID=dd817c8b-abae-460a-9ebc-97b1551e70e6 CONNECTOR_EXPORT_FILE_CSV_ID=7ba187fb-fde8-4063-92b5-c3da34060dd7 CONNECTOR_EXPORT_FILE_TXT_ID=ca715d9c-bd64-4351-91db-33a8d728a58b CONNECTOR_IMPORT_FILE_STIX_ID=72327164-0b35-482b-b5d6-a5a3f76b845f CONNECTOR_IMPORT_DOCUMENT_ID=c3970f8a-ce4b-4497-a381-20b7256f56f0 ELASTIC_MEMORY_SIZE=10G CONSUMER_TIMEOUT=8600000 REDIS_TRIMMING=500000
Additional information
Worker Error: INFO:pycti.entities:Listing Threat-Actors with filters null. Traceback (most recent call last): File "/opt/opencti-worker/worker.py", line 522, in
worker = Worker()
File "", line 6, in init
File "/opt/opencti-worker/worker.py", line 430, in __post_init
self.api = OpenCTIApiClient(
File "/usr/local/lib/python3.9/site-packages/pycti/api/opencti_api_client.py", line 207, in init__
raise ValueError(
ValueError: OpenCTI API is not reachable. Waiting for OpenCTI API to start or check your configuration...