Jump to content

Logging Request: verbose connection errors


Recommended Posts

Request: Add ip and port to connection refused exceptions logging, by default.

 

The current stacktraces given in errors are often not very informative, like:

 

04/26/2011 08:08:29<--->System<>System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused

at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in <filename unknown>:0.

etc.

 

Right now we need to trace system calls ourselves just to figure out what's going on.

Link to comment
Share on other sites

I think it would have to be a debug build to get the full stack trace.

 

You can only do this for the website. In ControlPanel\Linux.config find and change:

compilation debug="false"

To:

compilation debug="true"

 

Save and restart the monitor. You will get full stack trace if the error occurs in the web code.

 

In TCAdminMonitor.exe.config you can change TCAdmin.Debug to true and restart the monitor. You will get more messages in the console so you can troubleshoot.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 247 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use