-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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\BadRequest: expected filesize 2584835 got 1114112 #9471
Comments
I have overridden values in the database, seems to work. |
Hello, I have the same issue, please can you help me with the file ant the path to modify for this issue? Thank you. |
Hello danut2006, This is done in the database. Open phpMyAdmin, search oc_appconfig Edit Value and insert. Compare Value. Best regards Christian Huml |
Sometimes mistakes come again. Best regards Christian Huml |
Worth noting this is sometimes caused by |
Hello @gregharvey, did you mean pm.max_requests? Best regards Christian Huml |
I know that this issue is already closed but according to some mailing lists and a Google search it seems to be a persistent problem. It could be caused for a lot of different reasons. I'd like to mention this thread: https://central.owncloud.org/t/expected-filesize-xxx-got-yyy-0/816 (Link edited on 2020/11/13) which lists many possible reasons. In my case it seams to be caused by Apache's reqtimeout module. I could observe sudden TCP resets sent by the server which lead me to the DoS protection mechanisms. Disabling the module eliminated the problem. Probably it is just a matter of correct settings which fit the Nextcloud server. I'd further like to point out that I had the same problem on another Nextcloud server where we installed a web application firewall in between which in some cases terminated the sessions because of false positive signatures during the file upload. The Nextcloud server issued exactly this error message as stated within this thread and it was not obvious firsthand that it was caused by the WAF. |
few years still same bug .. is impossible upload big file (5gb+) with any setting .. maybe is PHP really bad chooice for this or have working setting someone ? share then .. |
Since today I got the same issue. |
Also seeing this issue. |
Have a look at my comment from 25th of July. This probably may help you. |
Interesting, I am running behind a reverse proxy, not sure if it could be the root of this. But your comment definitely gives me some avenues to pursue. Thanks! |
Hi, I'm seeing the same issues. Can you please explain a little further what you mean by what you've posted? If oc_appconfig is selected, there are three columns. Here is the SQL: INSERT INTO so, which column does "Compare Value" go into? thanks, |
This is to confirm that disabling Apache's reqtimeout module on Slackware 14.2 (apache-2.4.39) resolved this problem on my NC server. Thank You. |
@rahra 's advice is spot-on. When I disabled the reqtimeout_module in Apache's httpd.conf (centOS+CWP, latest version), the problem went away. Thank you very much! |
Disabling reqtimeout_module sped up my nextcloud server enormously but unfortunately did not get rid of this error when uploading via webdav |
Hello,
I have received the following fatal error messages:
Sabre\DAV\Exception\BadRequest: expected filesize 2584835 got 1114112 2018-05-13T17:43:08+0200
Sabre\DAV\Exception\BadRequest: expected filesize 61724962 got 26787840 2018-05-13T17:24:48+0200
Sabre\DAV\Exception\BadRequest: expected filesize 2707452 got 1785856 2018-05-13T16:41:51+0200
Sabre\DAV\Exception\BadRequest: expected filesize 1193422 got 884736 2018-05-13T16:30:52+0200
abre\DAV\Exception\BadRequest: expected filesize 61724962 got 4636672 2018-05-13T16:30:51+0200
Sabre\DAV\Exception\BadRequest: expected filesize 8191601 got 2326528 2018-05-13T16:19:23+0200
Currently I do not receive any of these error messages anymore.
Version 13.0.2 is used, PHP Version: 7.2.5, mysql 5.7.22.
I was informed that there are problems regarding IOS 11.3.1. App version is: 2.20.8.00003, files are displayed for synchronization, but this is not done.
Best regards
Christian Huml
The text was updated successfully, but these errors were encountered: