Android version: 9;
Device model: Motorola G6 Play;
Stock or customized system: stock;
Nextcloud app version: 3.8.0;
Nextcloud server version: 16 (with Cloudflare SSL certificate and using a custom port).
Same problem here with auto-sync feature. Some files are sent without problems and others fails with "Connection error". Manual uploads works as expected.
Nextcloud android app 3.8.0 on Android 9; Pocophone F1.
Nextcloud server app 16.04 with Cloudflare SSL.
Its not only the auto-sync function. If you upload file manually with WiFi, it doesn't work. It works only if I turn off the WiFi and use Cellar network.
Nextcloud android app 3.8.0. Oneplus 6
Nextcloud server app 15.0.11
I've having the same issue as of today. I even tried to upgrade the Nextcloud server to 16.0.4 today. I can't upload any files from my Google Pixel C Tablet or my Google Pixel Phone.
Nextcloud android app version 3.8.0 Google Pixel & Google Pixel C Tablet
Nextcloud server app 16.0.4
Please fix.
Ty
Pinging @tobiasKaminsky while my guess is (due to wifi versus cellular) that this is rather a server config issue (not handling http chunking correctly).
I don't think it is a server side issue. It has started after updating the Android app and devices on the previous version were still able to upload correctly.
My comment was rather about @bubonic and @bbbf0621. Afaik there haven't been any changes to auto upload (except for general TLS 1.3 support), which is why I pinged @tobiasKaminsky for further commenting.
Same problem here, not one upload worked with v3.8.
I see the same issue. Uploads work after first installing the app. After closing and reopening the app, uploads fail unless using cellular service. Reverting to 3.7.2 fixes the problem, so seems to be introduced in 3.8.0.
I've seen this on both a Samsung S10 and kindle fire (fire does not have cell service so no uploads are possible until downgrading to 3.7.2).
Other oddities are that I can still change folder names, add or remove folders and even delete files, but I can not upload new files.
Other oddities are that I can still change folder names, add or remove folders and even delete files, but I can not upload new files.
Same issue here.
How is it possible to revert the app to version 3.7.2?
I downloaded the 3.7.2 apk from f-droid. Previous versions are listed at the bottom of the app description page.
Fair warning, I had to uninstall next cloud and reinstall it using the apk, which lost all of my synched files and settings.
Confirming that uploads are no longer working with v3.8 on naked android 9 and 10.
Switched back to 3.7.2 and worked flawlessly.
Wifi Upload only works after fresh install through with ver 3.8. Shows connection error after reopen the nectcloud app to both auto upload and manual upload. Mobile data uploads without problems.
I have the same issue. I had no issues prior to updating the app to 3.8
Uploading files on the same device using the website instead of the app works. Auto upload and regular upload fails in the app with "Connection error"
Same problem for me.
_Connection error_ if I switch the WIFI on (it only works with cellular data).
My configuration:
When do you think it'll be fixed?
Any idea how long a fix might take? The app is not usable for many ppl as it now.
Can you create us a test account, test if the problem occurs also there and if so send the credentials to tobias at nextcloud dot com with a reference to this issue?
I just ran a sniffer to check what exactly is happening.
It seems that it's Cloudflare that's blocking the traffic because of failed browser integrity check.
Browser Integrity Check
Cloudflare might be blocking the user agent (Jakarta Commons-HttpClient/3.1), however it is weird that it allows connection on a cellular connection.
Other operations does not cause this firewall action because(?) of a different user agent (Mozilla/5.0 (Android) Nextcloud-android/3.8.0)
Was that changed somehow recently?
For now, you can work around this by disabling browser integrity check in your firewall settings in Cloudflare.
Thank you, @disaderp !
I have cloudflare in front of my nextcloud instance and disabling that Browser Integrity Check has allowed my v3.8.0 Android app to sync my files. Good find.
That fixed it for me too. Not sure why the newer app fails, but the older one passes...
I believe that this PR already fixes this issue: #4528
EDIT: I can confirm, the apk from this PR works flawlessly even with Browser Integrity Checks enabled
@disaderp
What was fixed and where? Using Cloudflare isn't a bug of the users. And I can't see where I would use Cloudflare at all. So nothing is fixed for me. The server still isn't available when I try to log into the app.
This issue was about failing uploads. It turned out, all of the reporters were using Cloudflare in front of their installation of Nextcloud, which blocked uploads due to unrecognized user agent.
If your server is unavailable when you log into the app, it seems like it's unrelated to this issue.
Any updates on this issue?
Yesterday evening I upgraded to version 3.8.1 and since then Nextcloud is uploading gigabytes of photos which it missed during the last weeks. So it seems this issue is finally fixed. :-)
Just don't know why it's not yet marked as fixed.
The issue was not even assigned to the version 3.8.1 milestone. I think this is the reason why it was not marked as fixed with that release - in the case it is really fixed.
So, does it mean it is now possible to reactivate Cloudflare's Browser Integrity Check?
Although I never checked that my Nextcloud provider has Cloudflare, I would assume so - according to disaderp's reply above.
It does appear to be fixed. I turned the browser integrity check back on, and it uploads fine now using 3.8.1.
I have also reactivated Cloudflare's Browser Integrity Check and the issue no longer exists on version 3.8.1!
Thanks for the feedback folks 馃憤
I'll close the issue for now even though I am not aware of a dedicated fix for this issue.
Maybe @tobiasKaminsky has some more information on this.
Please reopen and report back in case the issue comes back.
Same issue with 3.8.1 with lineageos 16 on PocoF1. Work with 3.7.2
I use my own nextcloud instance with nginx reverse proxy.
@tobiasKaminsky any idea what might have changed between 3.7 and 3.8 with respect to uploads?
Most helpful comment
I just ran a sniffer to check what exactly is happening.
It seems that it's Cloudflare that's blocking the traffic because of failed browser integrity check.
Browser Integrity Check
Cloudflare might be blocking the user agent (Jakarta Commons-HttpClient/3.1), however it is weird that it allows connection on a cellular connection.
Other operations does not cause this firewall action because(?) of a different user agent (Mozilla/5.0 (Android) Nextcloud-android/3.8.0)
Was that changed somehow recently?
For now, you can work around this by disabling browser integrity check in your firewall settings in Cloudflare.