Topic says it all. I’ve been using Seafile for a while now and never had this issue before. No changes have been made to the server or app recently. The data usage settings on my phone shows Seafile as the culprit.
If I look at my usage logs it seems to have started happening about 8 this morning - I wasn’t doing anything seafile or photo related with my phone.
I briefly looked at Wakelock detector before uninstalling the app (to stop the data usage) and it shows over 100,000 CPU wake ups for what looked like the camera photo upload feature, but looking at my account info on the web client shows no changes made to any files today.
What can I look at further to figure out where the app got stuck at?
There’s no other traffic at all from my phone that has been recorded there.
That doesn’t make much sense. Is there other traffic that could have accounted for it that I can see server side in different logs? I looked at the logs under the “logs” folder but didn’t see anything right away. Like I mentioned earlier, looking at the bandwidth-per-app usage info on my phone, Seafile is the one that shows up as the culprit.
Here’s the other weird thing. I am running my Seafile setup behind Cloudflare. Verizon usage logs shows the data being used up yesterday:
However Cloudflare doesn’t show nearly as much being used. The spikes in the graphs correspond with the times that Verizon is showing GB of data was used, however not nearly to the same extent:
On Sunday I recorded a video with my phone that ended up about 125 MB or so in size.
I run my Seafile server behind Cloudflare, and unbeknownst to me, Cloudflare has a 100MB file size upload limit. When the app reaches 100% upload on this file, Cloudflare tells it it failed, and the app starts over. It seems to try many, many times (not the 3 like the Android release notes state) before exhaustively giving up
The app tried to upload this file several times on Sunday (1.39GB data used), Monday morning (2+ GB used) and Monday evening (another 2+ GB used).
When troubleshooting a separate issue I discovered this problem that was being caused by Cloudflare. Disabling Cloudflare resulted in this file being uploaded without any issues.
I am going to say there’s a solid chance this is my issue, and what chewed up all my bandwidth.
Too bad the Android app doesn’t use chunked uploading!