[GH-ISSUE #420] findLocalIpAddresses() returns IP addresses from DOWN network interfaces #144

Closed
opened 2026-10-29 21:10:06 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @phoenixwu0229 on GitHub (May 29, 2025).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/420

Description
Problem Description
The findLocalIpAddresses() function in transfer_metadata_plugin.cpp incorrectly returns IP addresses from network interfaces that are in DOWN state, causing connection failures and RPC timeouts.

Root Cause
The current implementation only filters out the loopback interface (lo) but does not check the interface status flags. It returns IP addresses from all non-loopback interfaces regardless of whether they are UP or DOWN.

Originally created by @phoenixwu0229 on GitHub (May 29, 2025). Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/420 Description Problem Description The findLocalIpAddresses() function in transfer_metadata_plugin.cpp incorrectly returns IP addresses from network interfaces that are in DOWN state, causing connection failures and RPC timeouts. Root Cause The current implementation only filters out the loopback interface (lo) but does not check the interface status flags. It returns IP addresses from all non-loopback interfaces regardless of whether they are UP or DOWN.
bsakaguchi 2026-10-29 21:10:06 +00:00
Author
Owner

@stmatengss commented on GitHub (May 29, 2025):

Thank you for your feedback. I notice #422 could resolve it. We will review it ASAP. THX

<!-- gh-comment-id:2918133848 --> @stmatengss commented on GitHub (May 29, 2025): Thank you for your feedback. I notice #422 could resolve it. We will review it ASAP. THX
Author
Owner

@github-actions[bot] commented on GitHub (Jul 9, 2026):

This issue has had no activity for 90 days and will be closed in 7 days if there is no further activity. Please comment or react if it should stay open.

<!-- gh-comment-id:4921545652 --> @github-actions[bot] commented on GitHub (Jul 9, 2026): This issue has had no activity for 90 days and will be closed in 7 days if there is no further activity. Please comment or react if it should stay open.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 17, 2026):

Closing due to 3 months of inactivity. If this is still relevant, please comment and we can reopen.

<!-- gh-comment-id:4998941879 --> @github-actions[bot] commented on GitHub (Jul 17, 2026): Closing due to 3 months of inactivity. If this is still relevant, please comment and we can reopen.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/Mooncake#144
No description provided.