dmarc-visualizer
                                
                                 dmarc-visualizer copied to clipboard
                                
                                    dmarc-visualizer copied to clipboard
                            
                            
                            
                        Failed to establish a new connection: [Errno 111] Connection refused)
Hi
any quick fix for : Failed to establish a new connection: [Errno 111] Connection refused)
what and where to change ?
docker-compose up
Creating network "dmarcvisualizer_default" with the default driver
Creating dmarcvisualizer_grafana_1 ...
Creating dmarcvisualizer_elasticsearch_1 ...
Creating dmarcvisualizer_elasticsearch_1
Creating dmarcvisualizer_grafana_1 ... done
Creating dmarcvisualizer_parsedmarc_1 ...
Creating dmarcvisualizer_parsedmarc_1 ... done
Attaching to dmarcvisualizer_elasticsearch_1, dmarcvisualizer_grafana_1, dmarcvisualizer_parsedmarc_1
grafana_1        | ✔ Downloaded grafana-piechart-panel v1.6.2 zip successfully
grafana_1        |
grafana_1        | Please restart Grafana after installing plugins. Refer to Grafana documentation for instructions if necessary.
grafana_1        |
parsedmarc_1     | Traceback (most recent call last):
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
parsedmarc_1     |     conn = connection.create_connection(
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection
parsedmarc_1     |     raise err
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
parsedmarc_1     |     sock.connect(sa)
parsedmarc_1     | ConnectionRefusedError: [Errno 111] Connection refused
parsedmarc_1     |
parsedmarc_1     | During handling of the above exception, another exception occurred:
parsedmarc_1     |
parsedmarc_1     | Traceback (most recent call last):
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 255, in perform_request
parsedmarc_1     |     response = self.pool.urlopen(
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 785, in urlopen
parsedmarc_1     |     retries = retries.increment(
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 525, in increment
parsedmarc_1     |     raise six.reraise(type(error), error, _stacktrace)
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise
parsedmarc_1     |     raise value
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
parsedmarc_1     |     httplib_response = self._make_request(
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request
parsedmarc_1     |     conn.request(method, url, **httplib_request_kw)
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request
parsedmarc_1     |     super(HTTPConnection, self).request(method, url, body=body, headers=headers)
parsedmarc_1     |   File "/usr/local/lib/python3.10/http/client.py", line 1282, in request
parsedmarc_1     |     self._send_request(method, url, body, headers, encode_chunked)
parsedmarc_1     |   File "/usr/local/lib/python3.10/http/client.py", line 1328, in _send_request
parsedmarc_1     |     self.endheaders(body, encode_chunked=encode_chunked)
parsedmarc_1     |   File "/usr/local/lib/python3.10/http/client.py", line 1277, in endheaders
parsedmarc_1     |     self._send_output(message_body, encode_chunked=encode_chunked)
parsedmarc_1     |   File "/usr/local/lib/python3.10/http/client.py", line 1037, in _send_output
parsedmarc_1     |     self.send(msg)
parsedmarc_1     |   File "/usr/local/lib/python3.10/http/client.py", line 975, in send
parsedmarc_1     |     self.connect()
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect
parsedmarc_1     |     conn = self._new_conn()
parsedmarc_1     |   File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn
parsedmarc_1     |     raise NewConnectionError(
parsedmarc_1     | urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f646bdfc8b0>: Failed to establish a new connection: [Errno 111] Connection refused
parsedmarc_1     |
parsedmarc_1     | During handling of the above exception, another exception occurred:
parsedmarc_1     |
parsedmarc_1     | Traceback (most recent call last):
parsedmarc_1     |   File "/usr/local/bin/parsedmarc", line 8, in 
Hi, Did you find any solution to resolve this issue? I am having the same issue.
Hi, i'm stuck here too. Anyone?
Did you try waiting for 15 minutes?
actually i assembled new working project that i collect like a puzzle from other projects. i will upload it soon and will post a link.
Please share the link
Seconded. Same issue.
For anyone still struggling with this, see my comment on this newer Issue https://github.com/debricked/dmarc-visualizer/issues/41#issuecomment-1386567305