Problems communicating with http://localhost:8000-8099
Problems communicating with localhost:8000-8099 can be seen as a white-beige (toolbar color) area directly when you start Spotfire Analyst. You will not see the TIBCO Spotfire logo, Recent Analysis, Recent Data, Add Data and Samples.
For Spotfire 7.5 or higher there is an option to show a Development menu, where you can select "Copy URL to Clipboard" and test the communication to the local web server using a web browser. To turn on the Development Menu, select Tools > Options, followed by Application > Development > Show development menu. Then select Tools > Development > Copy URL to Clipboard.
In Spotfire 7.5 or higher, you can also select "Developer Tools..." from the Development menu and use network analysis to see where the communication gets blocked.
For Spotfire 7.0 you will have to capture the URL using Fiddler or similar. The URL looks like http://localhost:8001/?view=5c59f75e-cf28-4f39-a1c9-65ed45bcb9a2
The reasons for testing this is that some setups blocks actions per application, and network support teams may be more familiar with debugging problems directly in a browser.
WebSocket connection to 127.0.0.1 fails
The second issue is seen as a white area under the toolbar when opening an analysis file but the initial display with TIBCO Spotfire logo etc looks OK. Depending on which version you are running, you may see the error "WebSocket connection to 'ws://127.0.0.1:<port number>/....' failed. Ensure you do not have an interfering proxy or similar." In this case, the WebSocket connection to 127.0.0.1 has probably failed. This connection is done towards an ephemeral port assigned by the system and is picked from a pool (49152-65535 on Windows 7 and later).
Normally localhost and 127.0.0.1 are interchangeable, but proxy .pac scripts can filter on hostname and for Chrome (and Spotfire) “localhost” and “127.0.0.1” are different. If this is the case, the URL should work in Internet Explorer, which treats this differently. This explains why these issues may appear for the first time with Spotfire, if no one has tested the hostname “127.0.0.1”.
Minimal Example .pac script:
function FindProxyForURL(url, host)
{
if (shExpMatch(host, "*.domain.example.com")) return "DIRECT";
else if (shExpMatch(host, "localhost")) return "DIRECT";
else if (shExpMatch(host, "127.0.0.1")) return "DIRECT";
//else if (isInNet(host, "127.0.0.0", "255.0.0.0")) return "DIRECT"; //this filters on the IP instead, which works for both "127.0.0.1" and "localhost"
else return "PROXY proxy.example.com:8090";
}
The port range may also be blocked, but this would also affect Internet Explorer