Bug #1953

RCP: 0.7.7, Update fail with Timeout exception

Added by Matthieu Decorde over 6 years ago. Updated about 4 years ago.

Status:New Start date:12/05/2016
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Update Spent time: -
Target version:TXM X.X

Description

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.

Diagnostics

  1. Reduce the update size :
    • split the CQP plugin per OS : spare 3 mo
    • reduce the Toolbox size : 57.1 mo -> 28.9 mo
      • remove the Java class files from the bin directory (and keep the Groovy class files) : 14.5 mo -> 8.1 mo
      • remove TIGERSearch.jar : 9.0 mo
      • remove Jsesh jars : 15 mo + 2.1 mo + 1.6 mo
      • move libraries in plugins (like groovy and jfreechart)
        1. saxon 9.8 mo
        2. sqlite 5.6 mo
  2. Download a jar via FF and see if the timeout is raised
  3. Try to serve the update with a different server
    • using SJ server
  4. Try with larger HTTP thresholds
  5. Try running an update right after the Timeout error

Diagnostics

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

Solution 1

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

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

History

#1 Updated by Matthieu Decorde over 6 years ago

  • % Done changed from 0 to 70

MD: I need to test it on other computers

#2 Updated by Matthieu Decorde over 6 years ago

  • Subject changed from RCP: 0.7.7, PrepareTXM4Update Macro to RCP: 0.7.7, Update fail with Timeout exception
  • Description updated (diff)

#3 Updated by Matthieu Decorde over 6 years ago

  • % Done changed from 70 to 0

#4 Updated by Matthieu Decorde over 6 years ago

  • Description updated (diff)

#5 Updated by Serge Heiden over 6 years ago

  • Description updated (diff)

#6 Updated by Matthieu Decorde over 6 years ago

  • Description updated (diff)

#7 Updated by Matthieu Decorde over 6 years ago

  • Description updated (diff)

#8 Updated by Matthieu Decorde over 6 years ago

  • Description updated (diff)

#9 Updated by Matthieu Decorde over 6 years ago

  • Description updated (diff)

#10 Updated by Matthieu Decorde over 6 years ago

  • Description updated (diff)

#11 Updated by Matthieu Decorde over 6 years ago

  • Description updated (diff)

#12 Updated by Matthieu Decorde over 6 years ago

  • Description updated (diff)

#13 Updated by Matthieu Decorde about 6 years ago

  • Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)

#14 Updated by Sebastien Jacquot almost 5 years ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#15 Updated by Matthieu Decorde about 4 years ago

  • Target version changed from TXM 0.8.0 to TXM X.X

Also available in: Atom PDF