Analyze HTTP traffic in Instruments

RSS for tag

Discuss the WWDC21 session Analyze HTTP traffic in Instruments.

View Session

Posts under wwdc21-10212 tag

5 Posts
Sort by:
Post not yet marked as solved
0 Replies
145 Views
Hi folks. Until recently my email and sms links on my website worked perfectly. At least for 3 years. However, the links will not work using Safari, since the latest update, on any of my apple devices. The code works fine on all other devices, using Safari like Windows, Crome etc. The html code I've been using is: For SMS I've been using: I tried html form code to see if I can resolve it: Is this just a recent Safari update issue?
Posted
by
Post marked as solved
2 Replies
513 Views
When I attempt to log network requests with the new "Network" profiling template with "Http Traffic" instrument (Instruments version 13.2.1), I get network connections data on my iphone, but no HTTP traffic data. I'm running with iOS 15.3 on iphone 11, and running macos 12.2 I get the warning that sensitive data will be recorded in the trace, but I never get any actual events posted there. I also don't get any kind of warnings or errors from Instruments telling me why it might have issues recording anything. I get these data from Charles just fine (when I properly setup Charles as a proxy). From what I read, Instruments HTTP Traffic should "just work", but for me it's not and not telling me why. Is there any way to diagnose why I'm not getting any Http traffic data in my recordings? I've disabled web protection on the phone (Microsoft Defender), which was necessary for Charles to work, but I never needed to install any certificate for instruments (or are there any instructions to do so), so I assume there is a default certificate that is used to encrypt web traffic which instruments can decrypt. I'd really like to use this tool!
Post not yet marked as solved
1 Replies
362 Views
Hi all, I'm facing a strange timeout problem in my application. I've opened another thread for that [Receiving "The request timed out." when using NSURLSession].(https://developer.apple.com/forums/thread/696762) Based on Xcode 13 Network Instruments, when a network request receives a timeout, all the subsequent ones receive the timeout too. Those requests are hitting the same host / domain that works with HTTP/1 (head of line blocking?). Instead, other request that do not involve this domain are working correctly. I've collected a trace but I cannot understand the meaning of "No Connection" and the red color of the box under inspection. Are you able to clarify their meaning and when this scenario could happen? Thanks, Lorenzo
Posted
by