Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFHTTP Connection Timeout - only ColdFusion sites on same server

Explorer ,
Feb 08, 2011 Feb 08, 2011

Hello!

I have a new issue that developed seemingly overnight.

I started receivng site errors this morning on CF pages that are using the <cfhttp > tag. After some testing here are the points of interest I've nailed down:

  1. happens on both POST and GET requests
  2. error from email: "The request has exceeded the allowable time limit Tag: cfhttp"
  3. only throwing this error when requesting other coldfusion pages (whether on the same site or another site).
  4. only throwing the error on ColdFusion pages ON THE SAME WEB SERVER (we have one main web server hosting both PHP and CF sites).
  5. I can load .txt, .xml, .html and .php pages without any problems or errors
  6. I can load .cfm pages from other sites on the web
  7. The pages I'm requesting when this error is thrown ARE being processed. One example is a page that updates an RSS feed with the posted data. That file is updating correctly, even when the error is thrown.
  8. Having had DNS related issues with CF before, specifically with scheduled tasks, I manually ran a few that would fall under the "on server" category. They work fine. This problem seems to be isolated to the <cfhttp> tag

Anyone else having this problem?

Any ideas?

Many thanks!

TOPICS
Advanced techniques
2.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 09, 2011 Feb 09, 2011
I have a new issue that developed seemingly overnight.

I started receivng site errors this morning

Right.  So what changed last night?  Don't say "nothing", because something clearly did.  That'll be what's causing it 😉

If you put a CFLOG entry as the very last thing in your onRequestEnd handler, does it get run?

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 09, 2011 Feb 09, 2011

Ha! I wouldn't be so ignorant!

We restarted Cold Fusion on the afternoon prior to this issue.

As far as I know, NOTHING CHANGED.

Reviewing the logs now, let's see.

Ah Ha! Here's a potential culprit!

From the server log, during the restart:

"Installed JSafe JCE provider: Version 3.6 RSA Security Inc. Crypto-J JCE Security Provider (implements RSA, DSA, Diffie-Hellman, AES, DES, Triple DES, DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512)"

This would seem to be the cause, now how to go about remedying the situation?

Anyone else run into this yet???

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 09, 2011 Feb 09, 2011

I'm sorry, I've left out important details.

We are running ColdFusion 8, (8,0,1,195765)

Enterprise Edition, On Windows

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 09, 2011 Feb 09, 2011

Added a CFLOG tag both before AND after the cfhttp tag.

Both record in the application log.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 09, 2011 Feb 09, 2011
LATEST

Ok, I reviewed the logs closer and found that the Jsafe install log is present in the last 4 restarts of the CF server.

So, I restarted AGAIN and now my problem has gone away.

I would love some insight from the CF gurus on this, but as of now am content to have my pages processing properly!

Hope this post helps someone down the road!!

bh

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources