ProxymanApp / ProxymanApp/Proxyman

Auto Proxy Configuration (PAC) state gets disabled after sleep when Proxyman is running

Open
#2,465 0 comments 0 reactions 1 assignee View on GitHub

@NghiaTranUIT is already working on this.

Since Sep 11, 2025.

bug
Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

When Proxyman is running with only Web Proxy (HTTP) and Secure Web Proxy (HTTPS) enabled, macOS unexpectedly disables the Auto Proxy Configuration (PAC) setting after the machine wakes from sleep.

I do not enable Automatic Proxy Configuration in Proxyman, and my PAC server is managed separately (Node.js server). Despite that, if Proxyman is active, the “Automatic Proxy Configuration” checkbox in System Settings → Network → Wi-Fi → Proxies is unchecked after wake.

Steps to Reproduce

  1. Start Proxyman (only HTTP/HTTPS proxy toggled on, map remote and scripting on).

  2. Run a local PAC server, e.g. http://127.0.0.1:9999/rules.pac.

  3. Enable Auto Proxy via:

    networksetup -setautoproxyurl "Wi-Fi" "http://127.0.0.1:9999/rules.pac"
    networksetup -setautoproxystate "Wi-Fi" on
    
  4. Put Mac to sleep.

  5. Wake the Mac.

Current Behavior

  • After wake, the Auto Proxy Configuration checkbox is unchecked automatically.
  • Running networksetup -getautoproxystate "Wi-Fi" shows Enabled: No.
  • This only happens if Proxyman is running. With Proxyman closed, the PAC setting persists correctly across sleep/wake.

Expected Behavior

  • Proxyman should not touch the Auto Proxy Configuration setting if only HTTP/HTTPS proxy is enabled.
  • PAC state should remain enabled after sleep/wake regardless of Proxyman being active.

Environment

  • App version: e.g. Proxyman 5.24.0
  • macOS version: e.g. macOS Sequoia 15.6.1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.