“Cannot resolve host name“ error when executing Data Functions on the TIBCO Spotfire Web Player

“Cannot resolve host name“ error when executing Data Functions on the TIBCO Spotfire Web Player

book

Article ID: KB0082147

calendar_today

Updated On:

Products Versions
Spotfire Web Player All Versions

Description

When attempting to execute data functions from the TIBCO Spotfire Web Player, the data function fails to run and the following error is returned.
Cannot resolve host name '<myTSSS_URL>'.
        at Spotfire.Dxp.Data.SPlus.FunctionClient.GetWebResponseWithTimeout(WebRequest request)
        at Spotfire.Dxp.Data.SPlus.FunctionClient.GetWebResponseWithTimeout(String serviceUrl, String resourcePath, String method, ICredentials credentials)
        at Spotfire.Dxp.Data.SPlus.FunctionClient.ValidateCredentials(String serviceUrl, ICredentials credentials)
        at Spotfire.Dxp.Data.DataFunctions.Executors.RemoteFunctionClient.<GetConnectedClient>d__21.MoveNext()
        at Spotfire.Dxp.Data.DataFunctions.Executors.RemoteFunctionClient.<PromptForCredentials>d__0.MoveNext()
        at Spotfire.Dxp.Data.DataFunctions.Executors.RemoteFunctionClient.<OnInit>d__9.MoveNext()
        at Spotfire.Dxp.Data.DataFunctions.Executors.AbstractFunctionClient.<Initialize>d__f.MoveNext()
        at Spotfire.Dxp.Data.DataFunctions.Executors.AbstractFunctionClient.<RunFunction>d__0.MoveNext()
        at Spotfire.Dxp.Data.DataFunctions.Executors.SPlusFunctionExecutor.<ExecuteFunction>d__0.MoveNext()

This error indicates that the TIBCO Spotfire Statistics Services server (TSSS) URL (seen as "<myTSSS_URL>" in the example error above) is either:
  • Incorrect or invalid.
  • Is inaccessible from the Web Player or Node Manager machine.

Issue/Introduction

“Cannot resolve host name“ error received when executing Data Functions on the TIBCO Spotfire Web Player

Resolution

To resolve:
  • Verify that the TSSS server URL is a valid URL and is correct for your TIBCO Spotfire Statistics Services installation. For example, validate the URL by successfully opening that URL in a browser on the TSSS machine itself or on a different machine. 
  • Verify that the TSSS server URL is accessible from the Web Player / Node Manager machine directly. For example, by logging into the Web Player / Node Manager machine and successfully opening that URL in a browser.
The TSSS server URL is set in the preferences, accessible via:
  • TIBCO Spotfire Analyst client > Tools > Preferences > <Group Name> > TIBCO Spotfire Statistics Services > Statistics Services
After modifying the preference, you must log out and log back in so that the new preference value will be registered. Additionally, if you have the preferences defined on multiple groups, ensure all are correct and that you understand the inheritance and precedence, as per the referenced KB article 000022058.

See the documentation reference for detailed instructions. When entering the TSSS URLs, ensure there are no extra spaces, special characters, or other typing errors.

Additional Information

Documentation: Configuring TIBCO Spotfire to use TIBCO Spotfire Statistics Services KB: 000022058 Preference and License inheritance and precedence.