Umami 2.2.0 tracker XHR request works only on every second app restart
-
-
-
Out of curiosity, is anyone else seeing this behavior?
-
I tried to reproduce this but I am not able to. Here's what I did:
- Install umami
- Add domain in umami.
- Install surfer
- Put tracking code from umami into a sample index.html
- I refresh index.html 10 times. I see 10 in umami
Is there something special I need to do?
-
Try restarting either Umami or rebooting the server, after that Umami should stop working (you will see an error in the browser's console when loading the site).
Then after restarting/rebooting again, it will work again.Basically it stops working every other reboot, so when a reboot is needed I need to reboot twice to get Umami to work.
Not sure if it matters, but in my case the website I am tracking is on a different server than Umami.
-
@stefano thanks! I can reproduce it.
-
Alright, https://github.com/umami-software/umami/issues/2093 . The issue is that the geolocation db is being removed when we build the app on restart. I tried to debug a lot but couldn't figure out.
-
Thanks for looking into this! I’m glad it’s not just me and others have seen this too. I know you said you couldn’t reproduce it a while back so assumed maybe it was an issue on my end, glad to know it’s something more with Umami and the build part. Thanks for sticking with it, @girish. And thanks to everyone else here commenting with their “me too” as well.
-
-