IP Address?

Mark R.

Posted on
May 13 2015

Hi,

I'm not seeing a client IP address associated with any of my Raygun crash reports.

Do I need to take specific steps in order to have this information reported?

I'm using the .NET Raygun client.

Regards,

Mark R.


Jamie Penney

Posted on
May 22 2015

Hi Mark,

What environment are you using Raygun in? For the regular Raygun4Net client, we only show the IP address if we can get the current HttpRequest from HttpContext.Current (see here: https://github.com/MindscapeHQ/raygun4net/blob/master/Mindscape.Raygun4Net/RaygunClient.cs#L332). If there is no HttpContext, we can't get any request information.

Things are a little different in the WebApi client, but it doesn't look like you're using that. Is there a particular error that is supposed to have Request information populated on it?

Best Regards,
Jamie


Reply