Product: TIBCO Spotfire®
Ajax error when using the TIBCO Spotfire Web Player in a Safari browser on Mac OS X.
When using reports in the TIBCO Spotfire Web Player in a Safari browser on Mac OS X, a generic Ajax error is seen. For example:
Error in TIBCO Spotfire Web Player at 3/21/2016 1:25:42 PM Communication error in Ajax.request ActiveX: False, Beta: False, Browser: Safari, ClrVersion: 0.0, Cookies: True, EcmaScriptVersion: 3.0, Frames: True, Id: safari3plus, InputType: keyboard, IsMobileDevice: False, JavaApplets: True, JScriptVersion: 0.0, MaximumHrefLength: 10000, MaximumRenderedPageSize: 300000, MobileDeviceManufacturer: Unknown, MobileDeviceModel: Unknown, MSDomVersion: 0.0, Platform: Unknown, PreferredImageMime: image/gif, PreferredRenderingMime: text/html, PreferredRenderingType: html32, SupportsUncheck: True, SupportsXmlHttp: True, Tables: True, Type: Safari9, UseOptimizedCacheKey: True, VBScript: False, Version: 9.0, W3CDomVersion: 1.0, Win32: False,
In the Spotfire.Dxp.Web.log, the following error is seen:
ERROR 2016-03-21 15:25:42,933 [abc0jreyinz0ezdfnagsjfci, 1324, 191, email@example.com] Spotfire.Dxp.Web.Forms.Error - ClientError: Communication error in Ajax.request XmlHttpRequest failed. Status: 0 error Response:
When analysis files are automatically updated in Scheduled Updates, the browser will get alerted by the server that a new version for the analysis is ready to be loaded. At that time, the browser will cancel the outstanding Ajax requests from before the reload of the analysis. The Safari browser handles this Ajax communication differently, so it is the only browser that encounters these errors. If the analysis updates in Scheduled Updates are frequent (as defined by "Reload and trigger update (within the specified time frame) every: X Minutes" setting in the "Configure Update Schedule" dialog), then the chance of the Ajax errors occurring will increase correspondingly. For example, if you have a report in Scheduled Updates configured to update every 1 to 5 minutes, then the chances of seeing this error will be much greater.
To resolve the issue, apply hotfix TS 7.0.1 HF-014 or later on the TIBCO Spotfire Web Player, which includes a fix for this issue.