Apache OpenOffice (AOO) Bugzilla – Issue 107150
OOo claims to understand compressed extension update feeds, but does not handle them correctly
Last modified: 2010-02-09 15:45:05 UTC
Using a webserver, with enabled compression, to deliver the extension update feed, results in an error message that indicates, that OO can not handle such feedback. How to reproduce: Configure OOo to use an compressed delivered feed: in file: program/versionrc ExtensionUpdateURL=http://extensions.services.openoffice.org/ProductUpdateService/check.Update or, if that does not exists anymore, use internal one: ExtensionUpdateURL=http://vm-tbo2/check.Update.txt Then start OOo: Tools->Extension Manager press button Check for Updates Check checkbox: Show all updates -> An error occurred: Premature end of data in tag feed line 2 Line: 434 column: 0 The apache server (vm-tbo2) is configured to use mod_deflate for .txt files if http://vm-tbo2/check.Update would be used, the same file is delivered uncompressed, which will not result in an error message in OOo. (same for using http://updateext.services.openoffice.org/ProductUpdateService/check.Update which is the current default in OOo) -> please make OOo able to handle compressed update feed streams, since it would reduce the traffic for each request from 400kB to 30kB
adding myself to CC ...
cc'ed kso
.
Confirming bug on OOo side. Server side is okay. Taking over.
Fixed. tbo: Please note that due to this bug we cannot simply activate compressed response for any update feed request. OOo 3.2 (and earlier? needs to be checked!) will claim to support this feature but will fail, as we know. Thus, server-side should check the user-agent request header (e.g. "StarOffice 9 (300m64(Build:9446)[CWS:kso42]; MacOSX; x86; BundledLanguages=en-US)") to determine the version of the requesting OOo, before sending a compressed response.
If we can't tweak the server to respond based on the user agent we will have to introduce a different URL (ie. server).
reopen, since it is related to get this to work: To make this work, we need to change the URL with this CWS; The new URL will be: http://updateexte.services.openoffice.org/ExtensionUpdateService/check.Update in file versionrc for entry: ExtensionUpdateURL (ST is working to get the url, which will currently just point to http://extensions.services.openoffice.org/ExtensionUpdateService/check.Update)
New ExtensionUpdateURL now in scp2/source/ooo/common_brand.scp. => Fixed.
I added the hostname updateexte.s.ooo which now points to the osuosl site (oooapps). tbo, are you going to clarify the settings of the server with osuosl so that this new vhost works?
premature check: since no build is available with the new url, i modified an old build, which contains already the 'compressed' fix, with the new url and checked on macosx: fine - gzip delivered from host, OOo understood the content. (master build would fail with new url, which should be checked just for verifying this fix.) (side note: for some reason i couldn't reproduce the old behaviour error on linux with a masterbuild?)
tbo: Please verify.
Oop. Wrong owner. Changing to tbo.
verified on win32; New URL is in OOo settings; zipped stream works;
integrated into master dev300m71 - closing