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

Activity chart loading indefinitely #599

Closed
bestlinuxgamers opened this issue Jan 30, 2024 · 6 comments
Closed

Activity chart loading indefinitely #599

bestlinuxgamers opened this issue Jan 30, 2024 · 6 comments

Comments

@bestlinuxgamers
Copy link

The activity chart is not displayed. Instead, only the text "Loading activity chart ..." appears.

System information

  • Wakapi version 2.10.4
  • Operating system
    • If Linux: which distro? Ubuntu 22.04.3 LTS
    • If Docker: which image and tag? ghcr.io/muety/wakapi:2.10.4
  • Database Postgres

grafik

Console Log:
[wakapi] | 2024-01-30T05:20:17.720464191Z [INFO ] [request] status=404, method=GET, uri=/api/activity/chart/name.svg?dark&noattr, duration=480.402µs, bytes=0, addr=10.89.0.3:56658, user=name

@bestlinuxgamers bestlinuxgamers changed the title Activity chart loading indefnelty Activity chart loading indefinitely Jan 30, 2024
@muety
Copy link
Owner

muety commented Jan 30, 2024

Could you provide the full URL of the activity chart as well your username, please? That would help me debug this.

@bestlinuxgamers
Copy link
Author

My username is bestlinuxgamers and the full non-generic error is:
[INFO ] [request] status=404, method=GET, uri=/api/activity/chart/bestlinuxgamers.svg?dark&noattr, duration=458.502µs, bytes=0, addr=10.89.0.3:59678, user=bestlinuxgamers

@bestlinuxgamers
Copy link
Author

Calling the Link directly (https://wakapi.[domain].de/api/activity/chart/bestlinuxgamers.svg?dark&noattr) displays:
grafik
And after some reloads (seemingly random) displays:
grafik

@muety
Copy link
Owner

muety commented Jan 30, 2024

Very strange, honestly I have no idea how this comes about. Can you please check if there are any errors in the browser console? Also, can you check if restarting the server or using a different browser helps? Are the summary charts displayed properly?

@bestlinuxgamers
Copy link
Author

There is only the 404 error from trying to load the chart in the browser console. On Google Chrome (instead of Firefox) there is the same issue and the error in the browser console. I've restarted the docker container multiple times and my whole host server too. It didn't make a difference. The charts are not displayed properly (see #600).

@muety muety closed this as completed in 559c23e Jan 30, 2024
@muety
Copy link
Owner

muety commented Jan 30, 2024

Found and fixed the issue. Was my bad, sorry 🤦‍♂️. Fix will be available with next release.

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

No branches or pull requests

2 participants