[GH-ISSUE #457] [BUG] networksetup CLI is failed if there is a invalid network service #454

Closed
opened 2026-03-03 19:18:55 +03:00 by kerem · 1 comment
Owner

Originally created by @NghiaTranUIT on GitHub (Mar 28, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/457

Originally assigned to: @NghiaTranUIT on GitHub.

Description

For some reason, SCNetworkServiceCopyAll returns a network service, which does not exist in the Network. Thus, networksetup CLI is failed when overriding the proxy config at launch time (In case, Proxy Helper Tools is not installed)

Ex: Thunderbolt Bridge doesn't exist in networksetup -listallnetworkservices

Expected behavior

If a network service doesn't exist, it should not affect other commands and Proxyman is able to override the proxy config as usual 👍

Acceptance Criteria

  • Fix it 🐞
Originally created by @NghiaTranUIT on GitHub (Mar 28, 2020). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/457 Originally assigned to: @NghiaTranUIT on GitHub. ### Description For some reason, [SCNetworkServiceCopyAll](https://developer.apple.com/documentation/systemconfiguration/1516810-scnetworkservicecopyall) returns a network service, which does not exist in the Network. Thus, `networksetup` CLI is failed when overriding the proxy config at launch time (In case, Proxy Helper Tools is not installed) Ex: `Thunderbolt Bridge` doesn't exist in `networksetup -listallnetworkservices` ### Expected behavior If a network service doesn't exist, it should not affect other commands and Proxyman is able to override the proxy config as usual 👍 ### Acceptance Criteria - Fix it 🐞
kerem 2026-03-03 19:18:55 +03:00
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 28, 2020):

All done 👍

<!-- gh-comment-id:605414444 --> @NghiaTranUIT commented on GitHub (Mar 28, 2020): All done 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#454
No description provided.