We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenTelemetry.Instrumentation.AspNetCore - v1.0.0-rc9.3
Runtime version: net6.0
net6.0
NullReferernceException thrown when HttpContext.Connection.RemoteIpAddress is null due to a .toString() call in HttpInListener.AddGrpcAttributes
NullReferernceException
HttpContext.Connection.RemoteIpAddress
null
.toString()
HttpInListener.AddGrpcAttributes
What is the expected behavior?
The AttributeNetPeerIp should not be added to the activity when the RemoteIpAddress property is NULL
AttributeNetPeerIp
RemoteIpAddress
What is the actual behavior?
Unhandled NullReferenceException
NullReferenceException
See RemoteIpAddress documentation indicating the property can be null.
The text was updated successfully, but these errors were encountered:
I will work on this and submit PR later.
Sorry, something went wrong.
I will work on this and submit PR later. Since I changed my account and deleted the before one.
Successfully merging a pull request may close this issue.
Bug Report
OpenTelemetry.Instrumentation.AspNetCore - v1.0.0-rc9.3
Runtime version:
net6.0
Symptom
NullReferernceException
thrown whenHttpContext.Connection.RemoteIpAddress
isnull
due to a.toString()
call inHttpInListener.AddGrpcAttributes
What is the expected behavior?
The
AttributeNetPeerIp
should not be added to the activity when theRemoteIpAddress
property is NULLWhat is the actual behavior?
Unhandled
NullReferenceException
Reproduce
See RemoteIpAddress documentation indicating the property can be null.
The text was updated successfully, but these errors were encountered: