KNOWLEDGE BASE

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


Published: 10 May 2016
Last Modified Date: 21 Oct 2016

Issue

When creating a Salesforce data extract, the following error message might occur:

Internet communication error: Failure when receiving data from the peer - Unable to create extract

Environment

  • Tableau Desktop 9.2.8, 9.3.2 and earlier versions
  • Salesforce

Resolution

Option 1

Upgrade to Tableau Desktop 9.2.9, 9.3.3 or a newer version. For more information, see Upgrading Tableau Desktop.

Option 2

As a workaround,  use a .tdc file to increase the buffer size of the Salesforce connection:
  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='9.2'>
      <vendor name='salesforce' />
      <driver name='salesforce' />
           <customizations>
              <!-- The valid value is between 32 to 1024 -->
              <customization name='sf-total-requestor-buffer-size-in-mb' value='32' />
           </customizations>
    </connection-customization>
    
  3. Save the file with a .tdc extension -- for example, salesforce.tdc -- and place it in your My Tableau Repository folder.
Note: TDC files require careful hand editing, and are outside the scope of what Tableau Support can assist you with.

Cause

This behavior is related to a known issue which has been corrected in more recent versions.
Did this article resolve the issue?