9.0 vivo 手机推送

android
标签: #<Tag:0x00007f83da19eaa0>

(Tssss🏅) #1

vivo 9.0最新的iqcc 接收不到后台推送 只能接收 REGISTRITION ID 请问是什么情况?


#2

你的意思是 App 置于后台之后,消息收不到?

查看长连接断开了没有,SDK 版本是否过低


(Tssss🏅) #3

没有断开 3.2.0 的版本
其它android版本至少还能接收到消息在 log 中打印出来 这个9.0是直接收不到
ACTION 只有 REGISTRATION ID


#4


查看完整的 logcat

你这个手机是集成成功以及取到了 registrationID 吗


(Tssss🏅) #5

是的 以及获取到 registration id 了
VIVO 新发布的 IQCC子品牌的那一款 android 9.0


#6

1、看完整的 logcat ,提供过来

2、提供 registrationID 和 MessageID 我查下消息是否送达


(Tssss🏅) #7

image
前台的时候连接状态都是 false ,请问可能是什么原因?

关键是其它手机都可以, 就这个 9.0 连接为 false


(Tssss🏅) #8

9.0 连不上你们的JPUSH服务器 连接状态一直为 false

其它的例如 MEIZU 16th 都是正常的


#9

给出完整的客户端日志,,检查这个手机上是否有什么权限限制


(Tssss🏅) #10
2019-04-16 16:49:11.761 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:10065
2019-04-16 16:49:11.780 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [JiguangTcpManager] isRunning:false
2019-04-16 16:49:11.780 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [NetworkingClient] Action - tryStop - connection:0
2019-04-16 16:49:11.783 10065-10491/com.dajia.view.zhdj:remote I/JIGUANG-JCore: [NetworkingClient] Begin to run in ConnectingThread - id:6624
2019-04-16 16:49:11.799 10065-10491/com.dajia.view.zhdj:remote D/StrictMode: StrictMode policy violation: android.os.strictmode.UntaggedSocketViolation: Untagged socket detected; use TrafficStats.setThreadSocketTag() to track all network usage
        at android.os.StrictMode.onUntaggedSocket(StrictMode.java:2023)
        at com.android.server.NetworkManagementSocketTagger.tag(NetworkManagementSocketTagger.java:82)
        at libcore.io.BlockGuardOs.tagSocket(BlockGuardOs.java:50)
        at libcore.io.BlockGuardOs.socket(BlockGuardOs.java:313)
        at libcore.io.IoBridge.socket(IoBridge.java:640)
        at java.net.PlainDatagramSocketImpl.datagramSocketCreate(PlainDatagramSocketImpl.java:197)
        at java.net.AbstractPlainDatagramSocketImpl.create(AbstractPlainDatagramSocketImpl.java:92)
        at java.net.DatagramSocket.createImpl(DatagramSocket.java:357)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:259)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:216)
        at cn.jiguang.d.b.a.a.i.a(Unknown Source:13)
        at cn.jiguang.d.b.a.a.a.a(Unknown Source:6)
        at cn.jiguang.d.b.a.a.f.b(Unknown Source:18)
        at cn.jiguang.d.b.g.a(Unknown Source:32)
        at cn.jiguang.d.b.g.run(Unknown Source:32)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
