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

The operation couldn’t be completed. (kCFErrorDomainCFNetwork error -1200.) (code=-1200) #130

Open
skywalkerlw opened this issue Jul 4, 2023 · 5 comments

Comments

@skywalkerlw
Copy link

I followed the instruction strictly but got the following error when calling any APIs.

What I have tried:

  • Reset simulators
  • Reboot Mac (Mac Studio M1 chip, Xcode 14.3, iOS 16)

image

@NghiaTranUIT
Copy link
Member

Can you try to install the certificate on your Simulator? You can do it in the Certificate Menu -> Install for iOS -> Simulator.

@skywalkerlw
Copy link
Author

found the root cause, i have to disable this.

Can we make the mac app smarter to automatically disable this if we are on atlantis?

image

@skywalkerlw
Copy link
Author

tificate on your Simulator? You can do it i

For atlantis, there's no need to install any certificate. This is the exact reason why i love it.

@NghiaTranUIT
Copy link
Member

It's because your iOS Simulator proxies the traffic to Proxyman, and you enable SSL Proxying on this domain -> Thus, it also performs the SSL Handshake -> You get SSL Error if you haven't installed the certificate yet.

  • Disable the SSL Proxying or install the certificate will fix it 👍

@NghiaTranUIT
Copy link
Member

Can we make the mac app smarter to automatically disable this if we are on atlantis?

Maybe, I will take a look on it 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants