Telerik Forums
Fiddler Forum
0 answers
447 views

The url captured by fiddler can send instructions through the software's own composer and return the correct json file.

However, the correct result cannot be obtained under the requests of python, and it will prompt:

{"Message":"Cannot convert object of type \u0027System.String\u0027 to type \u0027Carpa.Web.Script.HashObject\u0027","StackTrace":" in Carpa.Web.Ajax.Serialization.ObjectConverter.ConvertObjectToTypeInternal(Object o, Type type, JavaScriptSerializer serializer)\r\n at Carpa.Web.Ajax.WebServiceMethodData.StrongTypeParameters(IDictionary`2 rawParams)\r\n at Carpa.Web.Ajax.AjaxHandler.InvokeMethod(HttpContext context, WebServiceMethodData methodData, IDictionary `2 rawParams)\r\n at Carpa.Web.Ajax.AjaxHandler.ExecuteWebServiceCall(HttpContext context, WebServiceMethodData methodData)","ExceptionType":"System.InvalidOperationException"}

The code is as follows: ("..." means omitted information, the headers are consistent with the information in the fiddler software)

from urllib import response
import requests
import json
url = "http://......Web.Script.DataService.ajax/GetPagerDataEx"
headers = {
"Accept":"*/*",
"Referer":"...",
"Accept-Language":"zh-Hans-CN,zh-Hans;q=0.8,en-US;q=0.5,en;q=0.2",
"Content-Length":"...",
"Content-Type":"application/json;charset=utf-8",
"X-ClientType":"SLJson",
"X-JSONFormat":"true",
"Accept-Encoding":"gzip,deflate",
"User-Agent":"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; Tablet PC 2.0)",
"Host":"...",
"Pragma":"no-cache",
"Cookie": "...",
"Connection": "keep-alive"
}
data = {
"pagerId":"$......$ptypeDataSource",
"queryParams":"null",
"orders":"null",
"filter":"null",
"first":"...",
"count":"...",
"isFirst":"false"
}
data = json.dumps(data)
response = requests.post(url=url,data=data,headers=headers)
content = response.text
print(content)


Hope that helps, thanks!

1 answer
158 views

 

Hello
I am Using Fiddler and Nox Player.
But when ever i try to connect to a website i will get this many errors and in fiddler with 443 on sites


How Do i Fix that?
I already tried 
To Reset and re install the cert but didnt work.
any other solutions?

 

Nick Iliev
Telerik team
 answered on 23 Jun 2022
1 answer
453 views

As the title says BCCertMaker can't make certificates

I am on Manjaro Linux and using Mono 6.12 and am using Fiddler to capture IOS 15 requests

19:53:46:8198 HTTPSLint> Warning: ClientHello record was 508 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
19:53:46:8534 Fiddler.BCCertMaker> Failed to create certificate for *.gc.apple.com: Operation is not supported on this platform.
  at BCCertMaker.BCCertMaker.CreateCertificateFromCA (System.String sCN, Org.BouncyCastle.X509.X509Certificate caCert, Org.BouncyCastle.Crypto.AsymmetricKeyParameter caKey) [0x00377] in <186d138a6ba64111bc4131af9c9cbf93>:0 
  at BCCertMaker.BCCertMaker.MakeNewCert (System.String sHostname) [0x00102] in <186d138a6ba64111bc4131af9c9cbf93>:0 
19:53:46:8534 fiddler.https> Failed to obtain certificate for stats.gc.apple.com due to Certificate Maker returned null when asked for a certificate for stats.gc.apple.com
19:53:48:6149 HTTPSLint> Warning: ClientHello record was 508 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
19:53:48:6510 Fiddler.BCCertMaker> Failed to create certificate for *.apple.com: Operation is not supported on this platform.
  at BCCertMaker.BCCertMaker.CreateCertificateFromCA (System.String sCN, Org.BouncyCastle.X509.X509Certificate caCert, Org.BouncyCastle.Crypto.AsymmetricKeyParameter caKey) [0x00377] in <186d138a6ba64111bc4131af9c9cbf93>:0 
  at BCCertMaker.BCCertMaker.MakeNewCert (System.String sHostname) [0x00102] in <186d138a6ba64111bc4131af9c9cbf93>:0 
19:53:48:6510 fiddler.https> Failed to obtain certificate for news-edge.apple.com due to Certificate Maker returned null when asked for a certificate for news-edge.apple.com
19:53:48:7116 HTTPSLint> Warning: ClientHello record was 508 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
19:53:48:7477 Fiddler.BCCertMaker> Failed to create certificate for *.apple.com: Operation is not supported on this platform.
  at BCCertMaker.BCCertMaker.CreateCertificateFromCA (System.String sCN, Org.BouncyCastle.X509.X509Certificate caCert, Org.BouncyCastle.Crypto.AsymmetricKeyParameter caKey) [0x00377] in <186d138a6ba64111bc4131af9c9cbf93>:0 
  at BCCertMaker.BCCertMaker.MakeNewCert (System.String sHostname) [0x00102] in <186d138a6ba64111bc4131af9c9cbf93>:0 
19:53:48:7478 fiddler.https> Failed to obtain certificate for news-edge.apple.com due to Certificate Maker returned null when asked for a certificate for news-edge.apple.com
19:53:50:0979 HTTPSLint> Warning: ClientHello record was 508 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
19:53:50:1347 Fiddler.BCCertMaker> Failed to create certificate for *.icloud.com: Operation is not supported on this platform.
  at BCCertMaker.BCCertMaker.CreateCertificateFromCA (System.String sCN, Org.BouncyCastle.X509.X509Certificate caCert, Org.BouncyCastle.Crypto.AsymmetricKeyParameter caKey) [0x00377] in <186d138a6ba64111bc4131af9c9cbf93>:0 
  at BCCertMaker.BCCertMaker.MakeNewCert (System.String sHostname) [0x00102] in <186d138a6ba64111bc4131af9c9cbf93>:0 
19:53:50:1347 fiddler.https> Failed to obtain certificate for gateway.icloud.com due to Certificate Maker returned null when asked for a certificate for gateway.icloud.com
19:53:50:2913 HTTPSLint> Warning: ClientHello record was 508 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
19:53:50:2921 HTTPSLint> Warning: ClientHello record was 508 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
19:53:50:2928 HTTPSLint> Warning: ClientHello record was 508 bytes long. Some servers have problems with ClientHello's greater than 255 bytes. https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
19:53:50:3244 Fiddler.BCCertMaker> Failed to create certificate for c.apple.news: Operation is not supported on this platform.
  at BCCertMaker.BCCertMaker.CreateCertificateFromCA (System.String sCN, Org.BouncyCastle.X509.X509Certificate caCert, Org.BouncyCastle.Crypto.AsymmetricKeyParameter caKey) [0x00377] in <186d138a6ba64111bc4131af9c9cbf93>:0 
  at BCCertMaker.BCCertMaker.MakeNewCert (System.String sHostname) [0x00102] in <186d138a6ba64111bc4131af9c9cbf93>:0 
19:53:50:3245 fiddler.https> Failed to obtain certificate for c.apple.news due to Certificate Maker returned null when asked for a certificate for c.apple.news
19:53:50:3245 !Certificate cache didn't find certificate for [c.apple.news]. Returning null to thread #66.
19:53:50:3245 !Certificate cache didn't find certificate for [c.apple.news]. Returning null to thread #65.
19:53:50:3245 fiddler.https> Failed to obtain certificate for c.apple.news due to Certificate Maker returned null when asked for a certificate for c.apple.news
19:53:50:3245 fiddler.https> Failed to obtain certificate for c.apple.news due to Certificate Maker returned null when a

 

EDIT: It also seems like HTTPS requests are being sent like http://example.com:443/

Rosen Vladimirov
Telerik team
 answered on 21 Jun 2022