2019-04-16 16:49:11.810 10065-10491/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [SisPolicy] To get sis - host:139.198.14.15, port:19000 ,type:hardcode_domain
2019-04-16 16:49:11.823 10065-10491/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [ConnectingHelper] SIS Receiving...
2019-04-16 16:49:11.964 10065-10491/com.dajia.view.zhdj:remote I/JIGUANG-JCore: [SisPolicy] Get sis info succeed with host: 139.198.14.15 type:hardcode_domain
2019-04-16 16:49:12.035 10065-10491/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [SisPolicy] Open connection with main - ip:117.121.49.99, port:7000
2019-04-16 16:49:12.038 10065-10491/com.dajia.view.zhdj:remote D/StrictMode: StrictMode policy violation: android.os.strictmode.UntaggedSocketViolation: Untagged socket detected; use TrafficStats.setThreadSocketTag() to track all network usage
        at android.os.StrictMode.onUntaggedSocket(StrictMode.java:2023)
        at com.android.server.NetworkManagementSocketTagger.tag(NetworkManagementSocketTagger.java:82)
        at sun.nio.ch.Net.socket0(Native Method)
        at sun.nio.ch.Net.socket(Net.java:420)
        at sun.nio.ch.Net.socket(Net.java:413)
        at sun.nio.ch.SocketChannelImpl.<init>(SocketChannelImpl.java:130)
        at sun.nio.ch.SelectorProviderImpl.openSocketChannel(SelectorProviderImpl.java:60)
        at java.nio.channels.SocketChannel.open(SocketChannel.java:145)
        at cn.jiguang.d.g.b.a(Unknown Source:9)
        at cn.jiguang.d.b.a.a.i.b(Unknown Source:233)
        at cn.jiguang.d.b.a.a.a.a(Unknown Source:10)
        at cn.jiguang.d.b.a.a.f.b(Unknown Source:18)
        at cn.jiguang.d.b.g.a(Unknown Source:32)
        at cn.jiguang.d.b.g.run(Unknown Source:32)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
2019-04-16 16:49:12.107 10065-10491/com.dajia.view.zhdj:remote I/JIGUANG-JCore: [SisPolicy] Succeed to open connection - ip:117.121.49.99, port:7000
2019-04-16 16:49:12.133 10065-10491/com.dajia.view.zhdj:remote I/JIGUANG-JCore: [ConnectingHelper] Login with - juid:24064474834, appKey:f4573f8267fd97ba4862c7be, sdkVersion:66055, pushVersion:197120, analyticsVersion:0 ,shareVersion:0,sspSdkVer:0,verificationSdkVer:0, pluginPlatformType:0
2019-04-16 16:49:12.228 10065-10491/com.dajia.view.zhdj:remote W/JIGUANG-JCore: [ConnectingHelper] Login failed - recv msg failed wit error code:-996,msg:read len < 0:-1
2019-04-16 16:49:12.229 10065-10491/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [NetworkingClient] Action - closeConnection - connection:6624
2019-04-16 16:49:12.231 10065-10491/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [NetworkingClient] prepare Push Channel failed , returned
2019-04-16 16:49:12.231 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [JiguangTcpManager] Action - onDisconnected - connection:0
2019-04-16 16:49:12.250 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [NetworkingClient] Action - tryStop - connection:0
2019-04-16 16:49:12.258 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [JiguangTcpManager] Action - retryConnect - disconnectedTimes:4
2019-04-16 16:49:12.264 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [JiguangTcpManager] onDisconnected and retry restart conn - delay:48000
2019-04-16 16:49:46.216 10065-10162/com.dajia.view.zhdj:remote D/JIGUANG-JPush: [JPushDataAction] Action - onActionRun
2019-04-16 16:49:46.216 10065-10162/com.dajia.view.zhdj:remote D/JIGUANG-JPush: [PushServiceCore] bundle:Bundle[{action=com.dajia.view.zhdj.intent.ALIAS_TAGS, proto_type=0, seq_id=5367, tags=null, alias=null, protoaction_type=0, sdktype=JPUSH}]
2019-04-16 16:49:46.216 10065-10162/com.dajia.view.zhdj:remote D/JIGUANG-JPush: [PushServiceCore] Action - handleServiceAction - action:com.dajia.view.zhdj.intent.ALIAS_TAGS
2019-04-16 16:49:46.216 10065-10162/com.dajia.view.zhdj:remote E/JIGUANG-JPush: [TagAliasHelper] NULL alias and tags. Give up action.
2019-04-16 16:49:46.217 10065-10162/com.dajia.view.zhdj:remote D/JIGUANG-JPush: [TagAliasHelper] tagalias:null
2019-04-16 16:50:00.313 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:10065
2019-04-16 16:50:00.341 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [JiguangTcpManager] isRunning:false
2019-04-16 16:50:00.341 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [NetworkingClient] Action - tryStop - connection:0
2019-04-16 16:50:00.344 10065-10661/com.dajia.view.zhdj:remote I/JIGUANG-JCore: [NetworkingClient] Begin to run in ConnectingThread - id:6626
2019-04-16 16:50:00.362 10065-10661/com.dajia.view.zhdj:remote D/StrictMode: StrictMode policy violation: android.os.strictmode.UntaggedSocketViolation: Untagged socket detected; use TrafficStats.setThreadSocketTag() to track all network usage
        at android.os.StrictMode.onUntaggedSocket(StrictMode.java:2023)
        at com.android.server.NetworkManagementSocketTagger.tag(NetworkManagementSocketTagger.java:82)
        at libcore.io.BlockGuardOs.tagSocket(BlockGuardOs.java:50)
        at libcore.io.BlockGuardOs.socket(BlockGuardOs.java:313)
        at libcore.io.IoBridge.socket(IoBridge.java:640)
        at java.net.PlainDatagramSocketImpl.datagramSocketCreate(PlainDatagramSocketImpl.java:197)
        at java.net.AbstractPlainDatagramSocketImpl.create(AbstractPlainDatagramSocketImpl.java:92)
        at java.net.DatagramSocket.createImpl(DatagramSocket.java:357)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:259)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:216)
        at cn.jiguang.d.b.a.a.i.a(Unknown Source:13)
        at cn.jiguang.d.b.a.a.a.a(Unknown Source:6)
        at cn.jiguang.d.b.a.a.f.b(Unknown Source:18)
        at cn.jiguang.d.b.g.a(Unknown Source:32)
        at cn.jiguang.d.b.g.run(Unknown Source:32)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
