Skip to content

RSDK-13852 - fix mdns connection failures#177

Open
stuqdog wants to merge 2 commits intoviamrobotics:mainfrom
stuqdog:RSDK-13852-mdns-failures
Open

RSDK-13852 - fix mdns connection failures#177
stuqdog wants to merge 2 commits intoviamrobotics:mainfrom
stuqdog:RSDK-13852-mdns-failures

Conversation

@stuqdog
Copy link
Copy Markdown
Member

@stuqdog stuqdog commented May 4, 2026

Co-written with claude code.

Note that this is blocked on stuqdog/mdns#2 being released, test failures until that time are expected.

Changes:

  • when creating a channel over loopback, don't try TLS since viam-server advertises on localhost without TLS.
  • (Temporarily) stop trying to verify TLS certificates, because there are existing certs that are only provided with the leaf cert, which causes authentication to fail. On May 22nd this should be resolved, at which point we will revert.

Testing:

  • Confirmed that online connection via both mDNS and regular webRTC worked, and that offline connection via loopback mDNS was successful.

@stuqdog stuqdog requested a review from a team as a code owner May 4, 2026 17:51
@stuqdog stuqdog requested review from allisonschiang and njooma May 4, 2026 17:51
Comment thread Cargo.toml
Comment on lines +66 to +69
# Override viam-mdns with the local development version while the macOS fix is
# not yet published. Remove this section before releasing a new crate version.
[patch.crates-io]
viam-mdns = { path = "../mdns" }
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This will be removed before merging.

@stuqdog stuqdog requested a review from a team May 4, 2026 17:53
@stuqdog
Copy link
Copy Markdown
Member Author

stuqdog commented May 4, 2026

@viamrobotics/netcode adding you all here because this work is veering into netcode-y territory. Happy to chat with y'all about it! Also note that stuqdog/mdns#2 is a necessary precursor here.

@cheukt
Copy link
Copy Markdown
Member

cheukt commented May 6, 2026

seems fine to me, @danielbotros will probably have the most context

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.

2 participants