zen icon indicating copy to clipboard operation
zen copied to clipboard

Failed to start proxy: set system proxy: set system proxy with URL "http://127.0.0.1:51334/proxy.pac": no network service found

Open DongChunlei opened this issue 5 months ago • 2 comments
trafficstars

Description

The zen failed to start when using the Surge proxy tool.

2025/05/26 16:20:34 initializing the app; version="v0.10.1"
2025/05/26 16:20:34 checking for updates
2025/05/26 16:20:34 noSelfUpdate=true, self-update disabled
2025/05/26 16:20:38 starting proxy
2025/05/26 16:20:38 loading "https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_3_Spyware/filter.txt" from cache
2025/05/26 16:20:38 loading "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt" from cache
2025/05/26 16:20:38 loading "https://raw.githubusercontent.com/ZenPrivacy/filter-lists/master/ads/ads.txt" from cache
2025/05/26 16:20:38 loading "https://malware-filter.gitlab.io/malware-filter/phishing-filter.txt" from cache
2025/05/26 16:20:38 loading "https://filters.adtidy.org/extension/ublock/filters/224.txt" from cache
2025/05/26 16:20:38 loading "https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-online.txt" from cache
2025/05/26 16:20:38 loading "https://easylist.to/easylist/easylist.txt" from cache
2025/05/26 16:20:38 loading "https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_2_Base/filter.txt" from cache
2025/05/26 16:20:38 loading "https://easylist.to/easylist/easyprivacy.txt" from cache
2025/05/26 16:20:38 loading "https://someonewhocares.org/hosts/zero/hosts" from cache
2025/05/26 16:20:38 filter initialization: added 9 rules and 0 exceptions from "https://raw.githubusercontent.com/ZenPrivacy/filter-lists/master/ads/ads.txt"
2025/05/26 16:20:38 filter initialization: added 11805 rules and 0 exceptions from "https://someonewhocares.org/hosts/zero/hosts"
2025/05/26 16:20:38 filter initialization: added 2759 rules and 39 exceptions from "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt"
2025/05/26 16:20:38 filter initialization: added 7408 rules and 0 exceptions from "https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-online.txt"
2025/05/26 16:20:38 filter initialization: added 18979 rules and 874 exceptions from "https://filters.adtidy.org/extension/ublock/filters/224.txt"
2025/05/26 16:20:38 filter initialization: added 52947 rules and 729 exceptions from "https://easylist.to/easylist/easyprivacy.txt"
2025/05/26 16:20:38 filter initialization: added 56330 rules and 552 exceptions from "https://easylist.to/easylist/easylist.txt"
2025/05/26 16:20:38 filter initialization: added 51836 rules and 0 exceptions from "https://malware-filter.gitlab.io/malware-filter/phishing-filter.txt"
2025/05/26 16:20:39 filter initialization: added 108526 rules and 5812 exceptions from "https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_2_Base/filter.txt"
2025/05/26 16:20:39 filter initialization: added 171809 rules and 2388 exceptions from "https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_3_Spyware/filter.txt"
2025/05/26 16:20:39 proxy listening on port 13333
2025/05/26 16:20:39 PAC server listening on port 51622
2025/05/26 16:20:39 error starting proxy: set system proxy: set system proxy with URL "http://127.0.0.1:51622/proxy.pac": no network service found

scutil info

scutil --nwi
Network information

IPv4 network interface information
   utun6 : flags      : 0x5 (IPv4,DNS)
           address    : 198.18.0.1
           VPN server : 254.1.1.1
           reach      : 0x00000003 (Reachable,Transient Connection)
     en0 : flags      : 0x7 (IPv4,IPv6,DNS)
           address    : 192.168.8.8
           reach      : 0x00000002 (Reachable)

   REACH : flags 0x00000003 (Reachable,Transient Connection)

IPv6 network interface information
   No IPv6 states found


   REACH : flags 0x00000000 (Not Reachable)

Network interfaces: utun6 en0

route info

route -n get 0.0.0.0
   route to: default
destination: default
       mask: default
  interface: utun6
      flags: <UP,DONE,CLONING,STATIC,GLOBAL>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
       0         0         0         0         0         0      4000         0 

networksetup info

networksetup -listnetworkserviceorder
An asterisk (*) denotes that a network service is disabled.
(1) Wi-Fi
(Hardware Port: Wi-Fi, Device: en0)

(2) iPhone USB
(Hardware Port: iPhone USB, Device: en8)

(3) AX88179A
(Hardware Port: AX88179A, Device: en9)

(4) Thunderbolt Bridge
(Hardware Port: Thunderbolt Bridge, Device: bridge0)

(5) Surge
(Hardware Port: com.nssurge.surge-mac, Device: )

Version

v0.10.1

Operating System

macOS 15.5

Steps to Reproduce

No response

Additional Context

No response

DongChunlei avatar May 26 '25 08:05 DongChunlei

Image

Can't get the proxy to work as ordinary user. OSX 15.5 (24F74) It works fine if I log in as admin. Is this part of the same problem?

Output of application log from the point of pressing the 'start browsing button' is as follows

2025/06/23 22:52:41 starting proxy 2025/06/23 22:52:41 loading "https://malware-filter.gitlab.io/malware-filter/phishing-filter.txt" from cache 2025/06/23 22:52:41 loading "https://raw.githubusercontent.com/ZenPrivacy/filter-lists/master/privacy/privacy.txt" from cache 2025/06/23 22:52:41 loading "https://raw.githubusercontent.com/ZenPrivacy/filter-lists/master/ads/ads.txt" from cache 2025/06/23 22:52:41 loading "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt" from cache 2025/06/23 22:52:41 loading "https://someonewhocares.org/hosts/zero/hosts" from cache 2025/06/23 22:52:41 loading "https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_3_Spyware/filter.txt" from cache 2025/06/23 22:52:41 loading "https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-online.txt" from cache 2025/06/23 22:52:41 loading "https://easylist.to/easylist/easyprivacy.txt" from cache 2025/06/23 22:52:41 loading "https://easylist.to/easylist/easylist.txt" from cache 2025/06/23 22:52:41 loading "https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_2_Base/filter.txt" from cache 2025/06/23 22:52:41 filter initialization: added 6 rules and 0 exceptions from "https://raw.githubusercontent.com/ZenPrivacy/filter-lists/master/privacy/privacy.txt" 2025/06/23 22:52:41 filter initialization: added 9 rules and 0 exceptions from "https://raw.githubusercontent.com/ZenPrivacy/filter-lists/master/ads/ads.txt" 2025/06/23 22:52:41 filter initialization: added 11807 rules and 0 exceptions from "https://someonewhocares.org/hosts/zero/hosts" 2025/06/23 22:52:41 filter initialization: added 2771 rules and 39 exceptions from "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt" 2025/06/23 22:52:41 filter initialization: added 6475 rules and 0 exceptions from "https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-online.txt" 2025/06/23 22:52:42 filter initialization: added 53034 rules and 739 exceptions from "https://easylist.to/easylist/easyprivacy.txt" 2025/06/23 22:52:42 filter initialization: added 60156 rules and 557 exceptions from "https://easylist.to/easylist/easylist.txt" 2025/06/23 22:52:42 filter initialization: added 48385 rules and 0 exceptions from "https://malware-filter.gitlab.io/malware-filter/phishing-filter.txt" 2025/06/23 22:52:42 filter initialization: added 111950 rules and 5585 exceptions from "https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_2_Base/filter.txt" 2025/06/23 22:52:42 filter initialization: added 175138 rules and 2384 exceptions from "https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_3_Spyware/filter.txt" 2025/06/23 22:52:42 proxy listening on port 51137 2025/06/23 22:52:42 PAC server listening on port 51138 2025/06/23 22:52:43 error starting proxy: set system proxy: set system proxy with URL "http://127.0.0.1:51138/proxy.pac": unset web proxy for network service "Wi-Fi": exit status 14 ("** Error: Command requires admin privileges.\n")

awebling avatar Jun 23 '25 12:06 awebling

@awebling see https://github.com/ZenPrivacy/zen-desktop/discussions/310#discussioncomment-12946652

anfragment avatar Jun 24 '25 13:06 anfragment