Skip to main content
blue snaggletooth10873542
Participating Frequently
August 29, 2012
Answered

CF10 Debugging IP Addresses not working. Any known issues?

  • August 29, 2012
  • 2 replies
  • 8880 views

I just installed CF10 on my company's Intranet and debugging output is displayed on the server (127.0.0.1).  I've gone to

and added my client PC IP but I don't get the robust errors.  I've tried all types of IPs to no avail.  I've also removed all IPs (which is supposed to give robust errors to all IPs) but that doesn't work either. 

Anyone know what I'm doing wrong?

Thanks for any help.

JOHN

This topic has been closed for replies.
Correct answer Miguel-F

Here is the error all client browsers receive when going to the same page as above:

I am running CF10 Standard Edition.  If you by chance have an instance of CF10 running, what happens when you turn on "Enable Robust Exception Information" for your end users?  Just curious if this is a bug with Standard Edition or if something is wrong with the load of the software on the server. 

Thanks again.

JOHN


Aha, so the users are getting the standard IIS error.  I might have the solution for you.  There is another setting in the CF administrator to have CF return http status codes for errors.  It is under the Server Settings > Settings section.  It's called "Enable HTTP status codes".  Do you have that option turned on?  What happens when you turn it off (do you now see the CF error)?

Turning this off may have other unwanted side effects for you.  Not sure but something to think about.  Like I said before, I believe it is still best practice to catch and handle all errors with your code rather than rely on this level of error catching.

2 replies

Participant
May 29, 2017

this page help me a lot !

God bless to you all.

Miguel-F
Inspiring
August 30, 2012

You are talking about two different things.  Are you wanting debug output or robust errors?  Those are two different settings in the ColdFusion administrator.

Under Debug Output Settings:

     There is a checkbox to "Enable Robust Exception Information" - this setting will make CF show robust information when an exception occurs (an error).  Do not turn this on for production servers.  You do not want to disclose all of that information to your visitors.

     There is also a checkbox to "Enable Request Debugging Output" - this setting will make CF show debug output to the ip addresses that are defined under the Debugging IP Addresses section.  Make sure you have at least one ip address assigned or else all of your visitors will see the debug information.  Also be careful if you surf through a proxy.  If the proxy address is assigned in the debug output all users surfing through the proxy will see the debug output.

blue snaggletooth10873542
Participating Frequently
August 30, 2012

Hey Miguel,

I've got 'Enable Robust Exception Information' checked but I still don't see robust error messages anywhere but the server itself even when I remove all IP addresses from the debugger settings.  Any more ideas or am I just thick? 

Thanks,

JOHN

Miguel-F
Inspiring
August 30, 2012

Again, it depends on what you are after.  The 'Enable Robust Exception Information' is only for when an error is thrown.  You will only see the "robust information" when an error happens.  Otherwise you would only see some general info that something happened.  The debuging ip addresses have nothing to do with the 'Enable Robust Exception Information' setting.

Below the 'Enable Robust Exception Information' setting is the 'Enable Debugging' setting (looks like they changed the name of this option in CF 10).  When checked, that is the setting that appends all of the debuging info to every requested page (only to the IPs listed on the other page).  Do you have the 'Enable Debugging' setting checked?  I'm not sure if changing that setting requires a restart or not.

See the documentation here: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea77859461172e0811cbec0d04c-7ffe.html