Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法调试webview页面 #155

Open
ShoneKey opened this issue Jun 17, 2020 · 1 comment
Open

无法调试webview页面 #155

ShoneKey opened this issue Jun 17, 2020 · 1 comment

Comments

@ShoneKey
Copy link

ShoneKey commented Jun 17, 2020

机型:魅族16th 安卓8
app: 自行编写的混合应用,已开启webview调试
现象:无法访问webview目标页面,debugger日志提示以下错误
期间打开过微信公众号测试,公众号内容可以成功访问,但是调试不了webview

正在启动代理
本机在当前网络下的IP地址为:192.168.41.1
node-mitmproxy启动端口: 9888
浏览器打开 ---> http://127.0.0.1:2752
(node:24684) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
read ECONNRESET
[---------------------------------------------------------
error: Error: read ECONNRESET
---------------------------------------------------------
stack:
   stream_base_commons.js:201 - undefined()] {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read'
}
[---------------------------------------------------------
error: Error: read ECONNRESET
---------------------------------------------------------
stack:
   stream_base_commons.js:201 - undefined()] {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read'
}
[---------------------------------------------------------
error: Error: read ECONNRESET
---------------------------------------------------------
stack:
   stream_base_commons.js:201 - undefined()] {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read'
}
read ECONNRESET
read ECONNRESET
read ECONNRESET
write ECONNRESET
read ECONNRESET
[---------------------------------------------------------
error: Error: socket hang up
---------------------------------------------------------
stack:
         errors.js:570 - undefined()
   _http_client.js:380 - undefined()
         events.js:215 - undefined()
         domain.js:498 - undefined()
            net.js:659 - undefined()] {
  code: 'ECONNRESET'
}
[---------------------------------------------------------
error: Error: socket hang up
---------------------------------------------------------
stack:
         errors.js:570 - undefined()
   _http_client.js:380 - undefined()
         events.js:215 - undefined()
         domain.js:498 - undefined()
            net.js:659 - undefined()] {
  code: 'ECONNRESET'
}
read ECONNRESET
Cannot call write after a stream was destroyed
[---------------------------------------------------------
error: Error: socket hang up
---------------------------------------------------------
stack:
         errors.js:570 - undefined()
   _http_client.js:380 - undefined()
         events.js:215 - undefined()
         domain.js:498 - undefined()
            net.js:659 - undefined()] {
  code: 'ECONNRESET'
}
read ECONNRESET
[---------------------------------------------------------
error: Error: read ECONNRESET
---------------------------------------------------------
stack:
   stream_base_commons.js:201 - undefined()] {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read'
}
read ECONNRESET
(node:24684) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
read ECONNRESET
[---------------------------------------------------------
error: Error: connect ETIMEDOUT 172.217.160.74:443
---------------------------------------------------------
stack:
   net.js:1129 - undefined()] {
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '172.217.160.74',
  port: 443
}
[---------------------------------------------------------
error: Error: connect ETIMEDOUT 172.217.160.74:443
---------------------------------------------------------
stack:
   net.js:1129 - undefined()] {
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '172.217.160.74',
  port: 443
}
[---------------------------------------------------------
error: Error: connect ETIMEDOUT 172.217.160.74:443
---------------------------------------------------------
stack:
   net.js:1129 - undefined()] {
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '172.217.160.74',
  port: 443
}
[---------------------------------------------------------
error: Error: socket hang up
---------------------------------------------------------
stack:
         errors.js:570 - undefined()
   _http_client.js:380 - undefined()
         events.js:215 - undefined()
         domain.js:498 - undefined()
            net.js:659 - undefined()
      _tls_wrap.js:481 - undefined()
         events.js:300 - undefined()
         events.js:210 - undefined()
         domain.js:498 - undefined()
            net.js:659 - undefined()] {
  code: 'ECONNRESET'
}
[---------------------------------------------------------
error: Error: read ECONNRESET
---------------------------------------------------------
stack:
   stream_base_commons.js:201 - undefined()] {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read'
}
[---------------------------------------------------------
error: Error: read ECONNRESET
---------------------------------------------------------
stack:
   stream_base_commons.js:201 - undefined()] {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read'
}
[---------------------------------------------------------
error: Error: read ECONNRESET
---------------------------------------------------------
stack:
   stream_base_commons.js:201 - undefined()] {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read'
}
[---------------------------------------------------------
error: Error: connect ETIMEDOUT 172.217.160.74:443
---------------------------------------------------------
stack:
   net.js:1129 - undefined()] {
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '172.217.160.74',
  port: 443
}
[---------------------------------------------------------
error: Error: read ECONNRESET
---------------------------------------------------------
stack:
   stream_base_commons.js:201 - undefined()] {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read'
}
[---------------------------------------------------------
error: Error: read ECONNRESET
---------------------------------------------------------
stack:
   stream_base_commons.js:201 - undefined()] {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read'
}
[---------------------------------------------------------
error: Error: read ECONNRESET
---------------------------------------------------------
stack:
   stream_base_commons.js:201 - undefined()] {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read'
}
[---------------------------------------------------------
error: Error: connect ETIMEDOUT 172.217.160.74:443
---------------------------------------------------------
stack:
   net.js:1129 - undefined()] {
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '172.217.160.74',
  port: 443
}
[---------------------------------------------------------
error: Error: connect ETIMEDOUT 172.217.160.74:443
---------------------------------------------------------
stack:
   net.js:1129 - undefined()] {
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '172.217.160.74',
  port: 443
@zjfresh
Copy link

zjfresh commented Jun 19, 2020

握爪,我也是16th,然后调试webview也是不行,有时能连上,但操作页面后不久就报错然后断开……感觉都没法用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants