-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sabre-DAV-Exception: expected filesize 10240000 got 7217152 #4005
Comments
If 1M is advertised, but only a part of it gets transferred it seems to me to be either a client (crash during upload/ no connection) or a server (connection get closed) problem. 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? |
It's understandable that this can happen. It happened to me and my guess is that the phone lost the network connection. But as the client (hopefully) recognizes this and fixes this the next time it syncs, I don't think this should be shown as an error in the user interface and as a "fatal" entry in the server log. Maybe only log/show that error when it happens multiple times in a row? |
Actually, my phone tries and tries it again and it fails all the time. @tobiasKaminsky I'll create an account. |
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you! |
problem still exists |
Are you able to reproduce this with https://demo.nextcloud.com? |
I tested with the Demo Server and yes, i have the Same Error Like the author from These Bug Report Here. I tested zu Upload a 660MB Video File and got Same error |
pinging @tobiasKaminsky ❗️ Your the expert when it comes to chunking 🥇 |
Hm. I tested it with my local server and 500Mb and it worked. What is strange is that it should not show the uploaded file at all, if upload fails. |
I have exactly this problem. Server is 16.0.3. Android client is 3.7.0. Home internet connection is a bit flaky, but most other services manage to work around it (Google Drive, Dropbox, etc). I have this problem with any file over about 40MB(!). On the server I see the same expected/got error (here for a 350MB video file):
On the client I see "SSL Initialization Failed." I do not see multiple copies of the uploaded file as @Powerbless sees, for me the file never appears on the server. This happens with:
I'll note that on my work network, I almost never get the issue. My home internet is not as fast or reliable, but it's not terrible, and it would be nice if Nextcloud could handle that. I would be happy to set up a test account on my server, just let me know if you think that would help. |
I always forgot one important information (sorry): My nextcloud ran behing an Apache Reverse Proxy. |
Thanks for your feedback. See nextcloud/server#15095 for more information. |
No my nextcloud is only behind a Router. But i can told You another Thing: If i Upload the movie File trough the Homepage Interface, then the Upload finished without Problems! |
@Powerbless mind to open a new issue? It's easier to reproduce your issue with these information. You can reference this thread. |
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you! |
hey, any update on this? I have exactly the same problem. :( |
Yes, i switched to nextcloud-vm (Google) and all works fine after a hand full of customizations. Is this a solution for You? And dont worry. You have normaly to pay for bigger vm with more that 500gb HDD but there is a workaround to Bypass the Limit |
thanks for your reply! unfortunately that's not a good solution for me, I need the data in house. The very strange thing is that sometimes uploads (even really big ones like ~5gb) works like a charm. But I do have a file (~1.9gb) where I get exactly the same error message in the apache logs when uploading. so strange. :( |
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you! |
I was facing the same problem: |
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you! |
Can other confirm the solution by @bazio101? |
@tobiasKaminsky I am still getting this problem but it's shared hosting, so no. |
This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you! |
Actual behaviour
My nextcloud app uploads images and screenshots without any issues. For example, the screenshots in this report where uploaded automatically. Unfortunately, it does not upload a video of size > 100MB. The log of my nextcloud server contains the following exception:
My notification bar shows "uploading" and after some time "SSL initialization fails":
The message "SSL initialization fails" seems to be wrong, since the upload for images works.
The app itself shows "uploading" and then "connection error":
It seems to be related to:
Expected behaviour
The file should be uploaded
Steps to reproduce
Environment data
The text was updated successfully, but these errors were encountered: