consumer 端 RpcContext.getServiceContext().getRemoteAddressString() 返回 null #12631
Closed
1 task done
Labels
type/bug
Bugs to being fixed
Environment
Steps to reproduce this issue
consumer端的Filter中执行
RpcContext.getServiceContext().getRemoteAddressString()
返回null,2.5.7版本中是可以通过com.alibaba.dubbo.rpc.RpcContext#getRemoteAddressString()
获取 provider 地址的。在3.2.2版本中设置RemoteAddress
逻辑比较滞后Expected Behavior
期望在consumer端可以通过
RpcContext.getServiceContext().getRemoteAddressString()
、RpcContext.getServiceContext().getRemoteApplicationName()
获取 对端服务信息Actual Behavior
实际现象是consumer端获取信息返回null,在provider端可以成功获取
The text was updated successfully, but these errors were encountered: