How to troubleshoot

Prev Next

Check your error message

A lot of possible errors are currently logged and notified to the user. By reading the message, through the notification, you can handle by yourself some of these errors.

For example, in the error below, you can see that there was a timeout during the login process :

Error Example

In this case, you have to increase the timeout value defined in the Spotfire preferences (see the installation documentation).

Check version of deployed gadget and Spotfire extension

This information can be very useful to help solve an issue after an update.

In Analyst :

  • Go to Help > Support diagnostic and logging
  • Note the version of the following assemblies :
    • ClientAutomationCommon.Core
    • Discngine.DataSource.LiveDesign

From the Gadget :

  • Check the bottom of the gadget :

Spotfire Gadget Version

Use the diagnostic tool

If the Connector doesn't work correctly, you can use the diagnostic tool to make a first level diagnostic on the installation and configuration of the Connector.

To use the diagnostic tool, launch Spotfire Analyst and go to Discngine > LiveDesign Connector diagnostic tool.

Spotfire LiveDesign Connector diagnostic tool menu

If you have not yet made the necessary settings, follow the diagnostic tool configuration guide.

Run the diagnostic by clicking on the "Run Check" button. All configured diagnostics start running.
When the diagnostics are complete, a report is available for each control and its status. In the event of an error or warning, a message helps you to understand and resolve the issue.

Spotfire LiveDesign Connector diagnostic tool

You can also export the diagnostic results in CSV format to send it to support@discngine.com.
Click on "Export" to generate the CSV file. It is saved in the temporary folder of your account in the LDConnectorCheckExport.csv file.
You can click on "Open Export Folder" to open the folder location.

Spotfire LiveDesign Connector diagnostic tool export

Check the LiveDesign configuration

When the gadget is not working properly, you can check the config.json file.

Get the config file

From LiveDesign interface:

  1. Open the DevTools (Ctrl F12 or Right click and Inspect) and go to the Network tab
  2. Filter on config.json
  3. Open the Spotfire gadget (the name might be different than the one in the screenshot)
  4. Click on the config.json entry which just appeared
  5. Open the Response tab

LiveDesign config.json file

Points of attention

  • liveDesignServerUrl value must be the same than the first part of the URL in your browser
  • visualizer > url value should be the Spotfire server where the Connector is installed and, most of the time, it should not end with a slash
  • The entryPointDocumentIdOrPath value must be the GUID of an accessible Spotfire document
  • Pasting liveDesignServerUrl value followed by liveDesignSessionUri value in a browser should display a page with a long string
    • If you get a 404 error code, then the liveDesignSessionUri value is wrong
    • If you get another error code, like 503, there might be an issue with the LiveDesign nginx server