ProxymanApp / Proxyman

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

Сan't see the requests on the mac app when using a real device #1937

Closed FreestyleRR closed 4 months ago

FreestyleRR commented 4 months ago

Description

Сan't see the requests on the mac app when using a real device.

Steps to Reproduce

The problem is this. I'm trying to listen to requests that come from my app on my real device. I have followed all the steps described in the instructions.

  1. Run proxymen on the real device and on the mac.
  2. Set them up with fresh certificates and give them all access and permissions.
  3. Enabling proxy to listen to my phone through my wifi.
  4. Open the app on device, make actions to send requests.

Current Behavior

When I run my app, I don't see any requests from my app on Proxyman(macOS app). But if I turn off the proxyman VPN, then I can see all the requests, but they all say that there is no internet connection(see screenshot).

Screenshot 2024-02-14 at 13 11 47

I have used this method before and it never worked, but after some time and repeating different steps, rebooting devices and reinstalling certificates, it started working. Now I still can't make it work, I just can't see the requests and that's it. And in the app on my phone, I see them, but in the mac app, I don't see them.

I also have your Atlantis library, but it doesn't quite fit, because I can't map response through mac app, I can only see requests and responses.

Expected Behavior

I should be able to see all the requests from my app, and they should submit successfully. I also checked the way to check whose bug is it, yours or apple's(from this link https://github.com/ProxymanApp/Proxyman/issues/1811). And when I put a random address and port, my internet didn't work, but when I put the right one, which is prescribed in the proxyman app on mac, internet is there, but as I said I don't see any requests from my app on mac.

Environment

NghiaTranUIT commented 4 months ago

@FreestyleRR you should not use the iOS Proxyman app at the same time with the macOS app.

The iOS Proxyman app is needed when you don't have a Mac.

If you want to see the request from iOS device on your Mac, you should only use the macOS app.

  1. Turn off the Proxyman iOS app VPN and close the iOS app
  2. Open Proxyman -> Certificate Menu -> Install for iOS -> iOS Physical device
  3. Follow all steps, and make sure we install the certificate to your iPhone (It's a different certificate that you install from the iOS Proxyman app). If you can't access to http://proxy.man/ssl, please follow this troubleshooting
  4. You will see the request on your Mac.

Let me know if it works for you 😄

FreestyleRR commented 4 months ago

@NghiaTranUIT you was right. Now everything is work. Thank you.