Analyze HTTP traffic in Instruments

RSS for tag

Discuss the WWDC21 session Analyze HTTP traffic in Instruments.

Posts under wwdc21-10212 tag

6 Posts

Post

Replies

Boosts

Views

Activity

Email and SMS links
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?
0
0
502
Mar ’22
HTTP Traffic not recording data on iphone
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!
2
0
3.6k
Feb ’22
Meaning of "No Connection" in Network Instruments
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
1
0
906
Jan ’22
HTTP Traffic Instrument requires iOS15?
Does the new HTTP Traffic instrument require iOS15 running on the device? I am attempting to profile my app and I get an error saying 'This device is lacking a required capability'?
Replies
2
Boosts
0
Views
1.9k
Activity
Nov ’24
Email and SMS links
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?
Replies
0
Boosts
0
Views
502
Activity
Mar ’22
Network request failed to fetch remote config. Code, Error: 0, Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made.
I'm using new Xcode version 12.5.1(imitation development Instagram) Is this a failure to connect to Firebase?What should i do?
Replies
0
Boosts
0
Views
1.2k
Activity
Feb ’22
HTTP Traffic not recording data on iphone
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!
Replies
2
Boosts
0
Views
3.6k
Activity
Feb ’22
Meaning of "No Connection" in Network Instruments
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
Replies
1
Boosts
0
Views
906
Activity
Jan ’22
HTTP Traffic Instrument using Combine
Is it possible to use the new http traffic instrument with combines dataTaskPublisher? How can I set a label to the task?
Replies
1
Boosts
0
Views
1.5k
Activity
Jan ’22