|
/

照着官方文档PushAgent.getInstance(context).regist失败

Cc*
发布于 1 年前
71319来自河南省
消息推送 U-Push
SDK集成与升级

E/PushHelper: 注册失败 code:-11, desc:accs bindapp error!

E/awcn.DispatchCore: |[seq:AMDC2] amdc request fail

java.net.SocketTimeoutException: failed to connect to amdcopen.m.taobao.com/203.119.205.154 (port 443) from /192.168.3.145 (port 38116) after 20000ms

at libcore.io.IoBridge.connectErrno(IoBridge.java:236)

at libcore.io.IoBridge.connect(IoBridge.java:180)

at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)

at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)

at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)

at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)

at java.net.Socket.connect(Socket.java:621)

at com.android.okhttp.internal.Platform.connectSocket(Platform.java:182)

at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:145)

at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116)

at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:186)

at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:128)

at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:97)

at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:289)

at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:232)

at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:465)

at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:131)

at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:262)

at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:219)

at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:30)

at anet.channel.strategy.dispatch.b.a(Taobao:206)

at anet.channel.strategy.dispatch.b.a(Taobao:122)

at anet.channel.strategy.dispatch.a$a.run(Taobao:78)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)

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:930)

I/awcn.DispatchCore: |[seq:AMDC3] send amdc request url:https://106.11.61.135:443/amdc/mobileDispatch?appkey=umeng%3Aba6a5259c4ab4af3&platform=android&v=5.0

host:amdcopen.m.taobao.com umengacs.m.taobao.com

D/awcn.DispatchCore: |[seq:AMDC3] amdc request. headers:{Accept-Encoding=[gzip], Connection=[close], Host=[amdcopen.m.taobao.com]}

E/awcn.DispatchCore: |[seq:AMDC3] amdc request fail

java.net.SocketTimeoutException: failed to connect to /106.11.61.135 (port 443) from /192.168.3.145 (port 45186) after 20000ms

at libcore.io.IoBridge.connectErrno(IoBridge.java:236)

at libcore.io.IoBridge.connect(IoBridge.java:180)

at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)

at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)

at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)

at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)

at java.net.Socket.connect(Socket.java:621)

at com.android.okhttp.internal.Platform.connectSocket(Platform.java:182)

at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:145)

at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116)

at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:186)

at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:128)

at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:97)

at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:289)

at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:232)

at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:465)

at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:131)

at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:262)

at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:219)

at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:30)

at anet.channel.strategy.dispatch.b.a(Taobao:206)

at anet.channel.strategy.dispatch.b.a(Taobao:122)

at anet.channel.strategy.dispatch.a$a.run(Taobao:78)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)

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:930)

7个回答
 
1 年前
来自上海

楼主你好,你可以提交一个工单找友盟官方核实一下

 
1 年前
来自美国

E/PushHelper: register failed! code:-11,desc:accs bindapp error!

 
1 年前
来自河南省

E/UMLog: ┌───────────────────问题─────────────────────────────────────────────────────────────────────────────

E/UMLog: │ 无法获取到device token

E/UMLog: ├───────────────────解决方案─────────────────────────────────────────────────────────────────────────────

E/UMLog: │ 注册不成功,无法获取到device token,提示accs bind error,或者TNET_LOAD_SO_FAIL。详见问题链接 https://developer.umeng.com/docs/66632/detail/67080?um_channel=sdk

E/UMLog: └────────────────────────────────────────────────────────────────────────────────────────────────────────────────

补充日志,如上

集成照着这里做的。

https://developer.umeng.com/docs/67966/detail/206987

文档里也没写配置so啊 跟这个有关系吗

 
1 年前
来自浙江省

你好,报错-11,desc:accs bindapp error! 检查一下网络是否正常,切换其它网络方式试一下。

 
1 年前
来自河南省

麻烦帮忙看一下。十万火急

Loading ...
登录社区,分享你的经验