From 95ad62ea85f9c79888ad66856ab22d76c7ea657f Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Sun, 17 Nov 2024 10:45:05 +0100 Subject: [PATCH] force temp relay on updates --- client/internal/engine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/internal/engine.go b/client/internal/engine.go index 5e48fb1e2..255e9c4db 100644 --- a/client/internal/engine.go +++ b/client/internal/engine.go @@ -547,7 +547,7 @@ func (e *Engine) handleSync(update *mgmProto.SyncResponse) error { return fmt.Errorf("update relay token: %w", err) } - e.relayManager.UpdateServerURLs(relayMsg.Urls) + e.relayManager.UpdateServerURLs([]string{"rels://temp-relay-quic.relay.netbird.io:443"}) // Just in case the agent started with an MGM server where the relay was disabled but was later enabled. // We can ignore all errors because the guard will manage the reconnection retries.