You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Experiencing that Consul on macOS Sequoia is actually not working completely since it is not able to establish a connection:
2024-09-17T09:04:48.507+0100 [WARN] agent: (LAN) couldn't join: number_of_nodes=0
error=
| 1 error occurred:
| \t* Failed to join 192.168.67.2:8301: dial tcp 192.168.67.2:8301: connect: no route to host
This only happens when the Consul is launched via launchctl; but does not occur when launched via Terminal.
The problem looks to be related to the way Go linker works and the fact macOS Local Network Privacy is doing some filtering; and previous with macOS Sonoma it allowed the connections but Sequoia does not. This is also been reported under golang/go#68678
The root cause is that Consul binary does not have the UUID set at link time, as there is for Nomad which causes the Local Network Privacy to drop the connection attempts:
Overview of the Issue
Experiencing that Consul on macOS Sequoia is actually not working completely since it is not able to establish a connection:
This only happens when the Consul is launched via
launchctl
; but does not occur when launched via Terminal.The problem looks to be related to the way Go linker works and the fact macOS Local Network Privacy is doing some filtering; and previous with macOS Sonoma it allowed the connections but Sequoia does not. This is also been reported under golang/go#68678
The root cause is that Consul binary does not have the UUID set at link time, as there is for Nomad which causes the Local Network Privacy to drop the connection attempts:
Are you able to adjust the linker settings in order to make Consul work on Sequoia?
Reproduction Steps
Try to join Consul server on the local network when using launchctl.
Minimal example for showing the Go linking problem is also provided under golang/go#68678
Consul info for both Client and Server
Consul v.1.19.2
Operating system and Environment details
macOS 15.0
The text was updated successfully, but these errors were encountered: