Closed moviuro closed 1 year ago
Sorry, I as this issue is very long, I did not checked if everyone reporting it really reported that it is fixed. It seems also that there are different problems/symptoms mixed in this issue.
@jerheij 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?
Sorry, I as this issue is very long, I did not checked if everyone reporting it really reported that it is fixed. It seems also that there are different problems/symptoms mixed in this issue.
@jerheij 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?
Thanks @tobiasKaminsky ! You should have received a welcome email and another email from me.
@jerheij I logged in and uploaded a small and a big file manually without problems. Is this purely on auto upload?
@tobiasKaminsky this is indeed purely on auto upload I had configured on my mobile phone for pictures. See below for my initial reported issue:
Still happening for me with Nextcloud 22 and the newest Android version of the app. For me my first auto upload (picture) doesn't even finish but just stops half way. I feel like the upload gets "further" before it stops when I switch to TLS1.2 instead of 1.3.
When I use my wireguard VPN, even though I still access the service externally, it all works as expected. When I turn off wireguard I experience those symptoms.
My setup runs on a VPS on the internet, so the external IPs are assigned to the server directly so no need for NATing or port forwarding.
Nextcloud server: 22.0.0 Nextcloud android app: 3.18.1 Reverse proxy: nginx
Uploads didn't seem to finish properly or get "stuck". While with the photosync app I am currently using it works without issues so far.
I enabled auto upload, uploaded 10 images (as of emulator they are rather small), and then I uploaded a 10mb video also via auto upload. All is working.
Which Android OS version do you use?
I am on Android 12 on Samsung.
Just tested it again, they keep failing after reaching about 50%. This is the last message I receive on my nginx reverse proxy:
[23/Jun/2022:14:12:07 +0200] "PUT /remote.php/dav/uploads/<account>/<random numbers>/0000000000000000-0000000001023999 HTTP/1.1" 408 0 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.20.3"
Hi,
for me, the uploads fail immediately. The server log (Apache) says:
192.168.27.175 - - [23/Jun/2022:21:37:31 +0200] "GET /index.php/204 HTTP/1.1" 302 6334 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.20.3"
192.168.27.175 - - [23/Jun/2022:21:37:31 +0200] "GET /index.php/login HTTP/1.1" 200 3243 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.20.3"
On the mobile, this is the only information I receive:
I'd be happy to provide more details? The mobile is on Android 11.
Maybe another hint to that topic. Today I found the problem occurring when uploading a JPG file (rather a large one) and then shutting down the server side during upload. After reestablishing the connection I was not able to upload the same image within in the mobile app (Connection Error always shown). Even after restarts of the app and the server.
When I renamed the image on phone side I was able to upload it. Also other images could be uploaded.
Hope it may help.
I had the exact same result, would not upload no matter what was restarted but a rename of the problem file allowed auto upload to proceed again.
I was facing the same issue. Clearing cache and reopening the application helped resume the uploads for me.
In conclusion, the follow-up comments are unrelated to the original report (which has been resolved). :) If anyone here continues to have problems, please open an independent Issue so that the matter can be looked at individually and not mingled with unrelated matters. Thanks everyone for your contributions!
Steps to reproduce
Expected behaviour
Actual behaviour
Can you reproduce this problem on https://try.nextcloud.com?
Environment data
Android version: 11
Device model: Pixel 4a 5G
Stock or customized system: Stock
Nextcloud app version: 3.16.0 RC2
Nextcloud server version: 21.0.0 (PHP8)
Reverse proxy: haproxy+nginx
NB: my server only serves TLS 1.3 and requires SNI (the joys of having only IPv4 in this day and age)
Logs
Web server error log
Nextcloud log (data/nextcloud.log) (Android app log)
NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate
Network trace