Tableau Server Error "Internet communication error: Failure when receiving data from the peer" Refreshing a Salesforce Extract

Published: 12 Jun 2017
Last Modified Date: 08 Jan 2020


When trying to refresh a Salesforce extract on Tableau Server, the following error may occur:
com.tableausoftware.nativeapi.dll.TableauException: Internet communication error: Failure when receiving data from the peer


  • Tableau Server 10.1.5, 10.2.1
  • Salesforce


Use a .tdc file to increase the buffer size of the Salesforce connection. This will affect ALL Salesforce connections made on Tableau Server:
1. Open a new document in a text editor.
2. Enter information similar to the following:
<?xml version='1.0' encoding='utf-8' ?>
<connection-customization class='salesforce' enabled='true' version='10.2'>
<vendor name='salesforce' />
<driver name='salesforce' />
<!-- The valid value is between 32 to 1024 -->
<customization name='sf-total-requestor-buffer-size-in-mb' value='1024' />
Version = The highest version of Tableau the .tdc file will be applied to. For example, if version is set to '10.1' in the .tdc file, a Salesforce connection established on Tableau Server version 10.2 will not have the customizations applied. However, a connection established in Tableau Server version 10.0 will, since the version is less than the version specified in the .tdc file.
3. Save the file with a .tdc extension -- for example, salesforce.tdc -- and place it in one of the following locations:
Place the .tdc file in the bin folder:
C:\Program Files\Tableau\Tableau Server\[version]\bin
For distributed environments, place in the bin folder under worker
C:\Program Files\Tableau\Tableau Server\worker.1\bin
Or in the vizqlserver\Datasources folder:
C:\ProgramData\Tableau\Tableau Server\data\tabsvc\vizqlserver\Datasources



This is issue is under investigation with Tableau Development.

Additional Information

Important: Tableau does not test or support TDC files. These files should be used as a tool to explore or occasionally address issues with your data connection. Creating and maintaining TDC files requires careful manual editing, and there is no support for sharing these files.
  • A .tdc file must be placed on each computer running vizqlserver or backgrounder (if applicable for extract refreshes).
  • The bin directory is checked first, and then the Datasources directory.
  • A .tdc file in the Datasources directory will override one in the bin directory.
  • A backup does not back up .tdc files.
  • A restore deletes existing .tdc files.
  • A .tdc file in the bin folder will not be retained across an upgrade because the bin directory is removed during uninstall.
  • A .tdc file in the Datasources folder will not be retained across upgrades because a restore is part of the upgrade process.

Discuss this article... Feedback Forum
Did this article resolve the issue?