ProxymanApp / atlantis

Capture HTTP/HTTPS, and Websocket from iOS app without proxy.
https://proxyman.io
Apache License 2.0
1.27k stars 95 forks source link

Atlantis for iOS stopped working after upgrading to Mac OS Big Sur #76

Open axnmax opened 3 years ago

axnmax commented 3 years ago

Hi Team,

After I upgraded my Mac to Big Sur, my Atlantis is not able to track the network traffic in Proxyman. Can anyone help to resolve this issue?

Thanks in advnce.

NghiaTranUIT commented 3 years ago

Hey @axnmax, I'm using Big Sur and I would like to clarify that Atlantis works fine here 👍

To investigate, please help me:

  1. Make sure you turn OFF the Firewall in System Preference -> Security & Privacy -> Firewall
  2. Please update to the latest Atlantis with pod update

and use the following code to connect to your macOS

Atlantis.start(hostName: "_your_host_name")

You can find the hostname in the Atlantis window from Proxyman for macOS 👍

atlantis_hostname

axnmax commented 3 years ago

Hi @NghiaTranUIT,

I followed the steps as described by you. Still it does not work for me. It used to work perfectly for me before I upgraded to Big Sur.

NghiaTranUIT commented 3 years ago

I just tested again and it works with Atlantis 1.10.0 and Big Sur. I'm not sure why Atlantis doesn't work in your end 🤔

When you open Atlantis, do you see any log message like:

---------------------------------------------------------------------------------
---------- 🧊 Atlantis is running (version 1.10.0)
---------- Github: https://github.com/ProxymanApp/atlantis
---------------------------------------------------------------------------------
[Atlantis] Looking for Proxyman app in the network...
Reachability Status Changed: reachable(Alamofire.NetworkReachabilityManager.NetworkReachabilityStatus.ConnectionType.ethernetOrWiFi)
[Atlantis] Found Proxyman with HostName = Nghias-Mac-mini.local.
[Atlantis] ✅ Connect to Nghias-Mac-mini.local.

If Bonjour Service finds any Macbook which has Proxyman, it will list it

[Atlantis] Found Proxyman with HostName = Nghias-Mac-mini.local.

If you could not see anything, look like your network is blocking the Bonjour Service @axnmax

axnmax commented 3 years ago

Yes I am able to see the logs as you mentioned. But the Proxyman does not show any traffic.


---------- 🧊 Atlantis is running (version 1.10.0) ---------- Github: https://github.com/ProxymanApp/atlantis

[Atlantis] Looking for Proxyman app in the network...

[Atlantis] Found Proxyman with HostName = axnmax.local. [Atlantis] ✅ Connect to axnmax.local.

NghiaTranUIT commented 3 years ago

Look like it's a bug @axnmax 🤔

Atlantis is connecting to Proxyman, but it doesn't send any message.

If you don't mind, please help me to debug:

  1. Start Proxyman and Atlantis => Make sure you can see the log: [Atlantis] ✅ Connect to axnmax.local.
  2. Set a breakpoint on two place:

Since I could not access to your codebase, so I could debug. Please help me if you don't mind. I appreciate it 🙇

axnmax commented 3 years ago

The control only reaches line 109. It did not go to line 114 and 137 anytime.

NghiaTranUIT commented 3 years ago

Thanks for getting back to me. Just wondering:

  1. Which iOS version are you using?
  2. Are you using Atlantis on a real iOS Device or iOS Simulator? 🤔
axnmax commented 3 years ago
  1. iOS 13.2.3
  2. Real iOS Device

Also there is an update on the breakpoints, last time it did not connect to the local host. The control only reaches line 114. It did not go to line 109 and 137 anytime.

NghiaTranUIT commented 3 years ago

Thanks. I will investigate the bug. Meanwhile, please try on iOS Simulator, it should work 😄