Questions tagged [timeout]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
19 views

How to clear and start timer in lightning component with button click?

I have a scenario where i need to clear the time interval with a button click and start the time interval with another click. Right now when the page loads(refreshNotifications), the time interval ...
3
votes
1answer
86 views

Scratch Org Limit Exceeded, Not Visible In Dev Hub

Today, while trying to deploy a fresh scratch org, I received a familiar error. The signup request failed because this organization has reached its active scratch org limit Typically the way to ...
0
votes
1answer
21 views

Credibility of data when getting time out error in an update

If my query is updating a data extension and gives a time out error, does the destination data extension suffer any changes to its data or is it exactly the same as before running the activity? ...
2
votes
1answer
45 views

SAML - Triggering Single Logout (SLO) when session times out at the identity provider

Let's say I have Saleforce set up as an Identity Provider with a session timeout of 15 minutes. I set up a connected app with SAML and SLO. I use SSO to access a connected app and start working only ...
8
votes
1answer
106 views

6 minute delay in a Visualforce response in Spring ‘20 Sandbox Preview orgs

We have one managed package Visualforce UI <apex:commandButton .../> timing out only in Spring ‘20 Sandbox Preview orgs. The tail end of the log looks like this: 11:42:28.5 (1587639757)|...
0
votes
2answers
72 views

Make a delay to a dynamic search (onchange) when sending data to apex (Lightning)

I have a <lightning:input> which I send to the server the value inside it when it changes to search and return the closest results. I tried to do the following : CMP - look at the lightning:...
1
vote
4answers
160 views

Apex CPU time limit exceeded error in trigger

I have a trigger on lead after insert that query all accounts and all contacts created the past 30 days to compare 4 fields (external id and legal number on accounts / mobile and email on contacts) ...
0
votes
2answers
149 views

“Cannot read property 'setCallback' of undefined” in “window.setTimeout”

I'm trying to call a function every 10 seconds. But I'm getting this error: Uncaught Error in $A.getCallback() [Cannot read property 'setCallback' of undefined]. What is wrong? doGet : function(...
3
votes
1answer
151 views

Read Time Out - First HTTP request - rest

Http request using restAPI : public static String sendFormHttp(Opportunity opportunity, List<Easy_Send_Form_Mapping__mdt> mappingList, Map<String, String> systemVariableMap){ ...
0
votes
1answer
35 views

Is there a way to specify a max timeout for a test?

I'm trying to write a test around an infinite-loop bug in my Apex code. I'd love to be basically code something that runs a test for a maximum of X seconds and then asserts a false result if the ...
1
vote
1answer
54 views

What would cause a standard object to load slowly?

I'm working in a sandbox(salesforce classic layout) where opening an Opportunity record would sometimes hit the time limit(2 minutes). I'm trying to figure out why that's happening. I've never seen ...
0
votes
1answer
270 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
58 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
47 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
1k 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
2answers
257 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
834 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
2answers
1k 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 ...
1
vote
0answers
292 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
1answer
276 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 ...
3
votes
1answer
9k 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
119 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
111 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
65 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
980 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
472 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
116 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
210 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
275 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
3k 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
517 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
734 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
2answers
450 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 ...
25
votes
3answers
1k 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
1k 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/...
10
votes
2answers
8k 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: ...
2
votes
1answer
913 views

How to control the Timeout for Enterprise WSDL for Salesforce integration

How to control the Timeout for Enterprise WSDL for Salesforce integration.
2
votes
2answers
857 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
694 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 ...
2
votes
1answer
407 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
176 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
151 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
2k 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
80 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 ...
3
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
129 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
191 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 ...
4
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 ...