Proxyman icon indicating copy to clipboard operation
Proxyman copied to clipboard

Network traffic hangs and timeouts when proxyman left running after Mac resumes from sleep

Open cameroncooke opened this issue 2 years ago • 4 comments

Description

Network traffic hangs and timeouts when Proxyman is left running after Mac resumes from sleep. This has been happening for as long as I've had Proxyman on many different versions of Proxyman and macOS versions.

Essentially if I leave the application running for a long period of time, usually overnight and wake the computer from sleep while Proxyman application is still open the network traffic stops working. Web browsers show error screens to check firewall/VPN, and other applications just timeout.

Proxytman UI shows no traffic at all, in-fact all the historic traffic disappears from the UI!

It's quite easy to fix, closing and re-opening Proxyman always fixes the issue, but of course, I've lost any historical traffic I had previously captured.

Screenshot 2023-07-28 at 09 01 14 Screenshot 2023-07-28 at 08 59 30

Steps to Reproduce

  1. Leave Proxyman running all day and overnight while MacBook sleeps
  2. Wake MacBook from sleep in the morning
  3. Observe Proxyman is still running but network traffic times out

Current Behavior

Proxtman stops collecting and processing traffic, computer network requests timeout.

Expected Behavior

Proxyman should work when resuming from long periods of sleep and use, alternatively, the application should stop overriding the macOS proxy when the Mac goes to sleep and resume after.

Environment

  • Proxyman 4.9.0
  • macOS 14.0 Beta (23A5301g)

I've also observed the same issues on Proxyman versions dating back to 1.0 and macOS versions including Ventura so I don't believe this is caused by environmental compatibility.

cameroncooke avatar Jul 28 '23 08:07 cameroncooke

Proxyman should work when resuming from long periods of sleep and use, alternatively, the application should stop overriding the macOS proxy when the Mac goes to sleep and resume after.

Thanks. It seems feasible to do it. I will try to reproduce it in my send and fix it 👍

NghiaTranUIT avatar Jul 29 '23 06:07 NghiaTranUIT

Any update on the bug, I met the same issue on proxyman 4.9.0 on mac on macOS 13.6

JoshuaZhu86 avatar Dec 15 '23 02:12 JoshuaZhu86

@JoshuaZhu86 let's use the latest version 4.15.0 👍 We've fixed the memory issue due to unused NSLocks from v4.11.0

NghiaTranUIT avatar Dec 15 '23 02:12 NghiaTranUIT

@JoshuaZhu86 let's use the latest version 4.15.0 👍 We've fixed the memory issue due to unused NSLocks from v4.11.0 seems working now, great work !

JoshuaZhu86 avatar Dec 15 '23 02:12 JoshuaZhu86