dmarc-visualizer icon indicating copy to clipboard operation
dmarc-visualizer copied to clipboard

Failed to establish a new connection

Open nidhin077 opened this issue 10 months ago • 0 comments

Hi,

As I attempt to configure the dmarc-visualizer on my server, parsedmarc container restarts because of

elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7c92fbbe6100>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7c92fbbe6100>: Failed to establish a new connection: [Errno 111] Connection refused) INFO:cli.py:1031:Starting parsedmarc /usr/local/lib/python3.9/site-packages/elasticsearch/connection/base.py:208: ElasticsearchWarning: Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-minimal-setup.html to enable security.

docker-compose.yml

`version: '3.5' services: parsedmarc: build: ./parsedmarc/ volumes: - ./files:/input:ro - ./output_files:/output command: parsedmarc -c /parsedmarc.ini /input/* --debug depends_on: - elasticsearch restart: on-failure

elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:7.17.5 container_name: elasticsearch environment: - discovery.type=single-node ports: - 9200:9200 volumes: - ./elastic_data:/var/lib/elasticsearch/data grafana: build: ./grafana/ ports: - 3000:3000 user: root environment: GF_INSTALL_PLUGINS: grafana-piechart-panel,grafana-worldmap-panel GF_AUTH_ANONYMOUS_ENABLED: 'true' `

Would you kindly assist me in fixing the problem?

nidhin077 avatar Apr 05 '24 04:04 nidhin077