You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are indexing data from multiple Tableau instances as a service provider integrating with Tableau.
We observed flaky requests on some instances:
2024-11-01T08:42:57.565777616Z stderr F INFO 2024-11-01 08:42:57,565 server 14 140490986871680 Could not get version info from server: <class 'tableauserverclient.server.endpoint.exceptions.InternalServerError'>
2024-11-01T08:42:57.565846529Z stderr F
2024-11-01T08:42:57.565851784Z stderr F Internal error 504 at https://XXXX/selectstar/api/2.4/serverInfo
2024-11-01T08:42:57.565860665Z stderr F b'<html>\r\n<head><title>504 Gateway Time-out</title></head>\r\n<body>\r\n<center><h1>504 Gateway Time-out</h1></center>\r\n<hr><center>nginx/1.25.3</center>\r\n</body>\r\n</html>\r\n'
2024-11-01T08:42:57.566048361Z stderr F INFO 2024-11-01 08:42:57,565 server 14 140490986871680 versions: None, 2.4
We observed that the request in use_server_version does not apply retry with exponential backoff, which is a good practice in such scenarios. There is no easy way to implement it, as this is implicit call in __init__.
Versions
Details of your environment, including:
Tableau Server version (or note if using Tableau Online)
Python version
TSC library version
To Reproduce
Steps to reproduce the behavior. Please include a code snippet where possible.
Describe the bug
We are indexing data from multiple Tableau instances as a service provider integrating with Tableau.
We observed flaky requests on some instances:
We observed that the request in
use_server_version
does not apply retry with exponential backoff, which is a good practice in such scenarios. There is no easy way to implement it, as this is implicit call in__init__
.Versions
Details of your environment, including:
To Reproduce
Steps to reproduce the behavior. Please include a code snippet where possible.
That issue is transistent.
1/ Initalize SDK:
2/ Ensure that network connectivity to Tableau is unreliable and may drop connection.
Results
What are the results or error messages received?
See exception above.
The text was updated successfully, but these errors were encountered: