This is a migrated thread and some comments may be shown as answers.

Fiddler keeping sockets open when in proxy mode

1 Answer 48 Views
Mobile
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 03 Mar 2020, 06:44 PM

Hi, 

 

I'm using Fiddler4 to capture from an iOS 13.3.1 device, with the iOS device set to Manual Proxy mode and necessary certificates installed on both end.  Overall, works very well. 

 

But there is a problem.   For every socket opened by the iOS that goes via the proxy is never closed again.   So the connection from iOS to Fiddler4 appears to be closed ok.  However the socket from Fiddler4 to destination device stays open until I shutdown Fiddler. 

 

 

The result of this is that on connection limited devices, they run out of available connections and it all stops working. 

 

I've wiresharked the session when not going via Fiddler and iOS is correctly closing the socket (FIN state is sent).

When I wireshark the Fiddler4 proxied session the socket just stays open based on the socket is open from between my PC running Fiddler and the destination device. 

 

Is this a known problem?  If yes, is there a work around? 

Best regards

 

Steve

 

1 Answer, 1 is accepted

Sort by
0
Eric R | Senior Technical Support Engineer
Telerik team
answered on 05 Mar 2020, 02:15 PM

Hi Stephen,

This is likely because the WiFi Proxy is in Manual Mode and when WireShark is being used it is not so iOS is closing it automatically. I recommend removing the WiFi Proxy as described in the Cleaning Up Section of the How to Capture iOS Traffic with Fiddler blog post.

Alternatively, it may be possible to configure iOS with an Auto Configuration using a PAC script. In this case, use the url noted in the below screenshot as the PAC script in iOS. 

Please give this a try and let me know the results. Thank you and I look forward to your reply.

Regards,


Eric R | Senior Technical Support Engineer
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Mobile
Asked by
Stephen
Top achievements
Rank 1
Answers by
Eric R | Senior Technical Support Engineer
Telerik team
Share this question
or