2019-04-16 16:50:00.371 10065-10661/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [SisPolicy] To get sis - host:139.198.14.15, port:19000 ,type:hardcode_domain
2019-04-16 16:50:00.383 10065-10661/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [ConnectingHelper] SIS Receiving...
2019-04-16 16:50:00.504 10065-10661/com.dajia.view.zhdj:remote I/JIGUANG-JCore: [SisPolicy] Get sis info succeed with host: 139.198.14.15 type:hardcode_domain
2019-04-16 16:50:00.563 10065-10661/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [SisPolicy] Open connection with main - ip:43.247.88.78, port:7000
2019-04-16 16:50:00.566 10065-10661/com.dajia.view.zhdj:remote D/StrictMode: StrictMode policy violation: android.os.strictmode.UntaggedSocketViolation: Untagged socket detected; use TrafficStats.setThreadSocketTag() to track all network usage
        at android.os.StrictMode.onUntaggedSocket(StrictMode.java:2023)
        at com.android.server.NetworkManagementSocketTagger.tag(NetworkManagementSocketTagger.java:82)
        at sun.nio.ch.Net.socket0(Native Method)
        at sun.nio.ch.Net.socket(Net.java:420)
        at sun.nio.ch.Net.socket(Net.java:413)
        at sun.nio.ch.SocketChannelImpl.<init>(SocketChannelImpl.java:130)
        at sun.nio.ch.SelectorProviderImpl.openSocketChannel(SelectorProviderImpl.java:60)
        at java.nio.channels.SocketChannel.open(SocketChannel.java:145)
        at cn.jiguang.d.g.b.a(Unknown Source:9)
        at cn.jiguang.d.b.a.a.i.b(Unknown Source:233)
        at cn.jiguang.d.b.a.a.a.a(Unknown Source:10)
        at cn.jiguang.d.b.a.a.f.b(Unknown Source:18)
        at cn.jiguang.d.b.g.a(Unknown Source:32)
        at cn.jiguang.d.b.g.run(Unknown Source:32)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
2019-04-16 16:50:00.648 10065-10661/com.dajia.view.zhdj:remote I/JIGUANG-JCore: [SisPolicy] Succeed to open connection - ip:43.247.88.78, port:7000
2019-04-16 16:50:00.707 10065-10661/com.dajia.view.zhdj:remote I/JIGUANG-JCore: [ConnectingHelper] Login with - juid:24064474834, appKey:f4573f8267fd97ba4862c7be, sdkVersion:66055, pushVersion:197120, analyticsVersion:0 ,shareVersion:0,sspSdkVer:0,verificationSdkVer:0, pluginPlatformType:0
2019-04-16 16:50:00.808 10065-10661/com.dajia.view.zhdj:remote W/JIGUANG-JCore: [ConnectingHelper] Login failed - recv msg failed wit error code:-996,msg:read len < 0:-1
2019-04-16 16:50:00.810 10065-10661/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [NetworkingClient] Action - closeConnection - connection:6626
2019-04-16 16:50:00.811 10065-10661/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [NetworkingClient] prepare Push Channel failed , returned
2019-04-16 16:50:00.811 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [JiguangTcpManager] Action - onDisconnected - connection:0
2019-04-16 16:50:00.826 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [NetworkingClient] Action - tryStop - connection:0
2019-04-16 16:50:00.830 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [JiguangTcpManager] Action - retryConnect - disconnectedTimes:5
2019-04-16 16:53:13.487 10065-10162/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:10065
2019-04-16 16:53:13.489 10065-10162/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [JiguangTcpManager] isRunning:false
2019-04-16 16:53:13.489 10065-10162/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [NetworkingClient] Action - tryStop - connection:0
2019-04-16 16:53:13.491 10065-11311/com.dajia.view.zhdj:remote I/JIGUANG-JCore: [NetworkingClient] Begin to run in ConnectingThread - id:6629
2019-04-16 16:53:13.493 10065-11312/com.dajia.view.zhdj:remote I/JIGUANG-JCore: [ReportHelper] periodTasks...
2019-04-16 16:53:13.499 10065-10065/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [PushReceiver] onReceive - cn.jpush.android.intent.ACTION_REPORT_HISTORY
2019-04-16 16:53:13.501 10065-10141/com.dajia.view.zhdj:remote D/JIGUANG-JPush: [PushReceiverCore] onReceive - cn.jpush.android.intent.ACTION_REPORT_HISTORY
2019-04-16 16:53:13.519 10065-11311/com.dajia.view.zhdj:remote D/StrictMode: StrictMode policy violation: android.os.strictmode.UntaggedSocketViolation: Untagged socket detected; use TrafficStats.setThreadSocketTag() to track all network usage
        at android.os.StrictMode.onUntaggedSocket(StrictMode.java:2023)
        at com.android.server.NetworkManagementSocketTagger.tag(NetworkManagementSocketTagger.java:82)
        at libcore.io.BlockGuardOs.tagSocket(BlockGuardOs.java:50)
        at libcore.io.BlockGuardOs.socket(BlockGuardOs.java:313)
        at libcore.io.IoBridge.socket(IoBridge.java:640)
        at java.net.PlainDatagramSocketImpl.datagramSocketCreate(PlainDatagramSocketImpl.java:197)
        at java.net.AbstractPlainDatagramSocketImpl.create(AbstractPlainDatagramSocketImpl.java:92)
        at java.net.DatagramSocket.createImpl(DatagramSocket.java:357)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:259)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:216)
        at cn.jiguang.d.b.a.a.i.a(Unknown Source:13)
        at cn.jiguang.d.b.a.a.a.a(Unknown Source:6)
        at cn.jiguang.d.b.a.a.f.b(Unknown Source:18)
        at cn.jiguang.d.b.g.a(Unknown Source:32)
        at cn.jiguang.d.b.g.run(Unknown Source:32)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
2019-04-16 16:53:13.534 10065-11311/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [SisPolicy] To get sis - host:43.247.88.107, port:19000 ,type:hardcode_domain
2019-04-16 16:53:13.543 10065-11311/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [ConnectingHelper] SIS Receiving...
2019-04-16 16:53:13.594 10065-10163/com.dajia.view.zhdj:remote D/StrictMode: StrictMode policy violation: android.os.strictmode.UntaggedSocketViolation: Untagged socket detected; use TrafficStats.setThreadSocketTag() to track all network usage
        at android.os.StrictMode.onUntaggedSocket(StrictMode.java:2023)
        at com.android.server.NetworkManagementSocketTagger.tag(NetworkManagementSocketTagger.java:82)
        at libcore.io.BlockGuardOs.tagSocket(BlockGuardOs.java:50)
        at libcore.io.BlockGuardOs.socket(BlockGuardOs.java:313)
        at libcore.io.IoBridge.socket(IoBridge.java:640)
        at java.net.PlainSocketImpl.socketCreate(PlainSocketImpl.java:124)
        at java.net.AbstractPlainSocketImpl.create(AbstractPlainSocketImpl.java:128)
        at java.net.Socket.createImpl(Socket.java:489)
        at java.net.Socket.getImpl(Socket.java:552)
        at java.net.Socket.setSoTimeout(Socket.java:1180)
        at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:139)
        at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:112)
        at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:184)
        at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126)
        at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95)
        at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:281)
        at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224)
        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:461)
        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)
        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:258)
        at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
        at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:26)
        at cn.jiguang.net.HttpUtils.a(Unknown Source:121)
        at cn.jiguang.net.HttpUtils.httpPost(Unknown Source:1)
        at cn.jiguang.d.d.h.a(Unknown Source:166)
        at cn.jiguang.d.d.x.a(Unknown Source:227)
        at cn.jiguang.d.d.p.a(Unknown Source:236)
        at cn.jiguang.d.d.t.run(Unknown Source:24)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
2019-04-16 16:53:13.594 10065-10147/com.dajia.view.zhdj:remote D/StrictMode: StrictMode policy violation: android.os.strictmode.UntaggedSocketViolation: Untagged socket detected; use TrafficStats.setThreadSocketTag() to track all network usage
        at android.os.StrictMode.onUntaggedSocket(StrictMode.java:2023)
        at com.android.server.NetworkManagementSocketTagger.tag(NetworkManagementSocketTagger.java:82)
        at libcore.io.BlockGuardOs.tagSocket(BlockGuardOs.java:50)
        at libcore.io.BlockGuardOs.socket(BlockGuardOs.java:313)
        at libcore.io.IoBridge.socket(IoBridge.java:640)
        at java.net.PlainSocketImpl.socketCreate(PlainSocketImpl.java:124)
        at java.net.AbstractPlainSocketImpl.create(AbstractPlainSocketImpl.java:128)
        at java.net.Socket.createImpl(Socket.java:489)
        at java.net.Socket.getImpl(Socket.java:552)
        at java.net.Socket.setSoTimeout(Socket.java:1180)
        at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:139)
        at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:112)
        at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:184)
        at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126)
        at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95)
        at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:281)
        at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224)
        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:461)
        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)
        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:258)
        at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
        at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:26)
        at cn.jiguang.net.HttpUtils.a(Unknown Source:121)
        at cn.jiguang.net.HttpUtils.httpPost(Unknown Source:1)
        at cn.jiguang.d.d.h.a(Unknown Source:166)
        at cn.jiguang.d.d.v.b(Unknown Source:6)
        at cn.jiguang.d.d.v.a(Unknown Source:0)
        at cn.jiguang.d.d.w.run(Unknown Source:62)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
2019-04-16 16:53:13.638 10065-11311/com.dajia.view.zhdj:remote I/JIGUANG-JCore: [SisPolicy] Get sis info succeed with host: 43.247.88.107 type:hardcode_domain
2019-04-16 16:53:13.710 10065-11311/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [SisPolicy] Open connection with main - ip:121.46.20.60, port:7000
2019-04-16 16:53:13.713 10065-11311/com.dajia.view.zhdj:remote D/StrictMode: StrictMode policy violation: android.os.strictmode.UntaggedSocketViolation: Untagged socket detected; use TrafficStats.setThreadSocketTag() to track all network usage
        at android.os.StrictMode.onUntaggedSocket(StrictMode.java:2023)
        at com.android.server.NetworkManagementSocketTagger.tag(NetworkManagementSocketTagger.java:82)
        at sun.nio.ch.Net.socket0(Native Method)
        at sun.nio.ch.Net.socket(Net.java:420)
        at sun.nio.ch.Net.socket(Net.java:413)
        at sun.nio.ch.SocketChannelImpl.<init>(SocketChannelImpl.java:130)
        at sun.nio.ch.SelectorProviderImpl.openSocketChannel(SelectorProviderImpl.java:60)
        at java.nio.channels.SocketChannel.open(SocketChannel.java:145)
        at cn.jiguang.d.g.b.a(Unknown Source:9)
        at cn.jiguang.d.b.a.a.i.b(Unknown Source:233)
        at cn.jiguang.d.b.a.a.a.a(Unknown Source:10)
        at cn.jiguang.d.b.a.a.f.b(Unknown Source:18)
        at cn.jiguang.d.b.g.a(Unknown Source:32)
        at cn.jiguang.d.b.g.run(Unknown Source:32)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
2019-04-16 16:53:13.790 10065-11311/com.dajia.view.zhdj:remote I/JIGUANG-JCore: [SisPolicy] Succeed to open connection - ip:121.46.20.60, port:7000
2019-04-16 16:53:13.847 10065-11311/com.dajia.view.zhdj:remote I/JIGUANG-JCore: [ConnectingHelper] Login with - juid:24064474834, appKey:f4573f8267fd97ba4862c7be, sdkVersion:66055, pushVersion:197120, analyticsVersion:0 ,shareVersion:0,sspSdkVer:0,verificationSdkVer:0, pluginPlatformType:0
2019-04-16 16:53:13.896 10065-10163/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [HttpHelper] status code:401 retry left:2
2019-04-16 16:53:13.932 10065-10147/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [HttpHelper] status code:200 retry left:2
2019-04-16 16:53:13.943 10065-11311/com.dajia.view.zhdj:remote W/JIGUANG-JCore: [ConnectingHelper] Login failed - recv msg failed wit error code:-996,msg:read len < 0:-1
2019-04-16 16:53:13.944 10065-11311/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [NetworkingClient] Action - closeConnection - connection:6629
2019-04-16 16:53:13.945 10065-11311/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [NetworkingClient] prepare Push Channel failed , returned
2019-04-16 16:53:13.948 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [JiguangTcpManager] Action - onDisconnected - connection:0
2019-04-16 16:53:13.950 10065-10148/com.dajia.view.zhdj:remote D/StrictMode: StrictMode policy violation: android.os.strictmode.UntaggedSocketViolation: Untagged socket detected; use TrafficStats.setThreadSocketTag() to track all network usage
        at android.os.StrictMode.onUntaggedSocket(StrictMode.java:2023)
        at com.android.server.NetworkManagementSocketTagger.tag(NetworkManagementSocketTagger.java:82)
        at libcore.io.BlockGuardOs.tagSocket(BlockGuardOs.java:50)
        at libcore.io.BlockGuardOs.socket(BlockGuardOs.java:313)
        at libcore.io.IoBridge.socket(IoBridge.java:640)
        at java.net.PlainDatagramSocketImpl.datagramSocketCreate(PlainDatagramSocketImpl.java:197)
        at java.net.AbstractPlainDatagramSocketImpl.create(AbstractPlainDatagramSocketImpl.java:92)
        at java.net.DatagramSocket.createImpl(DatagramSocket.java:357)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:259)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:216)
        at cn.jiguang.d.b.a.d.f(Unknown Source:10)
        at cn.jiguang.d.b.a.a.f.run(Unknown Source:2)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
2019-04-16 16:53:13.965 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [NetworkingClient] Action - tryStop - connection:0
2019-04-16 16:53:13.967 10065-10159/com.dajia.view.zhdj:remote D/JIGUANG-JCore: [JiguangTcpManager] Action - retryConnect - disconnectedTimes:6

#11

你手机连的是什么网络,WiFi 还是 4 G,目前看日志是登陆失败了,我查询这个设备最后上线时间是2019-04-16 16:08:57


(Tssss🏅) #12

WIFI 这个wifi是可以访问网络的

请问登陆失败的原因一般有哪些


#13

目前报的是 -996 ,与网络有关系,你切换为 4 G 后测试看有没有问题,能访问网络不代表他允许访问到极光服务器


(EndeRHoshI) #14

我也遇到类似的问题,切换网络没有效果,但是同一网络环境下其他机型可以正常使用,我尝试了几款vivo的Android9.0的机型(iqoo、V1816A、vivo NEX A),都会出现如下问题:在获取所有tag时,报6021错误码(tags 操作正在进行中,暂时不能进行其他 tags 操作),而设置、删除、添加tag时,报6002错误码(设置超时)


(EndeRHoshI) #15

更新最新jcore,并且自定义Service继承JCommonService,解决问题了