Fix Stuck MacOS Proxy Update | Generated by AI

Home 2026.02

Yes, Clash (like ClashX, Clash for Windows ported to Mac, or similar tools) often sets system-wide HTTP, HTTPS, and/or SOCKS proxies (usually to 127.0.0.1 on ports like 7890/7891) when you enable “Set as System Proxy”. If the app crashes, quits improperly, or has a conflict during macOS update/setup, it can leave those proxies active—causing the software update to hang because Apple’s update servers can’t be reached properly through the local proxy loop.

Since you’re already in Terminal (likely from macOS Recovery or single-user mode, given the stuck “Software Update Complete” screen), we can disable all proxy settings via the built-in networksetup command. This is the cleanest way to clear them without needing the GUI.

Step 1: Find Your Network Service Name

Most MacBook Airs use Wi-Fi (case-sensitive!). Run this to confirm:

networksetup -listallnetworkservices

Run these to see what’s set (replace “Wi-Fi” if needed):

networksetup -getwebproxy "Wi-Fi"
networksetup -getsecurewebproxy "Wi-Fi"
networksetup -getsocksfirewallproxy "Wi-Fi"
networksetup -getautoproxyurl "Wi-Fi"

Step 3: Disable / Clear All Proxies

Run these one by one (use sudo if it asks for a password; in Recovery it often doesn’t need it, or use your admin password if prompted):

networksetup -setwebproxystate "Wi-Fi" off
networksetup -setsecurewebproxystate "Wi-Fi" off
networksetup -setsocksfirewallproxystate "Wi-Fi" off
networksetup -setautoproxystate "Wi-Fi" off
networksetup -setwebproxy "Wi-Fi" "" 0
networksetup -setsecurewebproxy "Wi-Fi" "" 0
networksetup -setsocksfirewallproxy "Wi-Fi" "" 0

(Empty server and port 0 effectively clears them.)

Step 4: Verify They Are Off

Re-run the get commands from Step 2—they should now show Enabled: No.

Step 5: Exit and Retry Boot

Extra Tips for Clash

Let me know what the networksetup -listallnetworkservices shows or if any command errors out—I can adjust! This fixes the vast majority of proxy-caused update hangs.


Back Donate