Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [timeout]

The tag has no usage guidance.

0
votes
1answer
35 views

Do automations have a time limit where they crash?

I am uncertain if this question was asked somewhere but atleast I did not find a post that covers it within a few minutes of searching on documentation and stackexchange. Closest question I found Do ...
0
votes
0answers
26 views

Session timeout and session valid discrepancy

I have salesforce on a TV as a Dashboard and right now I'm having troubles with the session. I set my configuration for 24 hours timeout on Session Settings, for the whole org, but if I log and look ...
1
vote
0answers
31 views

Query timeouts for community users after Winter 19 update

We have a Customer Community with a custom Visualforce application that we built. After Winter '19 update on our production instance over the weekend, some of our query functions are timing out or ...
0
votes
1answer
361 views

Turn off request timeouts for Node.js

I have developed a web app. After the user makes a POST, some processing starts which takes some time. When the function ends, a response is served to the client. Meanwhile, when the POST happens, the ...
2
votes
1answer
114 views

Optimizing SQL queries

I've set up an automation that resends an altered version of a mail to all who recieved it the first time it was sent, but didn't open it. This is done in Automation Studio using 3 SQL Query and a ...
1
vote
1answer
311 views

First error: Exceeded maximum time allotted for callout (120000 ms)

I have a Batch class making an API callout and I have scheduled this class. I have used a for loop to iterate through the page number variable in my API endpoint. There are 64 pages. Strangely, if I ...
0
votes
0answers
116 views

Salesforce REST API fails on download of a large file

Salesforce shuts down the connection when downloading a large (500+ Mb) file according to Rest API - Download times out without any errors Who should call Salesforce in order to extend the timeout ...
0
votes
2answers
487 views

How to stop Read Timed Out

So I have run a apex class that makes a callout to a external application. So I triggered the callout in SFDC and I have gotten hundreds of System Exception Read Timed Out emails. I have went to ...
0
votes
0answers
124 views

Outbound Messages java.net.SocketTimeoutException: Read timed out

I am getting a lot of java.net.SocketTimeoutException: Read timed out with my Workflow Outbound Messages It looks like remote server (Node.JS express) works to slow and salesforce breaks connection ...
0
votes
0answers
41 views

How do I handle a timeout which makes a callback fail?

I have a number of callbacks that are functioning fine. I have yet to really implement any error handling. I do have a simple one that works to bubble up javascript errors. The situation I'm most ...
0
votes
1answer
130 views

Query time out issue which is intermittent

The below query runs successfully sometimes but fails with a query time out issue Fault code [QUERY_TIMEOUT]. Reason [Your query request was running for too long.]. sometimes. Is using an IN clause ...
2
votes
1answer
4k views

What is the default timeout for httpRequest?

