From 2f75011356ab8c6fd975133b421393b9fb302ebe Mon Sep 17 00:00:00 2001 From: NielsD1 Date: Thu, 29 Jan 2026 13:46:40 +0100 Subject: [PATCH] chore: added an error message on potential firewall issues --- src/serverconnection/init.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/serverconnection/init.go b/src/serverconnection/init.go index de2f207..d3af5d9 100644 --- a/src/serverconnection/init.go +++ b/src/serverconnection/init.go @@ -98,6 +98,7 @@ func New(state *state.AppState) (*rtc.RTC, error) { } resp, err := http.Post(fmt.Sprintf("%s/car/sdp", state.ServerAddress), "application/json; charset=utf-8", bytes.NewReader(payload)) // nolint:noctx if err != nil { + err = fmt.Errorf("%w. Try to turn off your firewall.", err) return nil, err }