-
Notifications
You must be signed in to change notification settings - Fork 668
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
No E-Tag received from server, check Proxy/Gateway [$150 awarded] #1291
Comments
Are there archives in that list? (Zip, tar.gz, etc?) I am having a similar issue. All compressed files on windows/Linux clients will upload on the source PC but will not sync to the other computers linked to the account. The same etag error pops up saying the file was downloaded but no data is transferred. No files are created. If I delete the file and sync again on a different PC I get the same result. Once the file has uploaded the same error repeats on the source PC. Debian testing |
I am also having this issue from two of my four clients using the same account. The client keeps trying to sync over and over and only syncs folders but no files. ownCloud 6.0 on Mint 15 box. Clients are the latest builds also from Mint 15 boxes. ..Can't make the transition from Dropbox without this working. I do have two other clients able to sync with files to the same account. One is Mint 16 and the other is OS X. .. I personally don't see anything obvious in the owncloud MySQL data but I'm a novice in that dept... |
Unfortunately, in my case, it syncs the entire content of the folders and there aren`t archives in the lists to blame the archives. |
I might open a separate issue, mine is only occuring with compressed files. |
I had the same error: a JPG image was downloaded again and again by my OwnCloud client installed (version: 5.0.4debian-0ubuntu1~ubuntu12.04). I removed the JPG image server side (via browser) and after that the client continued and synced all other files normally. |
Sorry for the false report, actually the error still persists. Now there is a bunch of .txt files OwnCloud client redownloads over and over again.. I hope there was some bounty system so I could through 50€ in a pool to fund fixing this. It is a pitty the syncing client is unusable at the moment. |
I rolled back to ownCloud 5.0 from 6.0 and seem to be having much better luck. At least basic syncing seems to work. :/ Using Ubuntu 12.04 LTS. |
So it might be a server issue. Summoning @DeepDiver1975 @schiesbn @icewind1991. |
I think I may have a slightly different issue, but I'm hoping someone can tell me if it is or not before I raise a separate report. My ownCloud server is 6.0.0a and my client(s) are 1.5.0. My setup is to use Apache to host the ownCloud instance, with nginx acting as a reverse proxy to allow access through one port to several servers. Neither seems to be using pagespeed from what I can tell. It looks as if all of my .htm and .html files have the same issue as above where an ETag is not provided to the client during sync, so it never downloads any of these files. All other files seem unaffected. If I access the Apache instance directly, then the files sync correctly, so I'm guessing nginx is stripping out the etag header (despite "proxy_pass_header ETag;" being set) for htm/html files, which I am (purely guessing) is because it's caching them...? I can't seem to find a way to prevent this behaviour, although I'm far from an expert. This never seemed to be an issue before, I've first noticed it after setting up the client on a new machine with a blank folder structure so all files were downloaded from the server. My existing machine demonstrates an identical problem with any new files added to the server, but existing ones it's happy with. |
@ottok no need to open your wallet, how about providing us with client log files and even better a wireshark report of what's being transmitted over the wire? Thx. |
Client side log looks like this:
Server log data/owncloud.log does not have anything with matching timestamps. I updated from server 5.0.13 to 6.0.0a and the problem still persists. |
Captured HTTP request and response with Wireshark:
So really there is no Etag present in the headers, thus the files keep downloading over and over again.. |
NGINX strips off ETags when gzipping. In my case, turning gzip off fixed it. |
@Stebalien Thanks, I've changed the setting and it's stopped the problem. Apologies for potentially muddying the issue, I figured that as it had only recently started happening it might be related. |
I had the same problem and @Stebalien provided the correct way to workaround it. Thanks! |
@willyaranda Note that the this issue was originally raised for the setup with Apache, the Nginx proxy issue was a side track. So for Apache users the issue remains unresolved. |
@Stebalien Thank for ngnix config |
@ottok in case you're still interested, you can start a bounty here: https://www.bountysource.com/issues/1383937. Bountysource has been used to fund another bounty on Owncloud in the past: https://www.bountysource.com/issues/831597-gallery-app-can-t-share-public-via-link. |
I upgraded on the server side to 6.0.1 and on the client side, for some strange reason, apt-get notified that there is a new version available of "http://download.opensuse.org/repositories/isv:ownCloud:desktop/xUbuntu_12.04/ owncloud-client 1.5.0" (even though it was at 1.5.0 already previously) so I also upgraded it (By the way, why are the OBS builds not signed? Apt-get shows ugly warning of untrusted download.) The problem still presist. Funny. I'd guess my setup is fairly common, with CentOS+Apache+OwnCloud server and Ubuntu 12.04+OwnCloud client. Most of the files are redownloaded very 5 minutes or so. Terrible. @ccvergara I now spent $165 on Bountysource (https://www.bountysource.com/issues/1383937), paid extra to get it into the Bountysource newsletter and I also promoted it myself via social media. If anybody else suffers from this bug, consider contributing to the bounty! |
@ottok We fixed something in the client package, that is why you got an update. I also checked again which code path results in the error message |
@dragotin I am pretty sure there is no filter. The server is directly on public internet and so is client too. Anyway, even if there would be some connection error, the software should fail gracefully and not go nuts and re-download same files every 5 minutes. I've never had this kind of situation while using Ubuntu One or Dropbox. If you send me an email to otto ät seravo.fi I can give you credentials to the server in question so you can check it out yourself. The server is for test use only, there is no private data. |
I got the same issue (only with shared folders) OC 6.0.0a (and 6.0.1) with an apache server pagespeed_module disable |
I'm having the same issue with owncloud 5.0.13 and sync client 1.5.0. |
I "fixed" this with this SQL: The question is, obviously, why these files didn't have an etag in the first place. |
@blind-coder Thanks! Indeed the files that are re-downloaded over and over have an empty SQLite does not have function md5() built in and adding it manually as an external function is not trivial, so I will not do it this time (argh, OC should really not have SQLite as default).
Anyway this is the conclusion:
This bug can be marked done when somebody adds code that does at least one of the things above. As a work around I deleted the files from OC, and re-uploaded them. Now they have etags in the database. |
You can actually use any value in the etag. I just used MD5 out of habit. You can even set them all to "1". |
For the record: @DeepDiver1975 Can this be in the 7.x server? The bug here is one of our most-commented ones. |
I have installed the sync client on a fresh Ubuntu 14.04 machine, and it synced successfully. (However encryption is not working, and I have posted that as a separate issue). |
Could you check if on your server the file |
Thank you for responding. No. I can not find this line. Unfortunately I can not upload my filesplugin.php due to restrictions of github, however here are the lines of my filesplugin.php that look similar to what you refered to:
|
@benemoto Thanks. I suspect you should ask your server provider about this, I don't know what is happening but something makes owncloud not workable there. |
@guruz No. I can not see anything particular that might explain the error. |
Same problem. I cannot sync .zip files successfuly. No suspicious logs in data/owncloud.log. Running OwnCloud git version ownCloud 7.0.3 RC3 (git) on CentOS6 with Apache 2.2. |
@blaskovic The oC client does not treat .zip files any different from any other file. |
I have more-less default httpd for centos6. |
@blaskovic Did you check for : |
Nothing like that.
|
Owncloud 8 has a OC-Etag header that should solve this problem. In any cases, i'm closing this old issue because it has too many comments and this is not practical to track. If you still have problem with a recent owncloud, please open a new issue (following the issue template) |
So.. This will NOT be fixed for owncloud 7? |
@blaskovic correct. |
@ogoffart If you consider this fixed, you can collect 150 USD from the bounty at https://www.bountysource.com/issues/1383937-no-e-tag-received-from-server-check-proxy-gateway |
Someone just told me that the issue is actually not fixed in owncloud 8 because the fix of the server was reverted -> owncloud/core#9005 Anyway, the client part is done as we read the oc-etag header. |
@ogoffart: is the intention to replace standard Etag by OC-Etag in the future completely? |
I confirm this problem on Owncloud 8.0.3 / mirall-1.7.1-2.fc22.x86_64 |
I disabled gzip but I am still experiencing the problem
|
To avoid double-posts: This post above was also posted in #2980 (comment) |
Hi all,
Using the desktop client i am getting "No E-Tag received from server, check Proxy/Gateway" and a large portion of files is re-downloaded. (similar with #1269)
Server configuration
Operating system: Ubuntu Server 12.04 LTS
Web server: Apache 2.2.22
Database: MySQL 5
ownCloud version: 6.0 (stable)
Client configuration
OS: ubuntu 12.04
Client: 1.5
Thanks in advance
--- The **[$150 bounty](https://www.bountysource.com/issues/1383937-no-e-tag-received-from-server-check-proxy-gateway?utm_campaign=plugin&utm_content=tracker%2F216457&utm_medium=issues&utm_source=github)** on this issue has been claimed at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F216457&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: