• AnzarCRM
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 7
    Replies

Hi,

 

When i make a call to an external web service from an apex class, i got the following error:

 

System.CalloutException: IO Exception: Read timed out 

 

The call works fine with the test environnement where the web service is exposed. However wiht their production environment, the error above is thrown. Is it a problem of mass data or security (proxy) ?

 

Could you help please ?

 

All the best,

 

Anzar.

Hi,

 

I'm developping a Talend job to create/update SFDC Task sObject from Talend, i use for this tSalesForceOutput component. I use an SFDC Dev Org, and i found that some task fields are read only. The field used as an external key to upsert Tasks is "CallObject" field.

 

When i try to create or update tasks with this key, then the Job fails with the errors below.

 

For information, when using the ID as a key, then i wrks. However for my Job, i dont' have the ID field, i need to use the CallObject as an external key.

 

Is it possible to change the visibility for some fileds like "CallObject", "Phone", etc.

 

Exception in component tSalesforceOutput_4
java.lang.Exception: com.salesforce.soap.partner.InvalidFieldFault: InvalidFieldFault
    at org.talend.salesforce.SforceManagementImpl.logout(SforceManagementImpl.java:368)
    at generali_vocalcom.job_update_retour_appel_0_1.JOB_UPDATE_RETOUR_APPEL.tFileInputDelimited_4Process(JOB_UPDATE_RETOUR_APPEL.java:5704)
    at generali_vocalcom.job_update_retour_appel_0_1.JOB_UPDATE_RETOUR_APPEL.runJobInTOS(JOB_UPDATE_RETOUR_APPEL.java:6582)
    at generali_vocalcom.job_update_retour_appel_0_1.JOB_UPDATE_RETOUR_APPEL.main(JOB_UPDATE_RETOUR_APPEL.java:6313)

 

Thanks for help.

Hi,

 

I'm unable to upsert sObject Task from a Talend Job. The CallObject Field used as a key to created/update Tasks is Read Only in SFDC DEV ORG. I'm asking whether the Org Dev is limited and i could not upsert tasks from Talend, Or there is a bug in talend component tSalesForceOuput ? i got the error below:

 

Exception in component tSalesforceOutput_4
java.lang.Exception: com.salesforce.soap.partner.InvalidFieldFault: InvalidFieldFault
    at org.talend.salesforce.SforceManagementImpl.logout(SforceManagementImpl.java:368)
    at generali_vocalcom.job_update_retour_appel_0_1.JOB_UPDATE_RETOUR_APPEL.tFileInputDelimited_4Process(JOB_UPDATE_RETOUR_APPEL.java:5704)
    at generali_vocalcom.job_update_retour_appel_0_1.JOB_UPDATE_RETOUR_APPEL.runJobInTOS(JOB_UPDATE_RETOUR_APPEL.java:6582)
    at generali_vocalcom.job_update_retour_appel_0_1.JOB_UPDATE_RETOUR_APPEL.main(JOB_UPDATE_RETOUR_APPEL.java:6313)

 

 

Attached an image for the component used to update task sObject.

 

All the best

I have created a trigger which is calling an external web service to synchronize the leads creation/deletion process. When i delete/create leads the web service is working fine but when i mass upload it(mass import process..) or mass delete process (when it reaches its max limit..i.e. 250) it throws an exception and an error mail is generated with this error "System.CalloutException: IO Exception: Read timed out" error. I have also added the timeout_x property in my code to the max value(60000). But still its throwing the same error. Kindly help. Thanks in advance. Shaveta

I have a webservice it runs fine, but it takes a while to get a response because it loads lots of data.

when it callout from an apex class from salesforce, it always return : System.CalloutException: IO Exception: Read timed out.

 

Is there a property to set the time out period of the salesforce?

How do we address this problem?

  • March 18, 2009
  • Like
  • 0