function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Deepika GulatiDeepika Gulati 

error "java.net.SocketTimeoutException" when trying to Query Records on Task object

Hi,

 

I am getting this error "java.net.SocketTimeoutException" when trying to Query Records on Task object Exactly one minute after the Query was triggered.

Is this Related to Network issues or because of the Query getting timed out.

As accoding to API docs, Query takes 2 minutes to get timed out so not sure of the second cause.

Can any body please help in this.

 

Below are the error logs:

 

 [07-Jan-2013 04:00:07:825 INFO  GenerateFile main]  Going to fetch Task record from SFDC .....
[07-Jan-2013 04:00:07:825 INFO  QuerySFDC main]  Query string prepared : Select Name,Value__c from Merkle_Config__c
[07-Jan-2013 04:00:08:543 INFO  QuerySFDC main]  Query string prepared : Select  t.id,t.Primary_Reason__c, t.Primary_Disposition__c, t.OwnerId, t.CreatedDate, t.CallType, t.ANI__c ,t.WhoId,t.WhatId From Task t where  t.RecordType.Name in('CTI Inbound Record','CTI Outbound Record')  and (t.Primary_Disposition__c   != null and t.Primary_Disposition__c !='Order Started') and  t.What.Id  != null and t.Sent_to_Merkle__c=false  and t.CreatedDate=LAST_N_DAYS:7
[07-Jan-2013 04:00:42:466 INFO  QuerySFDC main]  Query string prepared : Select  t.id,t.Primary_Reason__c, t.Primary_Disposition__c, t.OwnerId, t.CreatedDate, t.CallType, t.ANI__c ,t.WhoId,t.WhatId From Task t where t.RecordType.Name in('CTI Inbound Record','CTI Outbound Record')  and (t.Primary_Disposition__c   != null and t.Primary_Disposition__c!='Order Started') and t.What.Id  = null and t.whoId !=null and t.Sent_to_Merkle__c=false  and t.CreatedDate=LAST_N_DAYS:7
[07-Jan-2013 04:01:43:076 ERROR EnterpriseSession main]  Exception in EnterpriseSession: query: RemoteException:-; nested exception is: 
 java.net.SocketTimeoutException: Read timed out
[07-Jan-2013 04:01:43:076 ERROR QuerySFDC main]  Failed to get Call__c from SFDC succesfully, the error message was: Error while creating binding soap service; nested exception is:
 java.net.SocketTimeoutException: Read timed out
[07-Jan-2013 04:01:43:076 ERROR GenerateFile main]  Failed to get Tasks from SFDC succesfully, the error message was: Error while creating binding soap service; nested exception is:
 java.net.SocketTimeoutException: Read timed out

 

 

Thanks