What is the default timeout for httpRequest. I have gone through this doc . But could not find the default timeout. public class HttpCallout{ @Future(callout=true) public static void ...
0
votes
1answer
69 views

Add 2 Different Times and Return value in time(Formulae field) in HH:MM format

I need results of two fields of type text in time format to be the same time format and then the result has to be time of HH:MM format aswell text in formulae field
0
votes
2answers
65 views

Consistent AsyncQuery timeout

I have several large queries that I expect will return 50K+ records, but i seem to get consistent timeouts. I changed my query to SORT BY Id, as recommended in some posts, this worked for a while but ...
1
vote
1answer
55 views

Is the query on object history slower than the query on the object itself?

The object which has the history tracking enabled in my organization is being modified 3 to 4 times a day, so we end up with 112 history records per month. I have a page that queries the history and ...
0
votes
0answers
918 views

Identifying records via Batch Apex timing out. REQUEST_RUNNING_TOO_LONG

I'm trying to identify task records in a production org. The problem is that the data volume is too large to create a report or one-off SOQL Task records. Our task records are huge and are in ...
0
votes
1answer
364 views

system.limitexception apex cpu time limit exceeded

When I use the Mass Transfer (Account) tool I am encountering the error message in the subject line regarding the following Trigger. Is this a issue where this trigger is not bulkified and is causing ...
0
votes
1answer
104 views

Managed Package - View Components - View Dependencies

Trying to figure out how I'm going to track what changes in each installation of a managed package in Salesforce (in this case, Rootstock, but also possibly Financial Force). Not necessarily Apex ...
0
votes
1answer
172 views

Query timeout from multiple LEFT JOINS

I'm in need of some query help. I'm currently trying to Join multiple tables on Salesforce Marketing Cloud but it keeps timingout. Each table has a field called "SubscriberKey" and "EventDate" for ...
2
votes
0answers
179 views

Rest API - Download times out without any errors

I am downloading ContentVersions through Salesforce using Rest API. I have submitted several file requests and downloaded. After downloading, an observation was that the ContentSize field in ...
5
votes
1answer
2k views

Session expiry in Salesforce - Session timeout value for Connected Apps

I am using OAUth authentication through connected apps. How can I get session timeout value(access token expiry time) as part of response during user authentication. I am expecting "expires_in" ...
1
vote
1answer
364 views

Event object SOQL queries timeout

I am attempting to pull data from SF and replicate it into a database for analytics. I have been running into a problem with the Event object. I included a subset of the desired query below, with a ...
0
votes
0answers
590 views

how to overcome 120 sec timeout in JS remoting

i did try below solution, Visualforce.remoting.timeout = 120000; I am still getting the timeout issue. The remote method is hardly 40 lines code and is optimized also i am not making callouts in ...
1
vote
1answer
376 views

CPU Timeout limit exceeded exception caused for existing working code after SF upgraded to Summer'16,. Any idea if anything updated in Summer'16

I have a code which was working for my previous packages. But after the Summer'16 release I am getting the CPU timeout exception for my codebase which was working earlier. Is there any thing update ...
21
votes
3answers
775 views

Batch start CPU timeout - What influences start() post-processing?

We're experiencing a very annoying issue with a Batch job processing "Large Data Volume" (1.5M records over a table containing 4.5M records). Our batch start method last statement is: return Database....
1
vote
2answers
803 views

How to disabe API user session timeout?

I have currently developed a Java API client that connect against the Salesforce instance of my company. Using the following tutorial: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/...
8
votes
2answers
6k views

Exception: QUERY_TIMEOUT Your query request was running for too long

Querying on approx 25 million contacts using the following query in database.getQueryLocator. Used Query Resource Feedback (Link) to get some feedback about query and here are the results. Query - 1: ...
1
vote
1answer
623 views

How to control the Timeout for Enterprise WSDL for Salesforce integration

How to control the Timeout for Enterprise WSDL for Salesforce integration.
1
vote
2answers
598 views

Is it possible to set a session time out for a specific user?

My question is simple Is it possible to set a session time out for a specific user in salesforce? Not a profile ,not a permission set but a specific user.. Thanks in advance
1
vote
0answers
589 views

List view time limit exceeded error

When I try to load an account list view it is giving me a time exceeded error. The list view need to return only 50 records, I tried it out using SOQL in dev console. So I don' think it is an data ...
3
votes
1answer
346 views

How to poll data without resetting the session clock

I have a scenario where I'd like to poll Salesforce for data via Visualforce Remote Action, but according to this answer, Remote Actions count as activity and cause the session timeout countdown to ...
1
vote
1answer
129 views

FuelSDK SentEvent Timeouts

I read another post here that said if you are getting a timeout then extend the timeout property in the ET_Client.cs file. I searched for timeout in that file but found nothing. Anyone know where I ...
5
votes
3answers
134 views

Tests fail with CPU timeout - but only in Patch orgs

This seems to be something new. Maybe a change in Salesforce.com server infrastructure. I am unable to upload patches of my product as some of its tests (run forever and then) fail with CPU Timeout ...
2
votes
2answers
1k views

My soql select is timedout sometimes

I have a soql query inside my apex class : SELECT Id, Name, account.name, Special_food_requirements__c,Passport_number__c,account.Relationship__c,Function__c FROM Contact ...
1
vote
0answers
42 views

Apex CALLOUT_REQUEST is failing with System.CalloutException: Read timed out [duplicate]

Our endpoint is an https request. |CALLOUT_REQUEST|[217]|System.HttpRequest[Endpoint=https:[intentionally left off] The logs show: |EXCEPTION_THROWN|[217]|System.CalloutException: Read timed ...
2
votes
1answer
1k views

Internal Salesforce.com Error in a Query inside a Batch

Problem i'm having an issue in a Batch Process. It's have been working properly since January, but in the last days i'm getting an Internal SalesForce Error. The error line is inside a Query which is ...
2
votes
1answer
124 views

Apex CPU time limit exceeded on running on lists until empty

I am trying to upload documents through Queueable Apex. My intention is to complete all the callouts and then run the logout request to a third party server. I ran into an issue with the exception '...
1
vote
0answers
179 views

Customize Salesforce session timeout popup page

Is it possible to customize salesforce session timeout page to include time remaining to continue session and add a logo by nullifying the salesforce default logo. I have searched on this topic but ...
1
vote
1answer
1k views

Close pop up and refresh parent page javascript [closed]

So what i want to do is close pop up and refresh parent but after few seconds delay to make sure all data is received. currently i have the following function closeAndRefresh(){ setTimeout(...
0
votes
1answer
2k views

Session Timeout Not Redirecting to Login Page on Expiration

I am having some issues with Session Timeouts not redirecting Community users to the login page as defined in the session setting. According to Salesforce definition of the setting, it is to expire ...
3
votes
1answer
2k views

How to solve “First error: connection was cancelled here” error in batch apex [closed]

I have a batch apex class that makes an http (GET) callout to external api from salesforce. It returns x number of JSON objects which are decoded to create lists of cases but the dml upon insert never ...
1
vote
2answers
496 views

“Time Limit Exceeded” error only when generating PDF, but not when VF page is displayed

I have a Visualforce Page, that renders as PDF - conditionally. So from one button it shows as simple Visualforce page, and from another button (somewhere else in the app) it renders it as PDF. The ...
3
votes
2answers
728 views

Why is this SOQL query not selective?

We have following query in our code and its giving timeout error. Select email, firstname, lastname, id From contact Where Email != Null And Opted_Out__c = false And id IN (Select contactid From ...
2
votes
0answers
506 views

Salesforce connection timeout when sending attachments via 3rd party integration platform

I'm trying to create attachments in Salesforce using a 3rd party integration platform (Boomi). The Boomi timeout has been increased to 10 minutes, but the Salesforce connection times out after 2 ...
2
votes
3answers
605 views

Salesforce large relationship (inner) query

I have a task to perform a fairly large and specific data removal. The goal is to remove all EmailMessage objects that have a parent Case record whose status is closed, from BEFORE a certain date. ...
1
vote
2answers
727 views

What's the best way to delete lots of records via the API?

I have a custom object set up and a scheduled task each night which needs to delete all the existing records and insert a load of new ones. It has been running fine for a while but now we have more ...
6
votes
1answer
510 views

Difference between time limit and cpu time limit exceptions?

I have a huge process running, but I haven't used nested loops anywhere. I have a process which iterates 12,000 records. I was paginating this 12000 record list as smaller pages( I know its wrong) I ...
3
votes
1answer
6k views

How to set timeout for web service call

I want to call out my web service after the insert process of a custom object with a delay of 2 minutes. But i am getting that exception FATAL_ERROR|System.CalloutException: Read timed out How can i ...
2
votes
1answer
1k views

Timeout for soql in sandbox

I am trying to run a few queries on the Event object.But the queries time out. Querying the same in Full copy sandbox seems to be okay. But the time out happens in Production only. What could be the ...
8
votes
2answers
2k views

Apex CPU Time limit in Batch start() - is this a Query Timeout and how to cope with?

I have a Batch iterating over a large amount of records (with many fields) and 2 of their related child records. The start() method uses Dynamic SOQL to fetch them via QueryLocator to vary which ...