I’ve copied Chris’ code for Lesson 6 and run the app, but Proxy man did not show any data even though the status is 200OK, and I got the below messages in xcode.
Not sure if it’s an issue with the API key?
messages in Xcode:
…
ATS failed system trust
Connection 1: system TLS Trust evaluation failed(-9802)
Connection 1: TLS Trust encountered error 3:-9802
Connection 1: encountered error(3:-9802)
Task <29ED7683-E047-4BAB-88B6-97C2F286C87A>.<1> HTTP load failed, 0/0 bytes (error code: -1200 [3:-9802])
Task <29ED7683-E047-4BAB-88B6-97C2F286C87A>.<1> finished with error [-1200] Error Domain=NSURLErrorDomain Code=-1200 “An SSL error has occurred and a secure connection to the server cannot be made.” UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=(
“<cert(0x107842200) s: api.pexels.com i: Proxyman CA (13 Oct 2024, macbook-air.local)>”,
“<cert(0x107818a00) s: Proxyman CA (13 Oct 2024, macbook-air.local) i: Proxyman CA (13 Oct 2024, macbook-air.local)>”
), NSErrorClientCertificateStateKey=0, NSErrorFailingURLKey=https://api.pexels.com/v1/search?query=trees&per_page=1, NSErrorFailingURLStringKey=
…
I have always had a love/hate relationship with Proxyman so I can’t offer any sensible suggestions since it either works or doesn’t work depending on how “it feels” (At least that is how it seems).
The three quotes you have tried to use should be the black-tick character which looks like this `. Looks like you have used some other quote character.
On the Qwerty keyboard the back-tick character is on the same key as the tilde ~ so you need three of them before and after the code block.
```
Code block goes here
```
In order for you to see those back-tick characters above I have added a backslash in front of each one of them which makes them visible otherwise all you would see it this
Code block goes here.
That block of text above you got from the Xcode debug window would look like this with the right back-tick characters.
ATS failed system trust
Connection 1: system TLS Trust evaluation failed(-9802)
Connection 1: TLS Trust encountered error 3:-9802
Connection 1: encountered error(3:-9802)
Task <29ED7683-E047-4BAB-88B6-97C2F286C87A>.<1> HTTP load failed, 0/0 bytes (error code: -1200 [3:-9802])
Task <29ED7683-E047-4BAB-88B6-97C2F286C87A>.<1> finished with error [-1200] Error Domain=NSURLErrorDomain Code=-1200 “An SSL error has occurred and a secure connection to the server cannot be made.” UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=(
“<cert(0x107842200) s: api.pexels.com i: Proxyman CA (13 Oct 2024, macbook-air.local)>”,
“<cert(0x107818a00) s: Proxyman CA (13 Oct 2024, macbook-air.local) i: Proxyman CA (13 Oct 2024, macbook-air.local)>”
), NSErrorClientCertificateStateKey=0, NSErrorFailingURLKey=https://api.pexels.com/v1/search?query=trees&per_page=1, NSErrorFailingURLStringKey=
I’ve had the same issue. Been using proxyman fine but not used it since the new Apple OS updates…now it breaks the WiFi on the Mac and the code that runs fine and shows the api data and response in the console now shows network error and bad url if proxyman is open. I have tried everything I can find on google but from what I can see it might be an Apple bug with networking as issues are cropping up in all sorts of areas around anything network related…explains why my security cameras also will no longer connect to my Apple devices. Not sure how to get around it yet but if I find a way I’ll post it here.
Thanks for posting your experiences with Proxyman. Looks like the same or similar issue as the OP. I will ask Chris Ching and the team if they have used it lately or had any issues with it lately.
From what I can gather, it seems like you’re experiencing a certificate issue.
I tried replicating the error on my end, but I wasn’t able to. Please note that I’m not yet using macOS 15 Sequoia, which could be why it’s still working for me.
Here’s my setup:
Proxyman Version: 5.9.0 (50900)
macOS: Version 14.7 Sonoma (Build 23H124)
Xcode: 16
I downloaded M1L6 and followed the instructions from M1L7 without any issues.
Could you try reinstalling the Proxyman certificates on your Mac and iOS Simulator to see if that resolves the problem? Let me know how it goes!