Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Talend 6.0.1 tSalesforceInput error Failed to read POST

Hi,
I am currently using Talend 5.6.1
I wanted to change to TOS DI 6.0.1 (Windows 7, 64b, java 7)  but I cannot use soap compression in the tSalesforceInput components.
I have the error below:
I have seen this Jira ticket .  However, even after I replaced the salesforceCRMManagement jar file with the one in TOS 5.6.1, the job is still not working.
Please help me in solving this issue. Thanks !

Exception in component tSalesforceInput_1
com.salesforce.soap.partner.UnexpectedErrorFault: UNKNOWN_EXCEPTION: Failed to read POST: The Content-Encoding of the message specifices GZIP, but the data is not in valid GZIP format. Content-Encoding: gzip
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.salesforce.soap.partner.SforceServiceStub.login(SforceServiceStub.java:13386)
    at org.talend.salesforce.SforceBasicConnection.renewSession(SforceBasicConnection.java:77)
    at org.talend.salesforce.SforceBasicConnection.init(SforceBasicConnection.java:71)
    at org.talend.salesforce.SforceBasicConnection.<init>(SforceBasicConnection.java:49)
    at org.talend.salesforce.SforceBasicConnection.<init>(SforceBasicConnection.java:25)
    at org.talend.salesforce.SforceBasicConnection$Builder.build(SforceBasicConnection.java:125)
Labels (5)
6 Replies
Anonymous
Not applicable

The link to the JIRA went missing. Can you repost?
Can you also provide an example for you use?
Anonymous
Not applicable

We found the issue. See TDI-34143.
For now use a tSalesforceConnection with the input and make sure that chunked is set to true together with compression.
_AnonymousUser
Specialist III
Specialist III
Author

Hi,
Thanks for your advice.
However, this won't fix my problems. 
In the tSalesforceConnection, "Output Http Trace Message" can be set to true only if I set to true "For salesforce bulk component"
Unfortunately bulk query is slower than the Query mode and this is a disadvantage for me. 
Also tSalesforceUpdated component cannot support the bulk query. 
Is there another way to set the Http Chunked to true?
Anonymous
Not applicable

Hello Stein,
I'm also facing the same sort of issue in connecting with tSalesforce components.  It throws me the error as follows,
>>>
Exception in component tSalesforceInput_2
org.apache.axis2.AxisFault: www.salesforce.com
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:197)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at ...
<<<
I have tried both true and false on Http chunked.  Please let me know what was the way to run my job to get connected with SF and to fetch the data?

0683p000009MBtJ.png
Anonymous
Not applicable

Hi Upendra1630,
Can you successfully connect to your Salesforce without using Talend Tool? Have you tried to set Salesforce connection in metadata to see if it works?
Here is the document about: TalendHelpCenter0683p000009M9p6.pngupported systems databases and business applications by Talend components.
Salesforce:V34 and earlier
Best regards
Sabrina
Anonymous
Not applicable

Hi Sabrina,
I'm using 19.0 API (Version) not more than 32.0.  Kindly request you to help me out on this!!
To avoid confusion, please help to respond in the following link (same discussion under different topic)
https://www.talendforge.org/forum/viewtopic.php?pid=177103#p177103