Skip to content

594 re resolve address when disconnect#597

Open
wsobel wants to merge 7 commits intomainfrom
594_re-resolve_address_when_disconnect
Open

594 re resolve address when disconnect#597
wsobel wants to merge 7 commits intomainfrom
594_re-resolve_address_when_disconnect

Conversation

@wsobel
Copy link
Member

@wsobel wsobel commented Feb 25, 2026

Re-resolve the addresses when an adapter disconnects from it's source to address docker issues.

JARSENAULT-LT and others added 3 commits February 24, 2026 14:16
When using hostnames instead of static IPs, the resolved IP address
may change in DHCP environments. This change ensures that:

- Agent Adapter: Clears cached DNS resolution in failed() so the next
  reconnection attempt performs a fresh DNS lookup
- SHDR Connector: Re-resolves hostname in asyncTryConnect() instead of
  using cached results (static IPs still connect directly)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Fixed compile issues with ubuntu 22.04 gcc-11 support for constexpr and string.
@wsobel wsobel requested a review from simonyg February 25, 2026 12:53
@robot-ranger
Copy link
Collaborator

Hey guys, sorry for my delay. Ran the docker build overnight, I'll test today

Copy link
Collaborator

@robot-ranger robot-ranger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i dont see the same ill effect any more! seems to work well - using docker service name as hostname works across starts/restarts

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

Successfully merging this pull request may close these issues.

Docker network host name resolution seems brittle project update to use C++20 breaks support for ubuntu 22.04

2 participants