Open SmartPhoneLover opened 2 years ago
I do think I counter the same problem as you.
When trying to use a .txt file with a size of: 1.94 MB I will get the following error: _/usr/local/lib/python3.6/site-packages/werkzeug/wrappers/baseresponse.py:479: UserWarning: The "b'session'" cookie is too large: the value was 5584 bytes but the header required 26 extra bytes. The final size was 5610 bytes but the limit is 4093 bytes. Browsers may silently ignore cookies larger than this.
However, when I use an .txt file with a size of: 8,59 KB I don't get an error and I will succesfully get the analytics.
It does say on the github there is a change it won't work if a .txt file is to big. So maybe one day it will work after an update :)
Fingers crossed hehe. Hope it gets fixed some day.
I also had the same issue and I was able to come up with a quick fix. Hopefully the owner of this repo will check-it and accept, then the dockerhub image should be updated.
If not, you can checkout my repo and do a build locally before running:
Something like
sudo docker build -t wa .
sudo docker run -p 5000:5000 wa
Describe the bug It doesn't work with TXT files over 1MB. No report is sent.
To Reproduce Steps to reproduce the behavior:
Expected behavior The dashboard should show the corresponding analytics after loading the file.