收藏
回答

坚果手机通过服务通知进入到小程序后,请求api系统报错

问题模块
API和组件



sure that touchstart handler has been defined in pages/secretlist/secretlist, or pages/secretlist/secretlist has been added into app.json
09-20 19:19:19.532 31970-6067/? W/X5JavaBridge: Do not have touchend handler in current page: pages/secretlist/secretlist. Please make sure that touchend handler has been defined in pages/secretlist/secretlist, or pages/secretlist/secretlist has been added into app.json
09-20 19:19:19.930 6944-7211/? W/art: Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[31,tid=7211,Native,Thread*=0xb75ae318,peer=0x1359c100,"default"]
09-20 19:19:20.473 333-333/? E/QCALOG: [MessageQ] ProcessNewMessage: [XTWiFi-PE] unknown deliver target [OS-Agent]
09-20 19:19:20.825 5885-8927/? W/GLSUser: [AppCertManager] IOException while requesting key:
   java.net.SocketTimeoutException: failed to connect to android.clients.google.com/74.125.204.100 (port 443) after 30000ms
   at libcore.io.IoBridge.connectErrno(IoBridge.java:169)
   at libcore.io.IoBridge.connect(IoBridge.java:122)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:456)
   at java.net.Socket.connect(Socket.java:882)
   at com.android.okhttp.internal.Platform.connectSocket(Platform.java:174)
   at com.android.okhttp.Connection.connect(Connection.java:152)
   at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:276)
   at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:211)
   at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:382)
   at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:106)
   at com.android.okhttp.internal.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:217)
   at com.android.okhttp.internal.http.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
   at com.android.okhttp.internal.http.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:25)
   at rxt.a(:com.google.android.gms:50)
   at rxt.a(:com.google.android.gms:77)
   at rxt.execute(:com.google.android.gms:7)
   at rxt.execute(:com.google.android.gms:6)
   at ecy.a(:com.google.android.gms:68)
   at etw.a(:com.google.android.gms:8)
   at etw.a(:com.google.android.gms:69)
   at etu.a(:com.google.android.gms:11)
   at etq.a(:com.google.android.gms:0)
   at etp.a(:com.google.android.gms:9)
   at com.google.android.gms.auth.account.be.legacy.AuthCronChimeraService.b(:com.google.android.gms:8)
   at ecq.call(:com.google.android.gms:2)
   at java.util.concurrent.FutureTask.run(FutureTask.java:237)
   at lhs.run(:com.google.android.gms:24)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at lmu.run(:com.google.android.gms:0)
at java.lang.Thread.run(Thread.java:818)
   09-20 19:19:20.855 5885-13615/? E/ctxmgr: [BaseServerTask]Server task (FetchAclSet) got error statusCode=-1.
   com.android.volley.VolleyError: Unable to obtain auth token - is the device online?
   at clr.a(:com.google.android.gms:66)
   at cgv.run(:com.google.android.gms:1)
   at cgt.handleMessage(:com.google.android.gms:2)
   at lhi.run(:com.google.android.gms:5)
   at lhs.run(:com.google.android.gms:24)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at lmu.run(:com.google.android.gms:0)
at java.lang.Thread.run(Thread.java:818)
   09-20 19:19:20.867 5885-13615/? W/ctxmgr: [WorkManager]Long workInfo: pkg=com.google.android.gms, lbl=NetworkManager#getAcl, start=2017-09-20 19:11:50.081+0800, stop=2017-09-20 19:19:20.866+0800, durtn=450785ms
   09-20 19:19:20.888 5885-13615/? E/ctxmgr: [AccountAclCallback]Failed Acl fetch: network status=-1
   09-20 19:19:22.968 333-333/? E/QCALOG: [MessageQ] ProcessNewMessage: [XT-CS] unknown deliver target [OS-Agent]
   09-20 19:19:23.107 5371-5371/? W/Atfwd_Sendcmd: AtCmdFwd service not published, waiting... retryCnt : 3
   09-20 19:19:25.474 333-333/? E/QCALOG: [MessageQ] ProcessNewMessage: [XTWiFi-PE] unknown d


现象:通过服务通知进入小程序,在小程序中点击功能按钮,发出请求,安卓系统报错,服务端查看日志正常返回,小程序前端没有拿到返回数据。

查看手机日志,发现系统报错。大概20%几率 偶现


服务端查看日志正常返回


机型:坚果手机




最后一次编辑于  2017-09-20  (未经腾讯允许,不得转载)
回答关注问题邀请回答
收藏