Skip to content
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

File is not synchronized to the client - Broken webserver returning empty content length for non-empty file on resume #4000

Closed
J-A-M opened this issue Oct 25, 2015 · 8 comments

Comments

@J-A-M
Copy link

commented Oct 25, 2015

I have the same issue as #3848 (closed without a resolution)

Server has about 50000 files, between 2 and 4 of then never sync to the Windows client regardless of size. Smallest is a few k, largest is 1.5G. On different clients the files that won't sync are not always the same, though one file (a .EXE) has never synced on any client.

This is a guess, but it seems to me it's some sort of data escaping corruption.

Log is full of "Broken webserver returning empty content length for non-empty file on resume"
Server is Ubuntu 14.04.3 LTS
OwnCloud is 8.1.1 (older versions did the same)
Apache is 2.4.7-1ubuntu4.8
PHP is 5.5.9-1ubuntu4.13 (cli)
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
Desktop Client is Version 2.0.1 (build 5446)

@guruz

This comment has been minimized.

Copy link
Collaborator

commented Oct 25, 2015

Like the issue you linked my bet is here also on a server/configuration/proxy/servermodule/firewall issue.

@ghost

This comment has been minimized.

Copy link

commented Oct 26, 2015

(closed without a resolution)

There was a solution posted there which fixed the issue for this user:

Seems that server guys did some magick (eg. updated the php version and configuration) and now everything works fine :)

@guruz guruz added the Needs info label Oct 26, 2015

@ogoffart

This comment has been minimized.

Copy link
Collaborator

commented Oct 26, 2015

I made a change so it is a soft error rather than a normal error. Because this just mean you can't resume files, so it will restart from scratch on next sync.

Otherwise, nothing can be done client side, this is not a client bug.

@ogoffart ogoffart closed this Oct 26, 2015

@J-A-M

This comment has been minimized.

Copy link
Author

commented Nov 4, 2015

I don't think it is a client error. I think it's a server error. The server log is full of thousands of closed connection messages.
There is no proxy the server is directly internet connected.
There is another related issue, but I am not using versioning. owncloud/core#20234
A computer which is connected to the internet via NAT always fails on the same files and never resumes past those files, so a 100% sync is never achieved.

@guruz

This comment has been minimized.

Copy link
Collaborator

commented Nov 4, 2015

Is this shared hosting?

In any case, I'd recommend going to a higher version of ownCloud and PHP/Apache etc..

FYI @PVince81 in case you have seen this..

@PVince81

This comment has been minimized.

Copy link
Member

commented Nov 4, 2015

Are we talking about uploading or downloading ?

Seeing the keyword "resume" I guess it might be about resuming a failed download ?

Could indeed be an issue with PHP modules that interfere with the response.
Best would be to first upgrade to 8.1.4 just in case, and if the problem persists, check your PHP modules.

@J-A-M

This comment has been minimized.

Copy link
Author

commented Nov 9, 2015

Updated to latest 8.1.3 (STABLE)
Problems persists (after update I also got the OC_DEFAULT_MODULE is missing bug, even though I am not using encryption)
I can't sync (oc_server->client) any files at all now, please escallate this is serious. Owncloud is now write only memory.
This is a private server on an OpenVZ
PHP is 5.6.14.1
Apache is 2.4
Client is 2.0.2
The log on the windows sync client 2.0.2 is always the same:
"Broken webserver returning empty content length for non-empty file on resume" followed by "Connection Closed" then two instances of "Operation Cancelled"
It is difficult to sync the owncloud internal log in time, as it's messy and difficult to read, but as far as I can tell there are no messges in the server log related to this.

@guruz

This comment has been minimized.

Copy link
Collaborator

commented Nov 9, 2015

Possibly the OpenVZ port forwarding or whatever you might have there has an issue.

please escallate this is serious

Information about further support options can be found here https://owncloud.org/support/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.