I am trying to connect Talend to Salesforce by using tSalesForceConnection component with my salesforce playground credentials.
And i always get the error message as :
connecting to socket on port 3372
Exception in component tSalesforceConnection_1
java.lang.RuntimeException: com.sforce.ws.ConnectionException: Failed to send request to https://www.salesforce.com/services/Soap/u/37.0
[FATAL]: local_project.test_salesforce_connection_0_1.Test_Salesforce_connection - tSalesforceConnection_1 com.sforce.ws.ConnectionException: Failed to send request to https://www.salesforce.com/services/Soap/u/37.0
I am able to access salesforce.com with the same credentials in a browser but not in Talend.
I would really appreciate any help with this.
Solved! Go to Solution.
Are you try to connect to a production or a sandbox environment?
If trying to a sandbox, change the Salesforce URL to "https://test.salesforce.com/services/Soap/u/38.0".
Hope this helps.
Does this error arrives immediately or do you have to wait for some seconds before?
Do you have configured any proxy to touch Salesforce (using tSetProxy) or not?
Are you sure about the version (37 or 38)?
Else, can you share the job?
It takes few seconds to throw this error.
And I haven't done any proxy settings with tSetproxy. Do I have to do that ?
But I tried the same job from my colleagues system and it just connected
without any proxy settings in DI 6.3.1
I am not sure what is the exact solution though.
Hi Vishwa04 , I am facing similar issue . Where in the windows services , I can find out this setting?
I am facing similar issue . Where in the windows services , I can find out this setting?
I am facing the same issue in production server. Please let me know where exactly in Windows services we need to disable the access to cloud service?
And are you using context mode in your connection also when create a salesforce connection?
I tried with both context and metadata salesforce connection . But still no luck.
Can you successfully connect to your salesforce through data loader without using talend tool?
Thank You for your reply.
I checked the below options suggested by TRF.
- connect using DataLoader - It's not connecting from data loader(same error) .This connection is working from other servers.
- https://login.salesforce.com for production connection - From Salesforce browser with same credentials it's working
- https://test.salesforce.com for sandbox connection - From Salesforce browser with same credentials it's working
- tSetProxy if any proxy before to go to the internet - Tried this but getting but getting a java error.
Could you please suggest me any alternate solutions?