Tableau Javascript API HTTPS无法正常工作 [英] Tableau Javascript API HTTPS isn't working
问题描述
我正在尝试将报告嵌入我的网站,但收到以下错误
I am trying to embed a report onto my website but getting the following error
混合内容:' https://mywebsite.com/blah/blah '是通过HTTPS加载的,但请求了一个不安全的资源' http://my-tableau-report-location.com/dashboard '。此请求已被阻止;内容必须通过HTTPS提供。
Mixed Content: The page at 'https://mywebsite.com/blah/blah' was loaded over HTTPS, but requested an insecure resource 'http://my-tableau-report-location.com/dashboard'. This request has been blocked; the content must be served over HTTPS.
但是在我的JS API调用中,我的网址为'HTTPS://',即' https://my-tableau-report-location.com/dashboard '
But on my JS API call I have the url with 'HTTPS://' ie 'https://my-tableau-report-location.com/dashboard'
我是否需要添加API选项才能使其成为HTTPS?我错过了什么?
Do I need to add an API option to make it HTTPS? What am I missing?
推荐答案
最有可能导致此问题的原因是尚未在Tableau服务器上正确启用或配置SSL。
Most likely cause for this problem is that SSL has not been enabled or configured properly on Tableau server.
您需要有效的证书才能执行此操作。
可以在您的tableau服务器配置实用程序> SSL>外部Web服务器SSL上进行配置。
You will need a valid certificate to do do this. It can be configured on your tableau server configuration utility > SSL > External webserver SSL.
这是一个详细的指南
我建议跳过配置'相互'的SSL因为它似乎会引起更多的麻烦。
I would recommend to skip configuring 'mutual' SSL as it seems to cause even more headaches.
这篇关于Tableau Javascript API HTTPS无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!