Skip to content
New issue

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

[Bug] Client Connection ip is null #9007

Open
3 tasks done
weihubeats opened this issue Nov 29, 2024 · 0 comments
Open
3 tasks done

[Bug] Client Connection ip is null #9007

weihubeats opened this issue Nov 29, 2024 · 0 comments

Comments

@weihubeats
Copy link
Member

weihubeats commented Nov 29, 2024

Before Creating the Bug Report

  • I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment

Runtime platform environment
Ubuntu 22.04.2 LTS

RocketMQ version

5.3.2-SNAPSHOT

JDK Version

1.8

Describe the Bug

In the connect event of the ChannelDuplexHandler in netty, the SocketAddress localAddress is empty because the connection has not yet been established.
image

Steps to Reproduce

no

What Did You Expect to See?

192.168.1.1 => 192.168.1.1:9876
We can just get the local ip without getting the port to print the local ip, if we want to get the port, we may need to print the relevant information in the channelActive event

What Did You See Instead?

UNKNOWN => 192.168.1.1:9876

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant