ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.35k stars 177 forks source link

Proxyman not capturing traffic decrypted by SSL Proxying List after the Mac has suspended activity #1976

Open novitae opened 3 months ago

novitae commented 3 months ago

Description

When using Proxyman after the Mac was put to sleep (suspended activity I think, as on the button shown below), Proxyman literally can't capture any of the SSL Proxying list traffic. It is happening to me for few months now.

Capture d’écran 2024-03-17 à 20 21 52

Steps to Reproduce

  1. Restart your Mac.
  2. Set proxying list to everything (*) or some traffic you know will be passed in.
  3. Use Proxyman (external device traffic or Mac traffic itself).
  4. It will work.
  5. Now turn off mac's activity.
  6. Maybe wait a bit of time like 5 minutes
  7. interface with the Mac, open Proxyman.
  8. Try to send requests.
  9. The SSL Proxied domains will freeze.
  10. If it's from safari, the request will get stuck, and safari won't even raise a timeout error, it will just wait, and Proxyman won't show the request.

Current Behavior

The request is not coming back to the client. However Proxyman sees the request received:

It doesn't come from Facebook being ssl pinned, I know what im doing The device im using has ssl kill switch 3, is in safari, and trusted cert. It works properly when my Mac didn't go sleeping.

I should mention that it works on burp and mitmproxy.

When restarting my Mac it works again.

Expected Behavior

...

Environment

NghiaTranUIT commented 3 months ago

@novitae May I ask if you just quit (Command + Q) and open Proxyman again, does it fix your problem? 🤔

novitae commented 3 months ago

@novitae May I ask if you just quit (Command + Q) and open Proxyman again, does it fix your problem? 🤔

I can't reproduce right now (I am trying to find how long does the Mac has to sleep to reproduce the behavior). But from my previous experience, quitting and starting again wasn't changing anything at all. The only thing working was restarting the computer.