Telerik Forums
Fiddler Forum
3 answers
11.4K+ views
I'm using Fiddler to capture traffic from Android phones. I have followed the steps in https://www.telerik.com/blogs/how-to-capture-android-traffic-with-fiddler and I can capture https traffic just fine on a physical device. However when using an Android emulator I am unable to capture any traffic.

I'm using an Android 5.1 system image to be sure that the Android 7 change with ignoring user-installed root certificates does not affect me. When trying to load an https page like https://example.com in the default browser on the emulator the initial CONNECT request gets closed immediately according to fiddler and after a very long time the browser times out and shows an net::ERR_CONNECTION_REFUSED error.

See the attached screenshot for what this looks like in Fiddler.

Here are some setups that I've tried:
* Fiddler 5.0.20202.18177 on two different Windows 10 computers
* Using the emulator bundled with Android Studio on the same computer as I'm running Fiddler
* Using the emulator bundled with Android Studio on a Linux computer on the same network as I'm running Fiddler
* Using the Genymotion emulator, on the same computer as I'm running Fiddler

In all these cases http traffic is captured fine but https traffic can not be captured.

In addition to this I've also tried swapping out Fiddler with both Burp suite and mitmproxy and when doing this I can capture https traffic from emulators just fine. It seems like there is some problem with Fiddler and Android emulators rather than my setup.

Please let me know if there there is any other information I could provide to help resolve this issue. I really like Fiddler and would hate it if I had to use Burp suite or similar when working with emulators.
Nick Iliev
Telerik team
 answered on 14 Oct 2020
1 answer
473 views

Hello,

There is an old library which I do not have the source.It is a client library for an API endpoint. 

I need to log which requests are made from which function. Since library is used in a multithreaded environment, and I cannot alter the requests and responses, I'm stuck.

One way would be creating a series of proxies and assigning them to client before each function call, but it seems very inefficient.

 

Any thoughts?

Nick Iliev
Telerik team
 answered on 13 Oct 2020
1 answer
379 views

    We have a corporate proxy in place using Websense, and with it enabled there is no traffic capture in fiddler, nothing at all

It just has the one line where it checks for updates and nothing else, 

Any ideas?

I could get the proxy disabled on my system but that isn't the standard use case on the network so wont help in troubleshooting the original issue

Anyone had similar issues? Is there a way to whitlelist on the proxy to enable fiddler traffic to be captured?

Thanks

Nick Iliev
Telerik team
 answered on 08 Oct 2020
1 answer
215 views

Hallo,
I'm stuck with this since weeks so I'm looking for each possible explanation for this scenario:

I open a site with Firefox and it works. I open the same site with Chrome and I do get a 404 response. BUT if I start fiddler and run a request concerning this site, it also works with Chrome - responding with 200 of course. This even lasts when I close fiddler but it stops working as soon as I clear my Chrome Browser settings.

I did check the proxy settings on both browsers. They're both set to 'use system proxy settings'. So I don't have any clue what might cause this behaviour and I'm wondering if I've overseen anything that fiddler has an impact on..
Any help is highly appreciated.
Thanks

Nick Iliev
Telerik team
 answered on 07 Oct 2020
1 answer
561 views

I've noticed an issue when exporting data as HAR where the output is not binary identical to what was sent on the network. Specifically in my case one of the pages was UTF-8 encoded with BOM and that information was lost. I'd like to know whether there's a way of exporting all pages as base64 (like in the case of images) in order to preserve the page exactly as it was sent on the network.

Thank you.

Nick Iliev
Telerik team
 answered on 06 Oct 2020
1 answer
246 views

I am receiving this error message upon launching Fiddler 4:

---------------------------
Loading custom MIME mappings failed
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.

There is an error in XML document (0, 0).

Type: System.InvalidOperationException
Source: System.Xml
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)

   at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)

   at Fiddler.XmlFileMimeMappings..ctor(String filePath) in C:\Jenkins\Fiddler_Windows\workspace\FiddlerCore\FiddlerCore.Shared\Common\Core\MimeMapping\XmlFileMimeMappings.cs:line 41

   at Fiddler.frmViewer.š(Object , EventArgs ) in C:\Jenkins\Fiddler_Windows\workspace\Fiddler2\Fiddler.Shared\Viewer.cs:line 9968

System.Xml.XmlException: Root element is missing.

   at System.Xml.XmlTextReaderImpl.Throw(Exception e)

   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

   at System.Xml.XmlReader.MoveToContent()

   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderList1.Read3_ArrayOfMimeMap()
Fiddler v5.0.20202.18177 (x64 AMD64) [.NET 4.0.30319.42000 on Microsoft Windows NT 10.0.18363.0] 
---------------------------
OK   
---------------------------

Nick Iliev
Telerik team
 answered on 06 Oct 2020
1 answer
211 views

Windows 10

---------------------------
Awww, Fiddlesticks!
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.

The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.



1) The specified quota list is internally inconsistent with its descriptor



Resulting in: An exception occurred while trying to create an instance of type 'Telerik.NetworkConnections.NetworkConnectionsManager'.



Resulting in: Cannot activate part 'Telerik.NetworkConnections.NetworkConnectionsManager'.

Element: Telerik.NetworkConnections.NetworkConnectionsManager -->  Telerik.NetworkConnections.NetworkConnectionsManager -->  AssemblyCatalog (Assembly="Telerik.NetworkConnections, Version=0.1.2.0, Culture=neutral, PublicKeyToken=67cb91587178ac5a")



Resulting in: Cannot get export 'Telerik.NetworkConnections.NetworkConnectionsManager (ContractName="Telerik.NetworkConnections.NetworkConnectionsManager")' from part 'Telerik.NetworkConnections.NetworkConnectionsManager'.

Element: Telerik.NetworkConnections.NetworkConnectionsManager (ContractName="Telerik.NetworkConnections.NetworkConnectionsManager") -->  Telerik.NetworkConnections.NetworkConnectionsManager -->  AssemblyCatalog (Assembly="Telerik.NetworkConnections, Version=0.1.2.0, Culture=neutral, PublicKeyToken=67cb91587178ac5a")



Type: System.ComponentModel.Composition.CompositionException
Source: System.ComponentModel.Composition
   at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)

   at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart)

   at System.ComponentModel.Composition.Primitives.Export.get_Value()

   at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)

   at Fiddler.Proxy.() in C:\Jenkins\Fiddler_Windows\workspace\FiddlerCore\FiddlerCore.Shared\Common\Core\Proxy.cs:line 283

   at Fiddler.Proxy..ctor(Boolean isPrimary, ProxySettings upstreamProxySettings) in C:\Jenkins\Fiddler_Windows\workspace\FiddlerCore\FiddlerCore.Shared\Common\Core\Proxy.cs:line 210

   at Fiddler.frmViewer.‹•(String[] ˆ•) in C:\Jenkins\Fiddler_Windows\workspace\Fiddler2\Fiddler.Shared\Viewer.cs:line 3339

   at Fiddler.frmViewer.‡•(String[] ˆ•) in C:\Jenkins\Fiddler_Windows\workspace\Fiddler2\Fiddler.Shared\Viewer.cs:line 3164


Fiddler v5.0.20202.18177 (x64 AMD64) [.NET 4.0.30319.42000 on Microsoft Windows NT 10.0.19041.0] 
---------------------------
OK   
---------------------------


Nick Iliev
Telerik team
 answered on 05 Oct 2020
3 answers
196 views

Hello,

Is there a way to script Fiddler via code? I want to be able to set up fiddler with AutoResponder enabled automatically and an imported .saz file and then run some test automation where Fiddler automatically responds. All of this needs to be done programmatically as part of a test suite. Does something like this already exist?

Nick Iliev
Telerik team
 answered on 05 Oct 2020
3 answers
535 views

Hello, I am writing to you because I have a problem with fiddler, the problem is that it does not capture the traffic of the pages I have tried installing the new version and everything, but on my old pc if it captures the traffic of the pages, I would like to know how I could solve this problem, which only happens to me on this PC.

thanks for watching, and sorry for my bad english.

Rosen Vladimirov
Telerik team
 answered on 02 Oct 2020
4 answers
202 views
Am i able to collect data from my phone via fiddler without using WIFI? I prefer the high speed internet a cable provides me with, but i am unsure where to put in my proxy settings in the phone if i do decide to use a ethernet cable to connect to the internet 
IP
Top achievements
Rank 1
 answered on 01 Oct 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?