diff --git a/xpra/server/server_core.py b/xpra/server/server_core.py index 33a4b143ce..cc7685ebbe 100644 --- a/xpra/server/server_core.py +++ b/xpra/server/server_core.py @@ -907,9 +907,13 @@ def mdns_publish(self) -> None: continue mdnslog("mdns_publish() info=%s, socktypes(%s)=%s", info, socktype, socktypes) for st in socktypes: + if st == "socket": + continue recs = mdns_recs.setdefault(st, []) if socktype=="socket": - assert st=="ssh" + if not st != "ssh": + log.error(f"Error: unexpected {st!r} socket type for {socktype}") + continue host = "*" iport = get_ssh_port() if not iport: