Tableau Javascript API HTTPS isn't working

偶尔善良 提交于 2020-01-14 09:47:27

问题


I am trying to embed a report onto my website but getting the following error

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.

But on my JS API call I have the url with 'HTTPS://' ie 'https://my-tableau-report-location.com/dashboard'

Do I need to add an API option to make it HTTPS? What am I missing?


回答1:


Most likely cause for this problem is that SSL has not been enabled or configured properly on Tableau server.

You will need a valid certificate to do do this. It can be configured on your tableau server configuration utility > SSL > External webserver SSL.

Here is a detailed guide

I would recommend to skip configuring 'mutual' SSL as it seems to cause even more headaches.



来源:https://stackoverflow.com/questions/32743355/tableau-javascript-api-https-isnt-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!