From 09fde3c3ad2f15d27bbe47c0521ce7dd0f0bf0c0 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Sat, 17 May 2025 04:56:41 +0800 Subject: [PATCH] system/ui: Use OPENPILOT_URL instead of google.com for network connectivity check (#35254) check OPENPILOT_URL --- system/ui/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/ui/setup.py b/system/ui/setup.py index 2e40610395..0ec5d6395e 100755 --- a/system/ui/setup.py +++ b/system/ui/setup.py @@ -123,7 +123,7 @@ class Setup: while not self.stop_network_check_thread.is_set(): if self.state == SetupState.NETWORK_SETUP: try: - urllib.request.urlopen("https://google.com", timeout=2) + urllib.request.urlopen(OPENPILOT_URL, timeout=2) self.network_connected.set() if HARDWARE.get_network_type() == NetworkType.wifi: self.wifi_connected.set()