tableau / server-client-python

A Python library for the Tableau Server REST API
https://tableau.github.io/server-client-python/
MIT License
657 stars 422 forks source link

Regarding SSL connection with datasource #706

Open kshitiz12345 opened 4 years ago

kshitiz12345 commented 4 years ago

Hi,

I am trying to publish tableau workbooks using Python library and using MySql DB as datasource. I am facing the following issue:- 403007: Forbidden Workbook failed to establish a connection to your datasource.

I think its because my DB is on SSL and expects certificate provided by the client while making connection. It looks like there is no property in ConnectionItem where we can specify certificate and enable SSL connection. Is there a way to specify it? Or the issue can be because of another reason?

Would appreciate any help !

raksingh commented 3 years ago

No sure if you resolved your issue, but I used the information below to resolve my SSL connection issues. https://community.tableau.com/s/question/0D54T00000F33bdSAB/tableauserverclient-signin-with-ssl-certificate

In my case: tableauServer.add_http_options({'verify': False})