-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean OS, clean docker image #41
Comments
Hey @y0d4a I am having a similar issue in a Mac running Docker 4.15.0 (93002) on engine 20.10.21 dmarc-visualizer-master-parsedmarc-1 | Traceback (most recent call last): |
Hello, I had to create the following empty files in the /OUTPUT folder mounted by the parsedmarc container: ..and the subfolder: Try that if you, like me, run out of patience solving the underlying permission issue. Now I'm having problems with the grafana graphs from the elastic data. Something about an elastic interval setting that might be deprecated. Let me know if you figure that one out! "Invalid interval specified, must be non-null and non-empty" |
i created but he did not bring up anything (no grafana, no elastic...) not sure how this project is working after all.... |
Hi @y0d4a @erikrandom , I solved the problem adding this to grafana-dockerfile: |
I have it working, though I encountered these errors too. The connection errors come when ElasticSearch is not yet available (it takes a short time to initialize and start listening), but I just opened a PR #42 which is the code I have working and most helpfully it adds the Spin it up, let it run, and eventually the |
That did the trick! Thank you |
I'm still having issues. I cloned the git, tried to run stock and it fails. I did tweak some ES settings to my liking which is fine, ES seems to run perfectly fine and grafana also appears to be running the parsedmarc fails to establish a connection with ES. Many failed tried attempts:
the docker container exits after this and if i restart the container it just loops through these errors and exits again instantly. I tried the potential workarounds people mentioned such as creating blank files in the output directory, updating the grafana Dockerfile to include both: Nothing appears to work to fix enabling the ES connection between parsedmarc and ES. thoughts?... |
I had the "Invalid interval specified, must be non-null and non-empty"-problem when moving the project to a new server. Added the following command to the end of /dmarc-visualizer/grafana/Dockerfile: |
I tried now installing on windows 11 WSL ubuntu, same problem. Seems it's broken right out of the box. Seems parsedmarc can't connect to ES yet ES logs seem to be fine for showing the DB is up. any suggestions? |
@phi0x Have you checked the details of the parsedmarc container? Are the /input and /output mounted as expected and do you have any actual files to process in the input folder? |
I managed to get it working by setting my ES host configuration to 127.0.0.1:9200 instead of what's in the config as 'elasticsearch:9200'. Along with as you note, needing some files for it to parse. When I fixed the connection issue between parsedmarc and ES, I saw the container was quiting right away and the logs weren't saying much that was helpful. I decided to try adding files to the files folder and then restarted the container for parsedmarc and it worked. I then realized that the container must be restarted each time as it doesn't just stay running in the background watching the files folder continuously. |
I encountered the same error as you, did you solve the problem after changing the IP of ES to 127.0.0.1? I did the same, but there is still no data in Grafana. The error is still going on, have you solved this BUG |
This is kind of the fix, based on what I used to get it working. For my part, I only changed |
That issue seems to stem from the fact that I fixed it by specifying the most recent version of the json before the last edit to grafna/Dockerfile in this repo The link to that version is: |
I spent a full day on getting this to work, then it stopped working again, did a full OS reinstall and tried to make the docker compose work from the first time without any edits. Then it worked. These are my steps
Grafana\dockerfile:
Parsedmarc.sample.ini rename to parsedmarc.ini
docker-compose.yml file
Next run
If you mess up: reinstall the complete OS, set all settings correctly and try again :) I was also able to make it work with msgraph, amazing One thing to know is that when you change the parsedmarc.ini file, you need to run docker-compose up --build to include the changes. |
Hi, i just spins new vm (ubuntu 20.04) and installed docker 20.10.
Pulled this image and on first start i got in problems, grafana is up but without dashboard and data.
In log i see:
parsedmarc_1 | urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f49ef6c3890>: Failed to establish a new connection: [Errno 111] Connection refused
parsedmarc_1 | elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7ffb51ceba90>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7ffb51ceba90>: Failed to establish a new connection: [Errno 111] Connection refused)
parsedmarc_1 | FileNotFoundError: [Errno 2] No such file or directory: '/output/aggregate.json'
and somewhere i saw error that he had permission denied for dashboard file..
where i am wrong? i do like is in tutorial
The text was updated successfully, but these errors were encountered: