tracker issue : CF-4204279

select a category, or use search below
(searches all categories and all time range)

Tasks appear to be timing out despite hard-coded request timeout in template file

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Eric B. / ()

Created: 04/30/2019

Components: Scheduler

Versions: 11.0

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: 11,0,18,314030 /

Priority/Frequency: Normal / Some users will encounter

Locale/System: English / Win 2012 Server x64

Vote Count: 0

Problem Description:
I have a few tasks that run longer than the default timeout set in "Settings" in CF Administrator. If I add a value to "Timeout" field that is greater than that default value for a Scheduled Task, the task still times out at the default value. If I add <cfsetting requesttimeout="" /> with a value greater than the default, the task still times out at the default value.

Steps to Reproduce:
1. Log in to CF Administrator.
2. Go to "Settings"
3. Enter "10" "Timeout Requests after seconds" and submit the form.
4. Go to "Scheduled Tasks"
5. Create a new Task that calls a page with the following code:

<cfsetting requesttimeout="15" />
<cfloop condition="1 EQ 1">

6. Run the task.
7. Check the scheduler.log file.

Actual Result:

scheduler.log file shows:
"Information","DefaultQuartzScheduler_Worker-3","04/30/19","15:06:29",,"Task default.Timeout Test triggered."
"Error","DefaultQuartzScheduler_Worker-3","04/30/19","15:06:40",,"The request has exceeded the allowable time limit Tag: cfhttp "
(timed out after 10 seconds)

Expected Result:

Task should run up to 15 seconds.

Any Workarounds:




I must have missed something. I thought I tested this thoroughly before submitting. My example DOES work, even if my proprietary app does not. You can close this ticket.
Comment by Eric B.
30673 | April 30, 2019 07:24:10 PM GMT
Thanks for your confirmatrin Eric. Closing the ticket. Regards, Suchika
Comment by Suchika S.
30685 | May 03, 2019 07:22:10 AM GMT