Web Player instance does not start and may ERROR out with "the operation timed out after 60000 ms"

Web Player instance does not start and may ERROR out with "the operation timed out after 60000 ms"

book

Article ID: KB0078705

calendar_today

Updated On:

Products Versions
Spotfire Web Player 7.5 and later

Description

This knowledge base will help you to resolve the error below:
----------------------------------------------------------------------------
ERROR;2017-08-29T07:29:23,236-06:00;2017-08-29 13:29:23,236;8569b9ea-810e-4093-8cc4-ff444f132bea;(null);WorkerStartup 1;;Spotfire.Dxp.Worker.Host.WorkerHost;"Failed to start worker.
Spotfire.Dxp.Internal.Utilities.ApplicationSetupException: Failed to connect to the Spotfire Server ---> Spotfire.Dxp.Services.ManifestReader+ManifestWebException: Could not connect to server 'http://xyz.tsspune.lab:9443/' to download manifest, the operation timed out after 60000 ms.
----------------------------------------------------------------------------

Issue/Introduction

When starting Web Player service, it may not start and reports the error below: ------------------------------------------------------------------------------------------------------------ ERROR;2017-08-29T07:29:23,236-06:00;2017-08-29 13:29:23,236;8569b9ea-810e-4093-8cc4-ff444f132bea;(null);WorkerStartup 1;;Spotfire.Dxp.Worker.Host.WorkerHost;"Failed to start worker. Spotfire.Dxp.Internal.Utilities.ApplicationSetupException: Failed to connect to the Spotfire Server ---> Spotfire.Dxp.Services.ManifestReader+ManifestWebException: Could not connect to server 'http://xyz.tsspune.lab:9443/' to download manifest, the operation timed out after 60000 ms. ----------------------------------------------------------------------------

Environment

All supported operating systems

Resolution

Login to the Spotfire Server and export the Web Player configuration.

Follow below steps to export and import Web Player configuration.
-------------------------------------------------------------------------------
- Run the export config command at the command prompt.
  <installation folder>\7.X.0\tomcat\bin>config export-service-config  --deployment-area="Production" --force --capability=WEB_PLAYER

- Provide the config Tool Password when prompted.
- Browse to the location "<installation folder>\7.X.0\tomcat\bin\config\root\" and edit "Spotfire.Dxp.Worker.Host.exe.config" and edit/increase the below value.

----------------------------------------------------------------------
      <setting name="ManifestDownloadTimeoutMilliseconds" serializeAs="String">
        <value>60000</value>
      </setting>
-----------------------------------------------------------------------

> The value is 60000 milliseconds by default. You may increase the value by 5000 or more (depending on the requirement)
Example:  <value>65000</value>

- Save the config file and import it as follows.
   <installation folder>\7.X.X\tomcat\bin>config import-service-config  --config-name="provide a custom name"

- Provide the config Tool Password when prompted.
- Login to the Spotfire Admin console > Open "Nodes and Services".
- Click on Web Player Service and update it.

Refer to the link below for more information on export/import commands.
https://docs.tibco.com/pub/spotfire_server/7.10.0/doc/html/TIB_sfire_server_tsas_admin_help/GUID-5462A06E-20CC-4F42-BCB8-0A66C8EC1C18.html

NOTE: The same settings are applicable for Automation Services as well.

Additional Information

https://docs.tibco.com/pub/spotfire_server/7.10.0/doc/html/TIB_sfire_server_tsas_admin_help/GUID-5462A06E-20CC-4F42-BCB8-0A66C8EC1C18.html