随着Android的奇巧的Chrome://检查/设备的网络监控,如何查看所有请求数据 [英] With Android KitKat chrome://inspect/devices network monitoring, how to view all request data

查看:268
本文介绍了随着Android的奇巧的Chrome://检查/设备的网络监控,如何查看所有请求数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了铬://检查/设备和监控HTTP流量的Andr​​oid应用程序。这仅适用于Android的4.4 /奇巧。在这个工具,设置Cookie和cookie数据不显示。是否有其他工具或我怎么可以配置该工具以显示cookie数据为每个请求。而饼干店集饼干确实出现,但没有为服务器和客户端/ Android设备之间的每个单独的请求。

I am using the "chrome://inspect/devices" and monitoring the http traffic for an Android application. This only works with the Android 4.4/KitKat. Within this tool, the set-cookie and cookie data does not show. Is there another tool or how can I configure this tool to show the cookie data for each request. The "cookie" store set of cookies do appear but not for each individual request between the server and client/Android device.

我相信这种混合科尔多瓦基于Web的观点掩盖的cookies。我不知道怎么办。

I believe this hybrid Cordova based web view is masking the cookies. I don't know how.

更多信息: HTTP://$c$c.google.com/p /铬/问题/详细信息?ID = 403490

请注意:这是监控流量的Andr​​oid设备和PC主机之间,监控主机PC上的流量

Note: this is monitoring traffic between the Android device and a host PC, monitoring the traffic on the host PC.

请注意:这看起来是一个web视图或应用程序/ API /库的问题。我们使用的是科尔多瓦构建这个应用程序。它是一种混合/ WEB-View应用程序,我不知道为什么,或者它如何可以明确地隐藏cookie信息?我很好奇,如果任何人有一个web视图如何能够隐藏饼干任何更多的细节。

Note: It looks like it is a "webview" or application/api/library issue. We are using Cordova to build this application. It is a hybrid/web-view application, I don't know why or how it could explicitly hide the cookie information? I was curious if anyone has any more detail on how a webview could hide cookies.

推荐答案

既然你提到

有另一种工具

我要跳,在这部分,并为您提供不同的工具,如提琴手。

I am going to jump at this part and offer you a different tool, i.e. Fiddler.

  1. 您可以设置小提琴手与代理
  2. 更改Android设备的网络设置,通过代理。
  3. 现在,你可以捕获完整的网络请求包括从设备提出的任何要求。

那么完美的发展,如果我可以这么说。

So perfect for development, if I may say so.

源代码 - HTTP://www.cantoni。组织/一十一分之二千○一十三/ 06 /捕获Android的网络流量提琴手

有助于缓解痛苦的调试经验,愉快。

Helps to ease a painful debugging experience, to a pleasant one.

有些赠品

  1. 菲德勒还允许打破http请求,修改内容,重新发出请求,而无需编写任何一件code。
  2. 而另外一个因素,它适用于任何版本的Andr​​oid,iOS和Windows Phone的或支持代理的任何设备。
  3. 没有做到这一点需要软件开发工具包!

如果您使用的是Mac,你可以检出查尔斯网络检查。

If you are using a mac, you can checkout Charles network inspector.

希望这有助于!

请注意 - 这个答案纯粹是为了在检查网络流量帮助

Note - This answer is purely to help in inspecting the network traffic.

更新 - HTTPS流量

安装提琴手证书到Android

Install Fiddler Certificate to Android

作为最后的步骤,以提高安全的HTTPS连接调试,   我们可以安装在Android设备上的提琴手根证书。   (注:如果您的设备还没有PIN或密码时,   需要安装证书之前,设置一个。)

As a final step to improve the debugging of secure HTTPS connections, we can install a Fiddler "root" certificate on the Android device. (Note: If your device does not already have a PIN or password, you will need to set one up before installing the certificate.)

步骤:

      
  1. 在Android设备上启动了Chrome浏览器

  1. On Android start the Chrome browser

导航到    HTTP://ipv4.fiddler:8888 /

点击的链接提琴手根上   证书

Tap on the link for the "Fiddler Root Certificate"

命名证书小提琴手,并安装它(进入   您的PIN或密码,如果有提示)

Name the certificate "Fiddler" and install it (entering your PIN or password if prompted)

通过此测试证书   安装后,你现在应该可以从Android访问SSL站点   Chrome浏览器并没有收到任何证书警告。网络   交通也应该是可见的提琴手。良好的考点是那些   它总是迫使安全的HTTPS连接,如富国银行   手机网站 https://wellsfargo.com/

With this test certificate installed, you should now be able to visit SSL sites from the Android Chrome browser and not receive any certificate warnings. The network traffic should also be viewable in Fiddler. Good test sites are those which always force secure HTTPS connections, like the Wells Fargo mobile site at https://wellsfargo.com/.

Exercpt从发布链接。

Exercpt from the posted link.

这篇关于随着Android的奇巧的Chrome://检查/设备的网络监控,如何查看所有请求数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