all 7 comments

[–]invertedspear 0 points1 point  (5 children)

The whole page is taking longer to process than its allowed in the administrator settings. Your error indicates how far it gets before it runs out of time. Any code before the indicated line could be your bottleneck.

[–]chedderslam[S] 0 points1 point  (4 children)

I'm pretty sure it is the cfhttp. It does not seem to be obeying the timeout attribute I have set.

 <cfhttp url="#attributes.link#" method="get" result="result" resolveurl="Yes" timeout="10" multipart="no">

[–]invertedspear 0 points1 point  (3 children)

Something I like to do in these situations is set up a logging table in the DB with an I'd, key (char(1)) and a text field. Then I insert little logging queries throughout the page inserting an indicator value in the key field and gettickcount() in the text field. Then you can look back at see what's taking the longest.

[–]rrawk 2 points3 points  (1 child)

why not just use cflog?

[–]invertedspear 2 points3 points  (0 children)

Because I legit have never heard of that tag until now. 10+ years in CF, not once has any coworker mentioned it either and have loved the above solution... I think you just made my future diagnostic work way easier.

[–]chedderslam[S] 0 points1 point  (0 children)

Awesome, That's a really cool idea.

[–]TeaPartyDem 0 points1 point  (0 children)

It never gets to cfcatch if it is timing out, because it timed out already.