Tableau Javascript API HTTPS 不起作用 [英] Tableau Javascript API HTTPS isn't working

查看:26
本文介绍了Tableau Javascript API HTTPS 不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将报告嵌入我的网站,但出现以下错误

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/仪表板'.此请求已被阻止;内容必须通过 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 > 外部网络服务器 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