Bug #1953

Updated by Matthieu Decorde over 4 years ago

In some network configurations (WIFI or even Ethernet connection), some users are having difficulties to update TXM 0.7.7 to TXM 0.7.8 : the update raises Timeout exceptions while downloading plugins.

h3. Diagnostics

A) Reduce the update size :
split the CQP plugin per OS
reduce the Toolbox size
remove the Java class files from the bin directory (and keep the Groovy class files)
remove
TIGERSearch.jar (9.0 mo)
remove Jsesh jars (15 mo + 2.1 mo + 1.6 mo)
move libraries in plugins (lie groovy and jfreechart)
B) Download a jar via FF and see if the timeout is raised
C) Try to serve the update with a different server
using SJ server
D) Try with larger HTTP thresholds
E) Try running an update right after the Timeout error

h3. Diagnostics

Antivirus may unzip plugin jars and detect dll or binary files to block a download

h3. Solution 1

Create the PrepareTXM4Update macro to fix the TXM.ini file and remove the HTTP parameters.

h3. Solution 2

It often fails during the download of the CWBInstaller plugin. This plugin is big because it contains CQP binaries for all supported architectures (Windows, Mac OS X and Linux for 32 bit and 64 bit).

Split the plugin in 3 plugins for each system:
* Windows
* Linux
* Mac OS X

Back