goaccess icon indicating copy to clipboard operation
goaccess copied to clipboard

Goaccess Websocket issue

Open Hyungzn opened this issue 1 year ago • 2 comments

Hello.

I trying to use Goaccess Web using 8081 port, but i can't Here is my configure and network state when I using web socket commend. Please help me

[root@CDN-VOD08 ~]# goaccess /var/log/nginx/access.log -o /var/www/html/report.html --real-time-html --port=8081 [RENDERING /var/log/nginx/access.log] {3,904,361} @ {20,549/s} WebSocket server ready to accept new client connections

[root@CDN-VOD08 ~]# netstat -anp | grep 8081 tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 39944/goaccess
tcp 0 0 121.156.46.31:8081 61.74.74.42:55876 TIME_WAIT -
tcp 0 0 121.156.46.31:8081 61.74.74.42:55874 TIME_WAIT -

Uploading web.png…

Hyungzn avatar Aug 24 '24 11:08 Hyungzn

Are you seeing an error message in the browser's console via the dev tools? Also, are you accessing the report via HTTPS? Is GoAccess running on the same server where the report is being hosted? Feel free to post a screenshot of the browser if it helps.

allinurl avatar Aug 24 '24 23:08 allinurl

hi @Hyungzn

For real-time GOAccess running, do you need specify more options like --origin= and --ws-url=. You can read about this at Manual page here at Server Option. About --origin= only @allinurl you can ask if accept IP or only Hostname.

In truly, I just did try running only with Apache or NGinX in front-end. I don't know if this is possible without front-end http service.

0bi-w6n-K3nobi avatar Sep 21 '24 21:09 0bi-w6n-K3nobi