Apache OpenOffice (AOO) Bugzilla – Issue 126387
Opening signed documents with port 80 blocked result in freeze for several minutes
Last modified: 2015-06-29 16:39:06 UTC
When port 80 ist blocked (e.g. if a proxy server is required to do HTTP requests), OpenOffice hangs for a minute or two when loading a signed document. The same happens when opening "File/Digital Signatures" afterwards. Additionally, any proxy settings seem to be ignored: Neither the settings in OpenOffice itself (Tools/Options/Internet/Proxy) nor the system proxy or environment variables such as "http_proxy" made OpenOffice use a proxy server. The same seems to be true for "Help/Check for updates". For reproducing this bug, we used a document signed with an X.509 certificate and iptables to block port 80. The use of proxy servers can easily be verified by configuring a proxy server and watching http traffic with tcpdump.
.
This may be a problem in the libraries that AOO uses. The only reason I can imagine there is for going to the Web is to check for a certificate revocation or, optionally, to retrieve a public-key certificate. It is interesting that the check for updates has the same problem. That suggests to me that it might be directly in AOO logic. (The easy way to verify these is to disconnect from the net completely and see how long before each of these cases time out when opening a document off-line.)