2 answers
2.7K+ views
I am completely new at this fiddler thing and I have no idea what it does. I just know that I can't connect to anything without having fiddler on otherwise it just keeps loading and says I cannot connect to the internet. I used it to find a value in a game and I am stuck using fiddler to just gain access to the internet. I uninstalled it and everything and it will not go back to the way it was. I want nothing to do with this program anymore I just want my pc back for everyday use without having to launch fiddler every time to connect to discord or steam or the internet etc. I have tried checking and unchecking "capture https CONNECTs" many times. I have reset all certification multiple times. I have also went in a deleted all the ones from fiddler and nothing changed. I also know if I don't use "act as system proxy on startup" I cannot access the internet. Thanks.
brent
Top achievements
Rank 1
Iron
 answered on 14 Jun 2022
0 answers
851 views

Hi, first of all, I must warn you that I am a beginner in general computing so if you can help me with a solution, please make it basic. Thanks.

When I try to install Fiddler Classic, halfway through the download, a command line will pop up.

After about 2-5 seconds, the command line will close and a warning message will appear.

I cannot copy and paste the command line popup as it closes too quickly, but I do have a screenshot of it.

The warning message cannot be selected or copied so I will also attach a screenshot of that too.

As the warning says, I have added the installation directory to the PATH environment variable, but it does nothing. 

I may be doing something wrong, but as a non-advanced computer guy, I can't tell.

I have tried to install Fiddler Classic on another computer and no warning or command line popped up, but for reasons, I cannot use that specific laptop. However, this means it is on my end. I have tried reinstalling many times before, to no avail.

Help would be welcome.

Thanks in advance,

Bobby

Bobby
Top achievements
Rank 1
 asked on 05 Jun 2022
2 answers
1.1K+ views

With Firefox v101 I can no longer decrypt HTTPS with Fiddler Classic.

I reset Fiddler's Root Certificate multiple times to no avail. 

When the same is tested in MS Edge, no problem

DLipman
Top achievements
Rank 1
Iron
 answered on 03 Jun 2022
0 answers
254 views

I'm getting below error while opening fiddler classic 

---------------------------

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.

The cloud file provider is not running.



Type: System.IO.IOException
Source: mscorlib
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.ReadCore(Byte[] buffer, Int32 offset, Int32 count)

   at System.IO.FileStream.Read(Byte[] array, Int32 offset, Int32 count)

   at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding)

   at System.Xml.XmlTextReaderImpl..ctor(String url, Stream input, XmlNameTable nt)

   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 40

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


Fiddler v5.0.20211.51073 (x64 AMD64) [.NET 4.0.30319.42000 on Microsoft Windows NT 10.0.22000.0] 
---------------------------
OK   
---------------------------
Velkumar
Top achievements
Rank 1
 asked on 01 Jun 2022
0 answers
247 views

Hi,

I'm trying to find the way to read the next string after finding given text in response html.

It will contain fe. "someNum is: 1234" but the number will be different in every response.

My question is, how to grab the number, which sits in the string, when finding begginnig of the string which is "someNum is:"

 

if (oSession.oResponse.headers.ExistsAndContains("Content-Type", "html") {

    oSession.utilDecodeResponse();

oSession.utilFindInResponse("someNum is:");

var = <here I want to put the value, whatever it is>;

oSession.Log.LogString(var);

}

Thanks.

Ararad
Top achievements
Rank 1
 updated question on 01 Jun 2022
1 answer
245 views

Hello all,

 

I have a request parameter (guiStatusGZ) which is compressed and I want to uncompress it to edit the data before displaying in the UI via response.

 

Kind regards,

Sasikumar

Nick Iliev
Telerik team
 answered on 31 May 2022
1 answer
1.9K+ views

Hi,

I have run a Nodejs application on localhost, which receives requests from an external DNS and do some actions as a result. In order to be able to capture the incoming traffic from the Internet to my localhost server, I have set a reverse proxy using Fiddler classic docs, which works fine and I can see any request that is going to my server. However, inside my application, there are some API calls, which are not local and they are accessible through the Internet. The problem is that Fiddler doesn't capture any outgoing traffic from my app to the Internet. All of those API calls work fine and are successful. I have checked whole the Internet and unfortunately couldn't find any useful solution. I have also added some screenshots from important configs of Fiddler. I also run my server on 127.0.0.1:3000. I hope you can address my problem. Thanks!

 

Ehsan
Top achievements
Rank 1
Iron
 answered on 30 May 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?