Closed Sue1990 closed 3 years ago
Hi @Sue1990 - are you still experiencing this problem?
@markkkkkkkkkkkkkkkkkkk Yes, I haven't resolved this problem
@Sue1990
Try adding the deploy placement constraints under the depends on portion of your YML file.
depends_on:
- redis
- elasticsearch
- minio
- rabbitmq
restart: always
deploy:
placement:
constraints:
- "node.role==manager"
If you're runing your deployment in Swarm mode, its possible that the opencti-platform container is being spawned on a worker and if your Docker networking isn't configured for that then the opencti-platform won't be able to communicate to Elasticsearch. Adding the constraint will ensure that the manager is never spawned on a worker, only the manager itself. Hope this works!!
@markkkkkkkkkkkkkkkkkkk Thanks your help , I will try. If I can't resolved problem, I will open this issue again.
@Sue1990 Hi,Have you solved this problem smoothly?I still haven't solved it according to this solution
I have the same issue, and although I thought the above fix might work, it didnt.
I followed this URL (https://www.notion.so/Using-Docker-03d5c0592b9d4547800cc9f4ff7be2b8#e4398cfb3aea431d94843013baca85cb ) to install OpenCTI , but it seem to not work . when I connect to http://localhost:8080, it shows "Unable to connect".
then I type command ( sudo docker logs --details docker_opencti_1 ) found error log . like below down:
{"error":{"name":"ConfigurationError","_error":{},"_showLocations":false,"_showPath":false,"time_thrown":"2021-06-14T13:33:37.172Z","data":{"reason":"ElasticSearch seems down","http_status":500,"category":"technical"},"internalData":{}},"category":"APP","version":"4.5.4","level":"error","message":"[OPENCTI] Platform initialization fail","timestamp":"2021-06-14T13:33:37.174Z"} {"error":{"name":"ConfigurationError","_error":{},"_showLocations":false,"_showPath":false,"time_thrown":"2021-06-14T13:36:23.321Z","data":{"reason":"ElasticSearch seems down","http_status":500,"category":"technical"},"internalData":{}},"category":"APP","version":"4.5.4","level":"error","message":"[OPENCTI] Platform initialization fail","timestamp":"2021-06-14T13:36:23.321Z"}
I lost which step ? or miss install other Dependencies?
another question :
thanks a lot