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

the web interface real-time can't work #1567

Open
frinck opened this issue Oct 12, 2019 · 7 comments
Open

the web interface real-time can't work #1567

frinck opened this issue Oct 12, 2019 · 7 comments

Comments

@frinck
Copy link

@frinck frinck commented Oct 12, 2019

the command is
/usr/bin/goaccess -f /var/log/nginx/access.log -o /usr/share/nginx/html/2.html --real-time-html -p /tmp/goaccessrc

the output is

WebSocket server ready to accept new client connections

but open the web is blank,always a circle !!!
,,,however when export a static html ,and can work well

@allinurl

This comment has been minimized.

Copy link
Owner

@allinurl allinurl commented Oct 12, 2019

Can you please post the output from your browser's console? Thanks

@frinck

This comment has been minimized.

Copy link
Author

@frinck frinck commented Oct 13, 2019

browser's console?????this is the url you can hava a try:
cilick to the url
site title show:server statistics

@allinurl

This comment has been minimized.

Copy link
Owner

@allinurl allinurl commented Oct 13, 2019

Seems like you are using HTTPS but not wss. Please take a look at the --ws-url option under server options and --ssl-cert & --ssl-key

@frinck

This comment has been minimized.

Copy link
Author

@frinck frinck commented Oct 13, 2019

thanks for your patience,now the using wss and --ssl-cert, --ssl-key

[root@frinck cert]# goaccess /var/log/nginx/access.log -o /usr/share/nginx/html/4.html -p /tmp/goaccessrc --real-time-html --ws-url=wss//www.xierunfa.top --ssl-cert=a.pem --ssl-key=a.key
output:
WebSocket server ready to accept new client connections
but still like order,site

@frinck

This comment has been minimized.

Copy link
Author

@frinck frinck commented Oct 13, 2019

use chrome work well

@frinck

This comment has been minimized.

Copy link
Author

@frinck frinck commented Oct 13, 2019

however the data always is statistic ,do not update even use the --real-time-html

@allinurl

This comment has been minimized.

Copy link
Owner

@allinurl allinurl commented Oct 17, 2019

@frinck The page you are looking for is not found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.