Product:TIBCO Cloud Spotfire
Versions:All
Summary:
Images configured with 'Image from URL' work in the TIBCO Spotfire Analyst client, but do not display in the TIBCO Spotfire Web Player.
Details:
Images added to visualizations using the 'Image from URL' renderer (see Details on Image from URL Renderer Settings for details) work as expected in Analyst client, but fail in the Web Player with an error message similar to:
2022-07-04T15:57:45,088+05:30 2022-07-04 10:27:45,088 user1 [TF Spotfire.Dxp.Application.Visuals.ValueRenderers.ValueRendererWorkerFactory::Spotfire.ImageFromUrlRenderer] INFO Spotfire.Dxp.Application.Visuals.ValueRenderers.ImageFromUrlService [(null)] - Failed to create image for URL: 'https://myserver/myservices/S3Download/?s3bucket=mybucket&s3file=myimage.jpg'
System.ArgumentException: Parameter is not valid.
at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData)
at Spotfire.Dxp.Application.Visuals.ValueRenderers.ImageFromUrlService.TryGetImageFromUrl(Uri url, Image& image)
Resolution:
This error generally indicates that there was an issue with authentication at the image source. The Spotfire Web Player service will not pass any SSO credentials along to the source to get the images, so authentication requirements must be removed to make the images work in Spotfire Web Player. Ensure the images URL is generally accessible from the Web Player's Node Manager machine with no authentication step and the image will be properly displayed in Spotfire.
Versions:All
Summary:
Images configured with 'Image from URL' work in the TIBCO Spotfire Analyst client, but do not display in the TIBCO Spotfire Web Player.
Details:
Images added to visualizations using the 'Image from URL' renderer (see Details on Image from URL Renderer Settings for details) work as expected in Analyst client, but fail in the Web Player with an error message similar to:
2022-07-04T15:57:45,088+05:30 2022-07-04 10:27:45,088 user1 [TF Spotfire.Dxp.Application.Visuals.ValueRenderers.ValueRendererWorkerFactory::Spotfire.ImageFromUrlRenderer] INFO Spotfire.Dxp.Application.Visuals.ValueRenderers.ImageFromUrlService [(null)] - Failed to create image for URL: 'https://myserver/myservices/S3Download/?s3bucket=mybucket&s3file=myimage.jpg'
System.ArgumentException: Parameter is not valid.
at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData)
at Spotfire.Dxp.Application.Visuals.ValueRenderers.ImageFromUrlService.TryGetImageFromUrl(Uri url, Image& image)
Resolution:
This error generally indicates that there was an issue with authentication at the image source. The Spotfire Web Player service will not pass any SSO credentials along to the source to get the images, so authentication requirements must be removed to make the images work in Spotfire Web Player. Ensure the images URL is generally accessible from the Web Player's Node Manager machine with no authentication step and the image will be properly displayed in Spotfire.