Skip to content
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

Goaccess Websocket issue #2707

Open
Hyungzn opened this issue Aug 24, 2024 · 2 comments
Open

Goaccess Websocket issue #2707

Hyungzn opened this issue Aug 24, 2024 · 2 comments

Comments

@Hyungzn
Copy link

Hyungzn commented Aug 24, 2024

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…

@allinurl
Copy link
Owner

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.

@0bi-w6n-K3nobi
Copy link
Contributor

0bi-w6n-K3nobi commented Sep 21, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants