via :http://stackoverflow.com/questions/16862916/fiddler-decrypt-android-httpsurlconnection-ssl-traffic#
My research shown that there is a bug in HttpsUrlConnection pipeling implementation.
To solve a problem you need to perform following steps in Fiddler:
-
In Fiddler click "Rules->Customize Rules";
-
In opened script and find function OnBeforeResponse
-
In the function body add following code:
-
if (oSession.oRequest["User-Agent"].indexOf("Dalvik") > -1 && oSession.HTTPMethodIs("CONNECT")) {
-
oSession.oResponse.headers["Connection"] = "Keep-Alive"; }
- Save file and restart Fiddler