Read timed out error seen in the server logs when retrieving data via Information Services in the Spotfire Analyst or Spotfire WebPlayer

Read timed out error seen in the server logs when retrieving data via Information Services in the Spotfire Analyst or Spotfire WebPlayer

book

Article ID: KB0138303

calendar_today

Updated On:

Products Versions
Spotfire Server 14.0.10 , 14.6.1

Description

When opening an information link or using the Information Designer, the process may fail with a "Failed to create a DataTable" error. This occurs because the Spotfire Analyst client expects a response within a default window (typically 28 seconds). However, the server proxy communicating with external Information Services utilizes the http.long-connect-timeout setting, which defaults to 10 seconds.
 
If the external service takes longer than 10 seconds to respond, the proxy terminates the connection. When the Information Service eventually attempts to return a status update to the client at the 28-second mark, it finds the connection already closed. This mismatch triggers a ResourceAccessException (Read timed out) in the server logs and an ArgumentException (Expected section type FileHeader, read TableSlice) in the client logs, resulting in the aborting of the data retrieval job. 

Client Log Snippets:
-----------------
Error message: Could not reload data.

TargetInvocationException at Spotfire.Dxp.Framework:
Exception has been thrown by the target of an invocation. (HRESULT: 80131604)

Stack Trace:
   at Spotfire.Dxp.Framework.ApplicationModel.ProgressService.ExecuteWithProgressCore(String title, String description, ProgressOperation operation, Boolean allowInTransaction)
   at Spotfire.Dxp.Forms.FormsDataCanvasWebViewImpl.HandleRefreshProducer(DataTable table, DataColumnProducer producer)

ArgumentException at Spotfire.Dxp.Data.Formats.Sbdf:
Expected section type FileHeader, read TableSlice. (HRESULT: 80070057)
-----------------

 
Server Log Snippets:
-----------------
ERROR 2026-02-16T16:07:23,052+0000 [GwVIxvegFfPcc9DooAij7-M0x2fYD70wi97oFj7ZYkc@https://abc.windows.net/<TENANT_ID>/, #B-262, #746402] ws.external.InformationServiceHttpProxyHandler: Internal server error occurred in the Information Services HTTP proxy handler.
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://<IP_ADDRESS>/spotfire/ws/QueryManagerService": Read timed out
at org.springframework.web.client.RestTemplate.createResourceAccessException(RestTemplate.java:926)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:906)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:841) 
-----------------

Resolution

Option 1 (Recommended):

This issue is addressed in the following Spotfire Server versions (TSS-36668). Upgrading to these or later versions resolves the defect natively:

  • 14.0.12 LTS

  • 14.6.2 LTS
  • 14.8.0 


Option 2: Configuration Workaround

If an immediate upgrade is not feasible, increase the http.long-connect-timeout configuration property on the Spotfire Server to a value higher than the client's wait threshold. A starting value of 29000 (29 seconds) is recommended.

  1. Open a command prompt as an administrator and navigate to the <server installation dir>/tomcat/spotfire-bin directory.

  2. Export the current server configuration: config export-config

  3. Set the new timeout value (value is in milliseconds): config set-config-prop --name="http.long-connect-timeout" --value="29000"

  4. Import the configuration with a comment: config import-config --comment="Increased Information Services long connect timeout"

  5. Restart the Spotfire Server service.

Note: If the error persists, you may increase this value further (e.g., 100000 for 100 seconds) depending on the responsiveness of your external data source.

 

Issue/Introduction

Data retrieval via Information Services fails with a "Read timed out" error due to a mismatch between the client's data block wait time and the server proxy's connection timeout.

Additional Information

Doc: Spotfire Server Command-Line Reference:

Doc: export-config:

Doc: import-config: