[GH-ISSUE #272] Doesn't restore proxy settings correctly. #270

Closed
opened 2026-03-03 19:16:58 +03:00 by kerem · 7 comments
Owner

Originally created by @drekka on GitHub (Sep 6, 2019).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/272

Proxyman version? (Ex. Proxyman 1.4.3)

1.5.1

macOS Version? (Ex. mac 10.14)

10.14.6

Steps to reproduce

  1. Setup a "Automatic Proxy Configuration" with a URL to a pac file on a server.
  2. Start Proxyman
  3. Stop Proxyman.
  4. Inspect the proxy settings.

Expected behavior

At step 2 Proxyman should disable the current proxy setup and enable itself ✔️
At step 3 Proxyman should remove itself ✔️
Also at step 3 Proxyman should restore the previous settings.

Discussion

When I look at the settings after Proxyman has stopped, I can see that the URL is still present, but Proxyman has not activated it again. All I have to do is to tick the setting and apply it. So I'm thinking this is probably not a hard thing to fix given Proxyman already manipulates the settings to start with.

Originally created by @drekka on GitHub (Sep 6, 2019). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/272 ### Proxyman version? (Ex. Proxyman 1.4.3) 1.5.1 ### macOS Version? (Ex. mac 10.14) 10.14.6 ### Steps to reproduce 1. Setup a "Automatic Proxy Configuration" with a URL to a pac file on a server. 2. Start Proxyman 3. Stop Proxyman. 4. Inspect the proxy settings. ### Expected behavior At step 2 Proxyman should disable the current proxy setup and enable itself ✔️ At step 3 Proxyman should remove itself ✔️ Also at step 3 Proxyman should restore the previous settings. ❌ ### Discussion When I look at the settings after Proxyman has stopped, I can see that the URL is still present, but Proxyman has not activated it again. All I have to do is to tick the setting and apply it. So I'm thinking this is probably not a hard thing to fix given Proxyman already manipulates the settings to start with.
kerem 2026-03-03 19:16:58 +03:00
Author
Owner

@NghiaTranUIT commented on GitHub (Sep 6, 2019):

Thank for detail report. I'm able to reproduce it too 👍

I'm going to fix and send you a hotfix soon.

<!-- gh-comment-id:528761418 --> @NghiaTranUIT commented on GitHub (Sep 6, 2019): Thank for detail report. I'm able to reproduce it too 👍 I'm going to fix and send you a hotfix soon.
Author
Owner

@NghiaTranUIT commented on GitHub (Sep 9, 2019):

Hey @drekka, here is hot-fix build for this bug: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_1.6.0_Helper_Tool_1.0.3.dmg

Basically, I save the original proxy config before overriding, and reverting the setting back later.

Let check it out and give me a 👍 if it works for you

<!-- gh-comment-id:529538637 --> @NghiaTranUIT commented on GitHub (Sep 9, 2019): Hey @drekka, here is hot-fix build for this bug: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_1.6.0_Helper_Tool_1.0.3.dmg Basically, I save the original proxy config before overriding, and reverting the setting back later. Let check it out and give me a 👍 if it works for you ☕️
Author
Owner

@drekka commented on GitHub (Sep 11, 2019):

Awesome. It's now correctly setting and unsetting the proxy settings include restoring the setting of the Automatic Proxy Configuration. Thanks. 👍👍👍👍

<!-- gh-comment-id:530214814 --> @drekka commented on GitHub (Sep 11, 2019): Awesome. It's now correctly setting and unsetting the proxy settings include restoring the setting of the Automatic Proxy Configuration. Thanks. 👍👍👍👍
Author
Owner

@NghiaTranUIT commented on GitHub (Sep 11, 2019):

Glad to hear that @drekka 🌮 . I will officially ship the fix in next release 👍

<!-- gh-comment-id:530243848 --> @NghiaTranUIT commented on GitHub (Sep 11, 2019): Glad to hear that @drekka 🌮 . I will officially ship the fix in next release 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Sep 14, 2019):

I would close this ticket and prepare for next release 👍

<!-- gh-comment-id:531461965 --> @NghiaTranUIT commented on GitHub (Sep 14, 2019): I would close this ticket and prepare for next release 👍
Author
Owner

@mazgajmaciek commented on GitHub (Jul 8, 2022):

@NghiaTranUIT this somehow doesn't work for me still (it doesn't turn back on Automatic Proxy Configuration when I turn Proxyman off). I'm using:

  • Proxyman Version 3.5.2 (30520)
  • Monterrey 12.4
<!-- gh-comment-id:1178849496 --> @mazgajmaciek commented on GitHub (Jul 8, 2022): @NghiaTranUIT this somehow doesn't work for me still (it doesn't turn back on Automatic Proxy Configuration when I turn Proxyman off). I'm using: - Proxyman Version 3.5.2 (30520) - Monterrey 12.4
Author
Owner

@NghiaTranUIT commented on GitHub (Nov 14, 2024):

@mazgajmaciek It's fixed in this Beta build: https://github.com/ProxymanApp/Proxyman/issues/2155#issuecomment-2475843960

<!-- gh-comment-id:2476108634 --> @NghiaTranUIT commented on GitHub (Nov 14, 2024): @mazgajmaciek It's fixed in this Beta build: https://github.com/ProxymanApp/Proxyman/issues/2155#issuecomment-2475843960
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#270
No description provided.