Closed Davidffry closed 3 years ago
Did you follow this readme? From the command you posted, you are including http. Please just specify the host without http. e.g., --ws-url raspberrypi:7890
.
Also, are you able to telnet to the websocket server? e.g., telnet raspberrypi 7890
Hey! thanks for your reply I restarted the docker container and telnet with this :
and, for sure, I followed the given link for long time ;)
BUT I always have :
in addition, I would like see the goaccess trace but it seems the debug option doesn't work for your information, this is my goaccess.conf:
Let me try to reproduce on my end, I just need to get my hands on my other machine with docker on it. I'll post back asap.
@allinurl, have you test it? thanks for the consideration ;)
Sorry for the delay on this. Finally got the change to look into it, I updated the README.md.
Here's how I got it to run in real-time:
cat access.log | docker run -p 7890:7890 --rm -i -e LANG=$LANG allinurl/goaccess -a -o html --log-format COMBINED --real-time-html - > report.html
Let me know how it goes.
Thanks, I have another issue with the docker container, refers to : #1774 a simple launch cause me this error
Did it work what I posted before?
Hi I've the same problem:
$ cat /var/log/nginx/access.log | docker run -p 7890:7890 --rm -i -e LANG=$LANG allinurl/goaccess -a -o html --ws-url caravel:7890 --log-format COMBINED --real-time-html - > report.html
[PARSING -] {3594} @ {0/s}
WebSocket server ready to accept new client connections
opening the link: http://caravel:7890
it returns 400
.
Testing the port with telnet
, works:
$ telnet caravel 7890
Trying 192.168.0.236...
Connected to caravel.
Escape character is '^]'.
@vlauciani shouldn't you need to open http://caravel/report.html instead of http://caravel:7890?
ops, sorry! You are right 🤦🏻♂️
Thank you fro your support and time.
@vlauciani np :) happy to help!
Closing this as it should be fixed or user/config error.
For long time i don't succed to run container goaccess, I use this command :
No output :
to add
I've been working on it for several days and I can't find the solution
docker version :
Raspberry pi : Raspbian - rpi4