-
Notifications
You must be signed in to change notification settings - Fork 447
Description
I have a set of workbooks and data-sources that i can publish to one server with no issues. Then when I try to publish to another server one of the workbooks always triggers the following error message:
Traceback (most recent call last):
File "migrate_local_workbooks.py", line 183, in
main()
File "migrate_local_workbooks.py", line 148, in main
new_workbook, wb, mode=TSC.Server.PublishMode.Overwrite,connection_credentials=new_connection)
File "/tableau-migration/tableauserverclient/server/endpoint/endpoint.py", line 110, in wrapper
return func(self, *args, **kwargs)
File "/tableauserverclient/server/endpoint/workbooks_endpoint.py", line 189, in publish
server_response = self.post_request(url, xml_request, content_type)
File "/tableauserverclient/server/endpoint/endpoint.py", line 80, in post_request
content_type=content_type)
File "/tableauserverclient/server/endpoint/endpoint.py", line 43, in _make_request
server_response = method(url, **parameters)
File "/tableau-migration/requests/sessions.py", line 555, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/tableau-migration/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File /tableau-migration/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/tableau-migration/requests/adapters.py", line 493, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', error(104, 'Connection reset by peer'))
Now, the workbook does eventually show up on the server, but this error will cause my python publishing script to fail. Any help would be appreciated. One of the only differences I can think of is the second server has SSL enabled whereas the first one does not.
Thanks.