Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
axnmax opened this issue Jun 9, 2021 · 9 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@axnmax
Copy link

axnmax commented Jun 9, 2021

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
Copy link
Member

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
Copy link
Author

axnmax commented Jun 9, 2021

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
Copy link
Member

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
Copy link
Author

axnmax commented Jun 9, 2021

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 NghiaTranUIT added the bug Something isn't working label Jun 10, 2021
@NghiaTranUIT NghiaTranUIT self-assigned this Jun 10, 2021
@NghiaTranUIT
Copy link
Member

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:
  1. Try to make a request and see which breakpoint is stopped.
  2. And set a breakpoint after Atlantis sends a message at
    if let nsError = error as NSError? {

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

@axnmax
Copy link
Author

axnmax commented Jun 10, 2021

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

@NghiaTranUIT
Copy link
Member

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
Copy link
Author

axnmax commented Jun 10, 2021

  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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants