[GH-ISSUE #1597] Bonjour Service Name on Windows Too Long #1187

Open
opened 2026-05-05 07:34:29 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @shaananc on GitHub (Mar 6, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1597

What happened?

Trying to start the Barrier service, the service starts and stops immediately.

The event viewer has the following message "Bad service type in ._barrierServerZeroconf._tcp.local. Application protocol name must be underscore plus 1-15 characters. See http://www.dns-sd.org/ServiceTypes.html"

The equivalent Synergy issue https://github.com/symless/synergy-core/issues/4991 notes that this is a result of the service name being too long.

In fc045fc793/src/gui/src/ZeroconfService.cpp (L43) it appears the service name is set without the .local., but I'm not sure where that's coming from

Version

v2.0.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

Releases pages

What OSes are you seeing the problem on? (Check all that apply)

Windows

What OS versions are you using?

Windows 10 Pro 21H2

Relevant log output

No response

Any other information

No response

Originally created by @shaananc on GitHub (Mar 6, 2022). Original GitHub issue: https://github.com/debauchee/barrier/issues/1597 ### What happened? Trying to start the Barrier service, the service starts and stops immediately. The event viewer has the following message "Bad service type in ._barrierServerZeroconf._tcp.local. Application protocol name must be underscore plus 1-15 characters. See <http://www.dns-sd.org/ServiceTypes.html>" The equivalent Synergy issue https://github.com/symless/synergy-core/issues/4991 notes that this is a result of the service name being too long. In https://github.com/debauchee/barrier/blob/fc045fc79326cef966405b1cc578e8f062ae5294/src/gui/src/ZeroconfService.cpp#L43 it appears the service name is set without the .local., but I'm not sure where that's coming from ### Version v2.0.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? Releases pages ### What OSes are you seeing the problem on? (Check all that apply) Windows ### What OS versions are you using? Windows 10 Pro 21H2 ### Relevant log output _No response_ ### Any other information _No response_
Author
Owner

@Rachit-Mittal-10 commented on GitHub (Dec 18, 2024):

Did you got any solution?

<!-- gh-comment-id:2552399692 --> @Rachit-Mittal-10 commented on GitHub (Dec 18, 2024): Did you got any solution?
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: github-starred/barrier#1187
No description provided.