Git Product home page Git Product logo

Comments (36)

wuchangming avatar wuchangming commented on July 20, 2024

用Safari试试

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

我用的是iphone7,safari打开不了cert页面,proxy设置和不设置都一样。

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

@bowen31337
确认下下面几项:
1、spy-debugger 是否正常启动
2、电脑和手机需要保持在同一网络下。
3、手机是否开了翻墙vpn?开了需要关掉

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

@wuchangming
我已经确认安装正常,同一wifi,手机没有VPN。怎么解?

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

@bowen31337
切换到 “请求抓包”界面,点击:
image

能否下载证书?

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

@wuchangming, 可以下载,但是下载到我的mac里面,用手机无法下载啊

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

1、如果点按钮可以下载说明证书时已经正确生成了。
2、配置代理后,你访问下https的页面。如百度,如果无法访问,说明你设置代理成功了。

这个时候你访问证书下载链接试试。

最新版本试试:3.6.1。
证书下载地址改短了:http://s.xxx

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

@wuchangming 设置代理后什么链接都打不开, 试过手机的safari,和chrome,都打不下载链接

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

@bowen31337 ,非https的网址能打开不? 如:http://cn.bing.com/

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

@wuchangming 打不开所有的链接,不管是http还是https

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

@bowen31337
截两个图我看看。
spy-debugger 启动日志
iphone的代理设置界面

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

@wuchangming 去哪里找启动日志?
我的iphone 7的代理设置是
ip:192.168.1.110(我mac 电脑的IP地址)
port:9888

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

mac 上用终端输入命令: spy-debugger 启动的时候最开始的日志。

image

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

@wuchangming
screen shot 2017-01-17 at 8 43 17 pm

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

@bowen31337 ,感觉都挺正常的。。。。。

你的mac是怎么连接Wi-Fi的?
会不会和这个问题里说的一样?#21

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

@wuchangming 我的mac是wifi连路由器的,下面是ifconfig的配置
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 34:36:3b:7b:27:ca
inet6 fe80::3636:3bff:fe7b:27ca%en0 prefixlen 64 scopeid 0x4
inet 192.168.1.110 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=1
media: autoselect
status: active

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

没看出任何问题。。。

手机设置完代理后,访问页面时。
spy-debugger 的“抓包请求”页面有记录到日志没?
或者终端有没输出日志?

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

@bowen31337
iphone 上是否设置的这里?

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

@wuchangming 对, iphone是在这里设置的

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

@bowen31337

手机设置完代理后,访问页面时。
spy-debugger 的“抓包请求”页面有记录到日志没?
或者终端有没输出日志?

iphone 显示的ip是多少?
image

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

@wuchangming 手机的ip是:192.168.1.115,抓包页面一直处于加载状态,截图:
screen shot 2017-01-17 at 10 16 10 pm

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

@bowen31337 ,实在找不出什么原因了....我用iphone7试了也没发现问题。你试试把mac上的spy-debugger删除后,再重新安装试试看。暂时想不出别的原因了。😢

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

@wuchangming 已经重装了好几次,现在是最新的版本,3.6.1。 我mac里面装了virtual box,是不是有可能是virtual box里面有虚拟的网卡造成的?

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

@bowen31337 我没装virtual box,但有装VMware。也没什么问题

1、你virtual box的网卡是怎么接入wifi的?是实用mac的共享网络?

2、mac能ping 通手机的ip么?

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

@wuchangming 我的router的ip isolation 取消后,装了crt,抓包就好了,mac也能ping 手机,之前不行。 但是页面调试还是什么都没有,怎么解?

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

@wuchangming 现在有眉目了,weinre出现报错信息:
`{ ---------------------------------------------------------
error: Error: socket hang up

stack:
_http_client.js:254 - undefined()
_http_client.js:286 - undefined()
events.js:101 - undefined()
events.js:188 - undefined()
net.js:498 - undefined() code: 'ECONNRESET' }
(node:10725) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Cannot read public key. OID is not RSA.`

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

打开什么页面都不能调试?还是某个URL?https://
baidu.com试试

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

@wuchangming 百度好像可以,但不稳定,我发现浏览器的基本上都可以,唯有小程序不行,有时会出现下面的

`{ ---------------------------------------------------------
error: Error: socket hang up

stack:
_http_client.js:254 - undefined()
_http_client.js:286 - undefined()
events.js:101 - undefined()
events.js:188 - undefined()
net.js:498 - undefined()
_tls_wrap.js:325 - undefined()
events.js:291 - undefined()
events.js:96 - undefined()
events.js:188 - undefined()
net.js:498 - undefined() code: 'ECONNRESET' }`

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

小程序确实不行。
小程序通信过程应该用的是微信自定义的安全协议mmtls。这个现在没办法通过https证书的方式解密。

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

@wuchangming 理论上把weinre的script放到小程序里面,就能页面调试了,对吧

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

@bowen31337 ,
weinre应该只能解析html的dom树。
我还没真正看过小程序的具体实现。不知道对微信对小程序webview做了多少改造。

from spy-debugger.

bowen31337 avatar bowen31337 commented on July 20, 2024

@wuchangming 如果不能调试小程序的话,用fiddler + weinre也能对手机页面调试,但没有多大意义。 不过,谢谢了,加一个星星。

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

@bowen31337

THX!
是的,这个工具只是在不能USB插线调试的时候调试H5页面比较方便。其他情况还是有很多可选的替代方案。

from spy-debugger.

jacobcyl avatar jacobcyl commented on July 20, 2024

@wuchangming 我的router的ip isolation 取消后,装了crt,抓包就好了,mac也能ping 手机,之前不行。 但是页面调试还是什么都没有,怎么解?

@bowen31337 请问你是怎么解决的,我的问题跟你的一样,就是不知道 “我的router的ip isolation 取消后” 这句话的意思,请问具体怎么做?

from spy-debugger.

dumuchenglin123 avatar dumuchenglin123 commented on July 20, 2024

image
为什么我的调试页面显示这样

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

@dumuchenglin123 ,单独建了issuse跟踪该问题。
#114

from spy-debugger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.