Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tSalesforceInput_1 IOException: com.sforce.ws.ConnectionException: Failed to send request to https://<salesforce endpoint>

Hi I am  using a Talend Studio 7.1 (license version). And I have this requirement to access data from Saleforce Object (SOQL). Based on my research I can use t_SalesforceInput component. so I've tried creating one with t_SalesforceInput and tLogRow (Main connected). I've also set-up the t_SalesforceInput with the necessary details and was able to connect whenever I try to open the  "Module Name" field.

 

However, upon running the job, I am encountering this error.

 

"tSalesforceInput_1 IOException: com.sforce.ws.ConnectionException: Failed to send request to https://<salesforce endpoint>"

 

I've already exhausted all the articles about that error and I had no luck finding out the caused of the error to fix it. Can anyone help/assist me on this? Thank you

 

 

 

Labels (2)
10 Replies
TRF
Champion II
Champion II

The salesforce endpoint is probably wrong. Use login.salesforce.com for production only and test.salesforce.com for all other environments.
If you are aligned with this rule, can you share your component settings?
Anonymous
Not applicable
Author

Hi TRF,

 

I was actually able to access the objects in "Module Name". Is it still possible that I got the endpoint wrong? Also, I am not sure what you meant on "test.salesforce.com for all other environments." Is it literally to access that URL? or just to append somewhere in my Salesforce's URL?

TRF
Champion II
Champion II

Well, if you're able to access the object liste, your connection should be ok. Does the error occurs from the Studio or when running the job from the command line?
Sharing your settings will help to solve your case.
Anonymous
Not applicable
Author

I am getting the error right after I execute the job. I am afraid I cant share my settings since there are confidential items indicated in there.


 

TRF
Champion II
Champion II

Just make a screenshot and hide critical informations
Anonymous
Not applicable
Author

Hi TRF,

 

See attached screenshots. By the way, do you thing SSO might be the caused? currently our setup is single-sign on.0683p000009M8nc.png0683p000009M8nh.png

TRF
Champion II
Champion II

What's after the API version number (46.0)?

You should not have anything here.

Anonymous
Not applicable
Author

Hi TRF,

 

The whole URL indicated is from "Endpoint" information I got in the "session information" in workbench. I've actually tried removing that last part already but I am still getting the same error. By the way, my profile is set as single-sign on. Do you think this can be the cause of the issue?

Anonymous
Not applicable
Author

I am still encountering the issue and it is so frustrating