Skip to content

Unable to query the expected remoteAddress in the Dubbo instrumentation for certain versions. #13786

Open
@steverao

Description

@steverao

Describe the bug

In the Dubbo instrumentation, I identified a compatibility issue with context.getRemoteAddress() in Dubbo versions 3.0.x and 3.1.x. In these versions, context.getRemoteAddress() returns null, which prevents the correct value from being retrieved in other contexts. This is a bug in Dubbo; for more details, please refer to issue.

Steps to reproduce

In above versions of Dubbo, can't get expected remoteAddress by

Expected behavior

In above versions of Dubbo, return corrected remoteAddress by

Actual behavior

In above versions of Dubbo, return null by

Javaagent or library instrumentation version

2.15.0

Environment

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneeds triageNew issue that requires triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions