调用JShare的api获取微博授权的时候报错


#1

你好,我调用JShare的api

+ (void)getSocialUserInfo:(JSHAREPlatform)platform
                  handler:(JSHARESocialHandler)handler

来获取微博授权的时候报错

Error Domain=JShareErrorDomain_Sina_Oauth Code=-1 "(null)" UserInfo={statusCode=-1, requestID=3E236035-D362-4B24-9E3F-8BD323E4109E, __class=WBAuthorizeResponse, responseID=FCEDBF40-B7BF-4D6A-BA6B-CABF359D05CD}

请问是什么原因呢?


#2

iOS 平台吗?SDK 版本多少

使用 demo 有报这个错吗


#3

ios平台,SDK版本1.6.0。demo报的是
Error Domain=JShareErrorDomain Code=40010 “(null)” UserInfo={error_message=未完成初始化。}


#4

我根据SDK集成指南配置了NSAppTransportSecurity就报JShareErrorDomain_Sina_Oauth这个错误了,是这个原因么?


#5

这是demo打印的日志

2018-12-21 16:06:31.259103+0800 JShareDemo[9690:4256284]  | JIGUANG | I - [JIGUANGService] 
--------------------------- JShare Log ----------------------------
--------------------JShare SDK Version:1.6.0--build:64----------
--------------------JCore Lib Version:1.2.6--build:68-----------------
-----------------AppKey:0a20b6277a625655791e3cd9----------------
----------------------------------------------------------------
2018-12-21 16:06:31.260790+0800 JShareDemo[9690:4256284]  | JIGUANG | I - [JIGUANGClientController] Action - setup
2018-12-21 16:06:31.308312+0800 JShareDemo[9690:4256282]  | JIGUANG | D - [JIGUANGPageFlow] trySetupSession
2018-12-21 16:06:31.308443+0800 JShareDemo[9690:4256282]  | JIGUANG | D - [JIGUANGPageFlow] setupSession
2018-12-21 16:06:31.333871+0800 JShareDemo[9690:4256283]  | JIGUANG | D - [JIGUANGUserActiveReport] report content {
    date = "2018-12-21";
    duration = "445.8";
    itime = 1545379591;
    "session_id" = 5506643faf932fb20f3f7132adb7f310;
    time = "16:05:58";
    timezone = "+8";
    type = "active_terminate";
}
2018-12-21 16:06:31.338682+0800 JShareDemo[9690:4256283]  | JIGUANG | D - [JIGUANGHttpSessionController] Action - setupSession
2018-12-21 16:06:31.349425+0800 JShareDemo[9690:4256283]  | JIGUANG | D - [JIGUANGNetworkController] Action - trySetupSession
2018-12-21 16:06:31.349737+0800 JShareDemo[9690:4256283]  | JIGUANG | D - [JIGUANGHttpSessionController] Action - setupSession
2018-12-21 16:06:31.349791+0800 JShareDemo[9690:4256283]  | JIGUANG | D - [JIGUANGNetworkController] userDefaut verified: 1
2018-12-21 16:06:31.349838+0800 JShareDemo[9690:4256283]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPFNetworkIsConnectingNotification (null)
2018-12-21 16:06:31.349994+0800 JShareDemo[9690:4256283]  | JIGUANG | D - [JIGUANGSessionController] Action - connect
2018-12-21 16:06:31.350038+0800 JShareDemo[9690:4256283]  | JIGUANG | D - [JIGUANGSessionController] Action - isSisOnProtect
2018-12-21 16:06:31.351920+0800 JShareDemo[9690:4256283]  | JIGUANG | D - [JIGUANGSessionController] sis is not on protect
2018-12-21 16:06:31.351992+0800 JShareDemo[9690:4256283]  | JIGUANG | D - [JIGUANGSessionController] Action - reset sis cache
2018-12-21 16:06:31.352069+0800 JShareDemo[9690:4256283]  | JIGUANG | D - [JIGUANGAddressController] 开始Sis解析
2018-12-21 16:06:31.352126+0800 JShareDemo[9690:4256283]  | JIGUANG | D - [JIGUANGAddressController] Action - sendSisRequest
2018-12-21 16:06:31.374760+0800 JShareDemo[9690:4256281]  | JIGUANG | D - [JIGUANGAddressController] get address :124.202.138.32 from host : s.jpush.cn
2018-12-21 16:06:31.375051+0800 JShareDemo[9690:4256281]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - sendSisRequest:toDefaultPort:toCustomPort
2018-12-21 16:06:31.375300+0800 JShareDemo[9690:4256295]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2018-12-21 16:06:31.380153+0800 JShareDemo[9690:4256282] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:31.380282+0800 JShareDemo[9690:4256282] [] nw_endpoint_flow_setup_channel [1.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:31.380496+0800 JShareDemo[9690:4256282] TIC TCP Conn Failed [1:0x1c4174a00]: 1:64 Err(64)
2018-12-21 16:06:31.380670+0800 JShareDemo[9690:4256282] Task <D271B571-777D-48FA-84DC-626132E760C5>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:31.381245+0800 JShareDemo[9690:4256284] NSURLConnection finished with error - code -1004
2018-12-21 16:06:31.385900+0800 JShareDemo[9690:4256284] Missing server connection for kCTConnectionInvalidatedNotification
2018-12-21 16:06:31.387559+0800 JShareDemo[9690:4256281]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data
2018-12-21 16:06:31.390671+0800 JShareDemo[9690:4256281]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data succeed
2018-12-21 16:06:31.391986+0800 JShareDemo[9690:4256283]  | JIGUANG | E - [JIGUANGReportController] https上报错误:无法连接到主机
2018-12-21 16:06:31.392480+0800 JShareDemo[9690:4256284]  | JIGUANG | D - [JIGUANGUdpSocket] udp socket begin send behavior
2018-12-21 16:06:31.462783+0800 JShareDemo[9690:4256282]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - parse
2018-12-21 16:06:31.532053+0800 JShareDemo[9690:4256282]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - parse ips address
2018-12-21 16:06:31.592408+0800 JShareDemo[9690:4256282]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - parseOptionAddress
2018-12-21 16:06:31.649940+0800 JShareDemo[9690:4256282]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2018-12-21 16:06:31.650612+0800 JShareDemo[9690:4256282]  | JIGUANG | D - [JIGUANGSessionController] current network, ipv4
2018-12-21 16:06:31.650698+0800 JShareDemo[9690:4256280]  | JIGUANG | D - [JIGUANGSessionController] Action - connectTcp
2018-12-21 16:06:31.650882+0800 JShareDemo[9690:4256280]  | JIGUANG | D - [JIGUANGSessionController] Action - connectTcpAddress:
2018-12-21 16:06:31.651067+0800 JShareDemo[9690:4256280]  | JIGUANG | D - [JIGUANGSessionController] connectTcp:103.230.236.22:7001
2018-12-21 16:06:31.651194+0800 JShareDemo[9690:4256280]  | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 103.230.236.22,port 7001
2018-12-21 16:06:31.681977+0800 JShareDemo[9690:4256280]  | JIGUANG | D - [JIGUANGTcpSocket] 连接主机成功
2018-12-21 16:06:31.682071+0800 JShareDemo[9690:4256280]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - sisReport:port
2018-12-21 16:06:31.682499+0800 JShareDemo[9690:4256280]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidSetupNotification (null)
2018-12-21 16:06:31.710894+0800 JShareDemo[9690:4256280]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest
2018-12-21 16:06:31.744116+0800 JShareDemo[9690:4256280]  | JIGUANG | I - [JIGUANGLogin] 
----- login result -----
uid:16451304218 
registrationID:171976fa8aaf3ed5701 
idc:1
2018-12-21 16:06:31.744233+0800 JShareDemo[9690:4256280]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2018-12-21 16:06:31.744402+0800 JShareDemo[9690:4256280]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:
2018-12-21 16:06:31.744696+0800 JShareDemo[9690:4256280]  | JIGUANG | D - [JIGUANGSessionController] Event - onLoginRespond
2018-12-21 16:06:31.871746+0800 JShareDemo[9690:4256280]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidLoginNotification (null)
2018-12-21 16:06:31.872976+0800 JShareDemo[9690:4256280]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidCloseNotification (null)
2018-12-21 16:06:31.873341+0800 JShareDemo[9690:4256280]  | JIGUANG | D - [JIGUANGSessionController] Action - reenqueueSendingRequests
2018-12-21 16:06:31.873639+0800 JShareDemo[9690:4256280]  | JIGUANG | D - [JIGUANGTcpSocket] 关闭TCP连接
2018-12-21 16:06:31.874072+0800 JShareDemo[9690:4256280]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2018-12-21 16:06:31.899362+0800 JShareDemo[9690:4256283] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:31.899504+0800 JShareDemo[9690:4256283] [] nw_endpoint_flow_setup_channel [2.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:31.899829+0800 JShareDemo[9690:4256283] TIC TCP Conn Failed [2:0x1c0171ac0]: 1:64 Err(64)
2018-12-21 16:06:31.899921+0800 JShareDemo[9690:4256283] Task <A38FA918-5AB4-4954-B983-61E8E47F050F>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:31.900498+0800 JShareDemo[9690:4256282] NSURLConnection finished with error - code -1004
2018-12-21 16:06:31.900805+0800 JShareDemo[9690:4256283]  | JIGUANG | E - [JIGUANGReportController] https上报错误:无法连接到主机
2018-12-21 16:06:41.426105+0800 JShareDemo[9690:4256396] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:41.426185+0800 JShareDemo[9690:4256396] [] nw_endpoint_flow_setup_channel [3.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:41.426371+0800 JShareDemo[9690:4256396] TIC TCP Conn Failed [3:0x1c4176500]: 1:64 Err(64)
2018-12-21 16:06:41.426467+0800 JShareDemo[9690:4256396] Task <2AEEE802-DC2B-44D3-A692-F6E08F80BE7D>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:41.427053+0800 JShareDemo[9690:4256395] NSURLConnection finished with error - code -1004
2018-12-21 16:06:41.429340+0800 JShareDemo[9690:4256396] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:41.429477+0800 JShareDemo[9690:4256396] [] nw_endpoint_flow_setup_channel [4.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:41.429616+0800 JShareDemo[9690:4256396] TIC TCP Conn Failed [4:0x1c0172c00]: 1:64 Err(64)
2018-12-21 16:06:41.429702+0800 JShareDemo[9690:4256396] Task <A1EAE2D2-8DE2-46EA-8651-6E8A1532C59A>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:41.429943+0800 JShareDemo[9690:4256395] NSURLConnection finished with error - code -1004
2018-12-21 16:06:41.432074+0800 JShareDemo[9690:4256395] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:41.432164+0800 JShareDemo[9690:4256395] [] nw_endpoint_flow_setup_channel [5.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:41.432274+0800 JShareDemo[9690:4256395] TIC TCP Conn Failed [5:0x1c4176740]: 1:64 Err(64)
2018-12-21 16:06:41.432443+0800 JShareDemo[9690:4256395] Task <7700389C-744F-4AD1-8951-AA1C2F8FC54E>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:41.432802+0800 JShareDemo[9690:4256281] NSURLConnection finished with error - code -1004
2018-12-21 16:06:41.434182+0800 JShareDemo[9690:4256395] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:41.434248+0800 JShareDemo[9690:4256395] [] nw_endpoint_flow_setup_channel [6.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:41.434337+0800 JShareDemo[9690:4256395] TIC TCP Conn Failed [6:0x1c0171580]: 1:64 Err(64)
2018-12-21 16:06:41.434397+0800 JShareDemo[9690:4256395] Task <9026D613-47D5-402E-A531-50A22E498BB6>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:41.434861+0800 JShareDemo[9690:4256281] NSURLConnection finished with error - code -1004
2018-12-21 16:06:41.453706+0800 JShareDemo[9690:4256395]  | JIGUANG | E - [JIGUANGReportController] https上报错误:无法连接到主机
2018-12-21 16:06:41.454266+0800 JShareDemo[9690:4256395]  | JIGUANG | E - [JIGUANGReport] report:(
        {
        date = "2018-12-21";
        duration = "445.8";
        itime = 1545379591;
        "session_id" = 5506643faf932fb20f3f7132adb7f310;
        time = "16:05:58";
        timezone = "+8";
        type = "active_terminate";
    }
) log failed,error Code:0
2018-12-21 16:06:41.479530+0800 JShareDemo[9690:4256395]  | JIGUANG | E - [JIGUANGReportController] https上报错误:无法连接到主机
2018-12-21 16:06:41.480796+0800 JShareDemo[9690:4256395]  | JIGUANG | E - [JIGUANGReport] report:(
        {
        date = "2018-12-21";
        itime = 1545379591;
        "session_id" = 643a7e672416338bb784de9c6d3f1ec1;
        time = "16:06:31";
        timezone = "+8";
        type = "active_launch";
    }
) log failed,error Code:0
2018-12-21 16:06:41.815891+0800 JShareDemo[9690:4256395] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:41.816019+0800 JShareDemo[9690:4256395] [] nw_endpoint_flow_setup_channel [7.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:41.816535+0800 JShareDemo[9690:4256395] TIC TCP Conn Failed [7:0x1c0171580]: 1:64 Err(64)
2018-12-21 16:06:41.816650+0800 JShareDemo[9690:4256395] Task <CAC1795A-7ED7-41AA-A086-763210EEE51E>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:41.817600+0800 JShareDemo[9690:4256281] NSURLConnection finished with error - code -1004
2018-12-21 16:06:41.820571+0800 JShareDemo[9690:4256395] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:41.820711+0800 JShareDemo[9690:4256395] [] nw_endpoint_flow_setup_channel [8.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:41.821057+0800 JShareDemo[9690:4256395] TIC TCP Conn Failed [8:0x1c4176680]: 1:64 Err(64)
2018-12-21 16:06:41.821207+0800 JShareDemo[9690:4256395] Task <BAF408E1-164C-4206-BBE6-ADFCFFE85E73>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:41.822100+0800 JShareDemo[9690:4256295] NSURLConnection finished with error - code -1004
2018-12-21 16:06:41.823620+0800 JShareDemo[9690:4256395] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:41.823685+0800 JShareDemo[9690:4256395] [] nw_endpoint_flow_setup_channel [9.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:41.823918+0800 JShareDemo[9690:4256395] TIC TCP Conn Failed [9:0x1c01750c0]: 1:64 Err(64)
2018-12-21 16:06:41.824020+0800 JShareDemo[9690:4256395] Task <44191AD0-10F7-4823-BF0E-996726516DEA>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:41.824879+0800 JShareDemo[9690:4256295] NSURLConnection finished with error - code -1004
2018-12-21 16:06:41.835032+0800 JShareDemo[9690:4256395]  | JIGUANG | E - [JIGUANGReportController] https上报错误:无法连接到主机
2018-12-21 16:06:41.835718+0800 JShareDemo[9690:4256282]  | JIGUANG | E - [JIGUANGReport] report:(
        {
        itime = 1545378922;
        level = 100;
        status = 3;
        type = battery;
    }
) log failed,error Code:0
2018-12-21 16:06:41.837930+0800 JShareDemo[9690:4256295] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:41.838048+0800 JShareDemo[9690:4256295] [] nw_endpoint_flow_setup_channel [10.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:41.839058+0800 JShareDemo[9690:4256295] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:41.839171+0800 JShareDemo[9690:4256295] [] nw_endpoint_flow_setup_channel [11.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:41.839387+0800 JShareDemo[9690:4256295] TIC TCP Conn Failed [10:0x1c4176380]: 1:64 Err(64)
2018-12-21 16:06:41.839483+0800 JShareDemo[9690:4256295] Task <C05C4CDD-4026-41D0-98FD-540D2726A720>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:41.839627+0800 JShareDemo[9690:4256295] TIC TCP Conn Failed [11:0x1c4176800]: 1:64 Err(64)
2018-12-21 16:06:41.839759+0800 JShareDemo[9690:4256281] NSURLConnection finished with error - code -1004
2018-12-21 16:06:41.839888+0800 JShareDemo[9690:4256295] Task <7B93392D-959C-46BC-95ED-C967157B7049>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:41.841455+0800 JShareDemo[9690:4256281] NSURLConnection finished with error - code -1004
2018-12-21 16:06:41.849941+0800 JShareDemo[9690:4256295]  | JIGUANG | E - [JIGUANGReportController] https上报错误:无法连接到主机
2018-12-21 16:06:41.850453+0800 JShareDemo[9690:4256282]  | JIGUANG | E - [JIGUANGReport] report:(
        {
        date = "2018-12-21";
        duration = "3.5";
        itime = 1545379112;
        "session_id" = 1b04727528c44b82160f0a7a6dc568f9;
        time = "15:55:26";
        timezone = "+8";
        type = "active_terminate";
    },
        {
        date = "2018-12-21";
        itime = 1545378922;
        "session_id" = 1b04727528c44b82160f0a7a6dc568f9;
        time = "15:55:22";
        timezone = "+8";
        type = "active_launch";
    },
        {
        date = "2018-12-21";
        itime = 1545379112;
        "session_id" = 5506643faf932fb20f3f7132adb7f310;
        time = "15:58:32";
        timezone = "+8";
        type = "active_launch";
    },
        {
        date = "2018-12-21";
        itime = 1545379423;
        "session_id" = 0638074b569023378a8971e25595fe7d;
        time = "16:03:43";
        timezone = "+8";
        type = "active_launch";
    },
        {
        date = "2018-12-21";
        duration = "3.4";
        itime = 1545379423;
        "session_id" = 5506643faf932fb20f3f7132adb7f310;
        time = "15:58:36";
        timezone = "+8";
        type = "active_terminate";
    }
) log failed,error Code:0
2018-12-21 16:06:41.855295+0800 JShareDemo[9690:4256395] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:41.855462+0800 JShareDemo[9690:4256395] [] nw_endpoint_flow_setup_channel [12.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:41.855925+0800 JShareDemo[9690:4256395] TIC TCP Conn Failed [12:0x1c4177040]: 1:64 Err(64)
2018-12-21 16:06:41.856029+0800 JShareDemo[9690:4256395] Task <73EAB3AE-075D-4237-BDFF-97595D3FBC14>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:41.856185+0800 JShareDemo[9690:4256397] NSURLConnection finished with error - code -1004
2018-12-21 16:06:41.858074+0800 JShareDemo[9690:4256395] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:41.858145+0800 JShareDemo[9690:4256395] [] nw_endpoint_flow_setup_channel [13.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:41.858264+0800 JShareDemo[9690:4256395] TIC TCP Conn Failed [13:0x1c4174a00]: 1:64 Err(64)
2018-12-21 16:06:41.858428+0800 JShareDemo[9690:4256395] Task <E4C441FF-27F9-4CD8-8780-7B9907A34A24>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:41.858643+0800 JShareDemo[9690:4256397] NSURLConnection finished with error - code -1004
2018-12-21 16:06:41.864918+0800 JShareDemo[9690:4256397]  | JIGUANG | E - [JIGUANGReportController] https上报错误:无法连接到主机
2018-12-21 16:06:41.865230+0800 JShareDemo[9690:4256397]  | JIGUANG | E - [JIGUANGReport] report:(
        {
        data =         (
                        {
                cell =                 (
                                        {
                        generation = wifi;
                        itime = 1545378922;
                        "mobile_country_code" = "-1";
                        "mobile_network_code" = "-1";
                        "radio_type" = UNKNOWN;
                    }
                );
                itime = 1545378922;
                wifi =                 (
                                        {
                        itime = 1545378922;
                        "mac_address" = "6a:0:e3:d3:c8:51";
                        ssid = "WIN-BFOCLS2VE0B 5581";
                    }
                );
            }
        );
        itime = 1545378922;
        "network_type" = "WIFI,";
        type = "loc_info";
    }
) log failed,error Code:0
2018-12-21 16:06:41.868577+0800 JShareDemo[9690:4256397] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:41.868722+0800 JShareDemo[9690:4256397] [] nw_endpoint_flow_setup_channel [14.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:41.868931+0800 JShareDemo[9690:4256397] TIC TCP Conn Failed [14:0x1c4174a00]: 1:64 Err(64)
2018-12-21 16:06:41.869055+0800 JShareDemo[9690:4256397] Task <B34CC4BB-2E32-4135-BB9F-DEA5DA057A0A>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:41.870362+0800 JShareDemo[9690:4256395] NSURLConnection finished with error - code -1004
2018-12-21 16:06:41.907196+0800 JShareDemo[9690:4256397]  | JIGUANG | E - [JIGUANGReportController] https上报错误:无法连接到主机
2018-12-21 16:06:41.907378+0800 JShareDemo[9690:4256281]  | JIGUANG | E - [JIGUANGReport] report:(
        {
        itime = 1545378922;
        language = "zh-Hans-CN";
        model = "iPhone8,1";
        "os_version" = "11.4.1";
        resolution = 750x1334;
        timezone = "+8";
        type = "device_info";
    }
) log failed,error Code:0
2018-12-21 16:06:41.909286+0800 JShareDemo[9690:4256397] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:41.909404+0800 JShareDemo[9690:4256397] [] nw_endpoint_flow_setup_channel [15.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:41.909622+0800 JShareDemo[9690:4256397] TIC TCP Conn Failed [15:0x1c0171580]: 1:64 Err(64)
2018-12-21 16:06:41.909715+0800 JShareDemo[9690:4256397] Task <361E4C8B-5A41-4684-B1EF-4EA293D0DAF9>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:41.910409+0800 JShareDemo[9690:4256281] NSURLConnection finished with error - code -1004
2018-12-21 16:06:41.912778+0800 JShareDemo[9690:4256397] [] nw_path_evaluator_request_nexus_and_stats NECP_CLIENT_ACTION_REQUEST_NEXUS_INSTANCE [64: Host is down]
2018-12-21 16:06:41.912857+0800 JShareDemo[9690:4256397] [] nw_endpoint_flow_setup_channel [16.1 192.168.137.31:8888 in_progress channel-flow (satisfied)] failed to request nexus instance: Error Domain=kNWErrorDomainPOSIX Code=64 "Host is down" UserInfo={NSDescription=Host is down}
2018-12-21 16:06:41.913085+0800 JShareDemo[9690:4256397] TIC TCP Conn Failed [16:0x1c4177280]: 1:64 Err(64)
2018-12-21 16:06:41.913174+0800 JShareDemo[9690:4256397] Task <8B056FC7-B1A7-49B5-9FCA-0C36E2778CA5>.<0> HTTP load failed (error code: -1004 [1:64])
2018-12-21 16:06:41.913623+0800 JShareDemo[9690:4256396] NSURLConnection finished with error - code -1004
2018-12-21 16:06:41.922288+0800 JShareDemo[9690:4256395]  | JIGUANG | E - [JIGUANGReportController] https上报错误:无法连接到主机
2018-12-21 16:06:41.922653+0800 JShareDemo[9690:4256281]  | JIGUANG | E - [JIGUANGReport] report:(
        {
        alert = 0;
        "alert_style" = 0;
        "auth_status" = 0;
        badge = 0;
        "car_play" = 0;
        "critical_alert" = 0;
        "device_id" = 4a1686a1ed31055f321e9999b4716aa2;
        itime = 1545378923;
        "lock_screen" = 0;
        notification = 0;
        "provides_app_notification" = 0;
        sound = 0;
        "sys_ver" = "11.4.1";
        "trigger_scene" = 2;
        type = "ios_notification_state";
    },
        {
        alert = 2;
        "alert_style" = 1;
        "auth_status" = 2;
        badge = 2;
        "car_play" = 0;
        "critical_alert" = 0;
        "device_id" = 4a1686a1ed31055f321e9999b4716aa2;
        itime = 1545379506;
        "lock_screen" = 2;
        notification = 2;
        "provides_app_notification" = 0;
        sound = 2;
        "sys_ver" = "11.4.1";
        "trigger_scene" = 2;
        type = "ios_notification_state";
    }
) log failed,error Code:0
2018-12-21 16:06:42.124435+0800 JShareDemo[9690:4256226] Status bar could not find cached time string image. Rendering in-process.
2018-12-21 16:06:52.017802+0800 JShareDemo[9690:4256281] PBItemCollectionServicer connection disconnected.

#6

把你自己的项目的完整的日志给一下

demo的这个报错,你连的是什么网络,换个网络试试


#7

我连的是电脑开的wifi

objc[9708]: Class AVCReachability is implemented in both /private/var/containers/Bundle/Application/5A9470A9-17EA-4B11-BD76-2B899A1CBA0D/ShanChain.app/Frameworks/AliyunPlayerSDK.framework/AliyunPlayerSDK (0x10c9fef90) and /var/containers/Bundle/Application/5A9470A9-17EA-4B11-BD76-2B899A1CBA0D/ShanChain.app/ShanChain (0x105e63a80). One of the two will be used. Which one is undefined.
2018-12-21 16:13:34.719402+0800 ShanChain[9708:4260118] [DYMTLInitPlatform] platform initialization successful
2018-12-21 16:13:34.789161+0800 ShanChain[9708:4259955] JMSGReceiver loadReceiver
2018-12-21 16:13:35.126538+0800 ShanChain[9708:4259955] Unknown class ViewController in Interface Builder file.
2018-12-21 16:13:35.170466+0800 ShanChain[9708:4260109]  | JIGUANG | I - [JIGUANGService] 
--------------------------- JShare Log ----------------------------
--------------------JShare SDK Version:1.6.0--build:64----------
--------------------JCore Lib Version:1.2.5--build:64-----------------
-----------------AppKey:0a20b6277a625655791e3cd9----------------
----------------------------------------------------------------
2018-12-21 16:13:35.172242+0800 ShanChain[9708:4260109]  | JIGUANG | D - [JMessage] Action - init - JMessage
2018-12-21 16:13:35.172679+0800 ShanChain[9708:4260109]  | JIGUANG | D - [JMessage] Action - setupJMessage:::::
2018-12-21 16:13:35.173006+0800 ShanChain[9708:4260109]  | JIGUANG | I - [JMSGClientController] 
------------------- JMessage SDK --------------------
------------- JMessage SDK version:3.7.0, build:238 ---------
------------- JCore Lib Version:1.2.5, build:64 ---------
------------- AppKey:0a20b6277a625655791e3cd9 ---------
---------------------------------------------------------
2018-12-21 16:13:35.173058+0800 ShanChain[9708:4260109]  | JIGUANG | I - [JMSGClientController] 
------------------- JMRTC SDK --------------------

------------- AppKey:0a20b6277a625655791e3cd9 ---------
---------------------------------------------------------
2018-12-21 16:13:35.173105+0800 ShanChain[9708:4260109]  | JIGUANG | D - [JMessage] Action - addDelegate::
2018-12-21 16:13:35.178117+0800 ShanChain[9708:4260109]  | JIGUANG | I - [JIGUANGClientController] Action - setup
2018-12-21 16:13:35.197996+0800 ShanChain[9708:4260128]  | JIGUANG | I - [JMessage] this is official version SDK.
2018-12-21 16:13:35.342347+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGPageFlow] trySetupSession
2018-12-21 16:13:35.342420+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGPageFlow] setupSession
2018-12-21 16:13:35.380799+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGUserActiveReport] report content {
    date = "2018-12-21";
    duration = 35;
    itime = 1545380015;
    "session_id" = 124a8ee74ce5e572b91bc190b4366d69;
    time = "16:12:13";
    timezone = "+8";
    type = "active_terminate";
}
2018-12-21 16:13:35.390488+0800 ShanChain[9708:4260129]  | JIGUANG | D - [JIGUANGHttpSessionController] Action - setupSession
2018-12-21 16:13:35.417044+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGNetworkController] Action - trySetupSession
2018-12-21 16:13:35.417989+0800 ShanChain[9708:4260128]  | JIGUANG | D - [JIGUANGHttpSessionController] Action - setupSession
2018-12-21 16:13:35.418122+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGNetworkController] userDefaut verified: 1
2018-12-21 16:13:35.419736+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPFNetworkIsConnectingNotification (null)
2018-12-21 16:13:35.420147+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGSessionController] Action - connect
2018-12-21 16:13:35.420198+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGSessionController] Action - isSisOnProtect
2018-12-21 16:13:35.420244+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGSessionController] sis is not on protect
2018-12-21 16:13:35.420288+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGSessionController] Action - reset sis cache
2018-12-21 16:13:35.422051+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGAddressController] 开始Sis解析
2018-12-21 16:13:35.422111+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGAddressController] Action - sendSisRequest
2018-12-21 16:13:35.422156+0800 ShanChain[9708:4260108]  | JIGUANG | I - [JMSGClientController] Action - jmessage setup
2018-12-21 16:13:35.422202+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGIMController] loginState:0
2018-12-21 16:13:35.430942+0800 ShanChain[9708:4260129]  | JIGUANG | D - [JIGUANGAddressController] get address :124.202.138.32 from host : s.jpush.cn
2018-12-21 16:13:35.431083+0800 ShanChain[9708:4260129]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - sendSisRequest:toDefaultPort:toCustomPort
2018-12-21 16:13:35.431159+0800 ShanChain[9708:4260129]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2018-12-21 16:13:35.441309+0800 ShanChain[9708:4260129]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data
2018-12-21 16:13:35.441377+0800 ShanChain[9708:4260129]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data succeed
2018-12-21 16:13:35.442276+0800 ShanChain[9708:4260129]  | JIGUANG | D - [JIGUANGUdpSocket] udp socket begin send behavior
2018-12-21 16:13:35.498374+0800 ShanChain[9708:4260123]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - parse
2018-12-21 16:13:35.710437+0800 ShanChain[9708:4260128]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - parse ips address
2018-12-21 16:13:35.749468+0800 ShanChain[9708:4260123]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - parseOptionAddress
2018-12-21 16:13:35.793375+0800 ShanChain[9708:4260109]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2018-12-21 16:13:35.797034+0800 ShanChain[9708:4260123]  | JIGUANG | D - [JIGUANGSessionController] current network, ipv4
2018-12-21 16:13:35.797921+0800 ShanChain[9708:4260123]  | JIGUANG | D - [JIGUANGSessionController] Action - connectTcp
2018-12-21 16:13:35.798298+0800 ShanChain[9708:4260123]  | JIGUANG | D - [JIGUANGSessionController] Action - connectTcpAddress:
2018-12-21 16:13:35.798456+0800 ShanChain[9708:4260123]  | JIGUANG | D - [JIGUANGSessionController] connectTcp:43.247.88.110:7000
2018-12-21 16:13:35.798504+0800 ShanChain[9708:4260123]  | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 43.247.88.110,port 7000
2018-12-21 16:13:35.843860+0800 ShanChain[9708:4260123]  | JIGUANG | D - [JIGUANGTcpSocket] 连接主机成功
2018-12-21 16:13:35.843938+0800 ShanChain[9708:4260123]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - sisReport:port
2018-12-21 16:13:35.845708+0800 ShanChain[9708:4260123]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidSetupNotification (null)
2018-12-21 16:13:35.898729+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest
2018-12-21 16:13:35.899278+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGUserDefaultsController] login JCore with IM loginOut
2018-12-21 16:13:35.958831+0800 ShanChain[9708:4260109]  | JIGUANG | I - [JIGUANGLogin] 
----- login result -----
uid:16451304218 
registrationID:171976fa8aaf3ed5701 
idc:1
2018-12-21 16:13:35.959542+0800 ShanChain[9708:4260109]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2018-12-21 16:13:35.959810+0800 ShanChain[9708:4260109]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:
2018-12-21 16:13:35.960027+0800 ShanChain[9708:4260109]  | JIGUANG | D - [JIGUANGSessionController] Event - onLoginRespond
2018-12-21 16:13:35.964263+0800 ShanChain[9708:4260109]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidLoginNotification (null)
2018-12-21 16:13:36.127639+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGReport] send report:(
        {
        date = "2018-12-21";
        duration = 35;
        itime = 1545380015;
        "session_id" = 124a8ee74ce5e572b91bc190b4366d69;
        time = "16:12:13";
        timezone = "+8";
        type = "active_terminate";
    }
) log succed
2018-12-21 16:13:36.280180+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGService] Action - JPUSH begin Setup with appkey:0a20b6277a625655791e3cd9 channel:App Store isProduction:FALSE advertisingIdentifier:
2018-12-21 16:13:36.280255+0800 ShanChain[9708:4260108]  | JIGUANG | I - [JIGUANGService] 
--------------------------- JPush Log ----------------------------
--------------------JPush SDK Version:3.1.1--build:66----------
--------------------JCore Lib Version:1.2.5--build:64----------
-----------------AppKey:0a20b6277a625655791e3cd9----------------
----------------------------------------------------------------
2018-12-21 16:13:36.301805+0800 ShanChain[9708:4260108]  | JIGUANG | I - [JIGUANGClientController] Action - jpush setup
2018-12-21 16:13:36.305837+0800 ShanChain[9708:4259955] aaaaaaaaaaaaa ===== SCLoginController
2018-12-21 16:13:36.409755+0800 ShanChain[9708:4259955] -[SCCacheTool getCurrentTimeString] [Line 238] 2018-12-21 04:13:36============年-月-日  时:分:秒=====================
2018-12-21 16:13:36.410363+0800 ShanChain[9708:4259955] -[SCCacheTool checkHasExistTable:] [Line 263] The table count: 1
2018-12-21 16:13:36.410423+0800 ShanChain[9708:4259955] -[SCCacheTool checkHasExistTable:] [Line 265] 存在
2018-12-21 16:13:36.412710+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JMSGReceiver] Action - p_didJPushDidLoginNotification:
2018-12-21 16:13:36.416266+0800 ShanChain[9708:4259955] -[AppDelegate application:didRegisterForRemoteNotificationsWithDeviceToken:] [Line 162] DeviceToken: bc7920b5f94138ec2dbf45b9a292fd7034a3297a3020796b1fefcd30bafebad2
2018-12-21 16:13:36.416562+0800 ShanChain[9708:4259955] -[SCCacheTool getCurrentTimeString] [Line 238] 2018-12-21 04:13:36============年-月-日  时:分:秒=====================
2018-12-21 16:13:36.417163+0800 ShanChain[9708:4259955] -[SCCacheTool checkHasExistTable:] [Line 263] The table count: 1
2018-12-21 16:13:36.419158+0800 ShanChain[9708:4259955] -[SCCacheTool checkHasExistTable:] [Line 265] 存在
2018-12-21 16:13:36.417200+0800 ShanChain[9708:4260159]  | JIGUANG | E - [JMessage+JMSGInner] user didn't login, please login first!
2018-12-21 16:13:36.419610+0800 ShanChain[9708:4260159]  | JIGUANG | D - [JIGUANGService] Action - registerDeviceToken: <bc7920b5 f94138ec 2dbf45b9 a292fd70 34a3297a 3020796b 1fefcd30 bafebad2>
2018-12-21 16:13:36.419749+0800 ShanChain[9708:4260128]  | JIGUANG | D - [JIGUANGUserDefaultsController] Action - setCurrentDeviceToken - bc7920b5f94138ec2dbf45b9a292fd7034a3297a3020796b1fefcd30bafebad2
2018-12-21 16:13:36.419785+0800 ShanChain[9708:4260128]  | JIGUANG | D - [JIGUANGDeviceTokenController] the same device token, not be updated again
2018-12-21 16:13:36.426452+0800 ShanChain[9708:4259955] -[AppDelegate application:didRegisterForRemoteNotificationsWithDeviceToken:] [Line 162] DeviceToken: bc7920b5f94138ec2dbf45b9a292fd7034a3297a3020796b1fefcd30bafebad2
2018-12-21 16:13:36.426657+0800 ShanChain[9708:4260159]  | JIGUANG | D - [JIGUANGService] Action - registerDeviceToken: <bc7920b5 f94138ec 2dbf45b9 a292fd70 34a3297a 3020796b 1fefcd30 bafebad2>
2018-12-21 16:13:36.426730+0800 ShanChain[9708:4259955] -[SCCacheTool getCurrentTimeString] [Line 238] 2018-12-21 04:13:36============年-月-日  时:分:秒=====================
2018-12-21 16:13:36.427321+0800 ShanChain[9708:4259955] -[SCCacheTool checkHasExistTable:] [Line 263] The table count: 1
2018-12-21 16:13:36.427345+0800 ShanChain[9708:4259955] -[SCCacheTool checkHasExistTable:] [Line 265] 存在
2018-12-21 16:13:36.431000+0800 ShanChain[9708:4260159]  | JIGUANG | D - [JMSGClientController] the same device token, not be updated again
2018-12-21 16:13:36.431124+0800 ShanChain[9708:4260159]  | JIGUANG | D - [JIGUANGDeviceTokenController] the same device token, not be updated again
2018-12-21 16:13:36.432308+0800 ShanChain[9708:4259955] -[AppDelegate application:didRegisterForRemoteNotificationsWithDeviceToken:] [Line 162] DeviceToken: bc7920b5f94138ec2dbf45b9a292fd7034a3297a3020796b1fefcd30bafebad2
2018-12-21 16:13:36.432473+0800 ShanChain[9708:4260159]  | JIGUANG | D - [JIGUANGService] Action - registerDeviceToken: <bc7920b5 f94138ec 2dbf45b9 a292fd70 34a3297a 3020796b 1fefcd30 bafebad2>
2018-12-21 16:13:36.434198+0800 ShanChain[9708:4260160]  | JIGUANG | D - [JMSGReceiver] Action - p_applicationDidBecomeActive
2018-12-21 16:13:36.434740+0800 ShanChain[9708:4259955] -[SCCacheTool getCurrentTimeString] [Line 238] 2018-12-21 04:13:36============年-月-日  时:分:秒=====================
2018-12-21 16:13:36.435353+0800 ShanChain[9708:4259955] -[SCCacheTool checkHasExistTable:] [Line 263] The table count: 1
2018-12-21 16:13:36.445091+0800 ShanChain[9708:4259955] -[SCCacheTool checkHasExistTable:] [Line 265] 存在
2018-12-21 16:13:36.446618+0800 ShanChain[9708:4260158]  | JIGUANG | D - [JMSGClientController] the same device token, not be updated again
2018-12-21 16:13:36.446692+0800 ShanChain[9708:4260156]  | JIGUANG | D - [JIGUANGDeviceTokenController] the same device token, not be updated again
2018-12-21 16:13:36.452359+0800 ShanChain[9708:4259955] -[AppDelegate application:didRegisterForRemoteNotificationsWithDeviceToken:] [Line 162] DeviceToken: bc7920b5f94138ec2dbf45b9a292fd7034a3297a3020796b1fefcd30bafebad2
2018-12-21 16:13:36.452660+0800 ShanChain[9708:4260108]  | JIGUANG | D - [JIGUANGService] Action - registerDeviceToken: <bc7920b5 f94138ec 2dbf45b9 a292fd70 34a3297a 3020796b 1fefcd30 bafebad2>
2018-12-21 16:13:36.453514+0800 ShanChain[9708:4260156]  | JIGUANG | D - [JMSGClientController] the same device token, not be updated again
2018-12-21 16:13:36.453690+0800 ShanChain[9708:4260156]  | JIGUANG | D - [JIGUANGDeviceTokenController] the same device token, not be updated again
2018-12-21 16:13:36.467710+0800 ShanChain[9708:4260156]  | JIGUANG | D - [JIGUANGReport] send report:(
        {
        date = "2018-12-21";
        itime = 1545380015;
        "session_id" = 08ce7f86a0c7edf8831304630e774318;
        time = "16:13:35";
        timezone = "+8";
        type = "active_launch";
    }
) log succed
2018-12-21 16:13:36.643636+0800 ShanChain[9708:4259955] -[SCNetwork getWithUrl:parameters:success:failure:]_block_invoke [Line 331] success
2018-12-21 16:13:46.160187+0800 ShanChain[9708:4260153]  | JIGUANG | D - [JMessage] Action - setBadge: 0
2018-12-21 16:13:58.732690+0800 ShanChain[9708:4260348]  | JIGUANG | D - [JMessage] Action - setBadge: 0
2018-12-21 16:13:58.756365+0800 ShanChain[9708:4260108] PBItemCollectionServicer connection disconnected.
2018-12-21 16:13:58.764650+0800 ShanChain[9708:4260153] TIC TCP Conn Failed [15:0x1c4175780]: 1:50 Err(50)
2018-12-21 16:13:58.765051+0800 ShanChain[9708:4260153] Task <7307D044-F031-46B8-BA67-3D7D656EB9A2>.<0> HTTP load failed (error code: -1009 [1:50])
2018-12-21 16:13:58.766468+0800 ShanChain[9708:4260370] NSURLConnection finished with error - code -1009
2018-12-21 16:13:58.781652+0800 ShanChain[9708:4260353]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest
2018-12-21 16:13:58.781997+0800 ShanChain[9708:4260353]  | JIGUANG | D - [JIGUANGUserDefaultsController] login JCore with IM loginOut
2018-12-21 16:13:58.784579+0800 ShanChain[9708:4260160]  | JIGUANG | I - [JMSGBadgeNumberReport] warning:badge:0 default error:0
2018-12-21 16:13:58.831552+0800 ShanChain[9708:4260349]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2018-12-21 16:13:58.831710+0800 ShanChain[9708:4260129]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:
2018-12-21 16:13:59.460508+0800 ShanChain[9708:4260129]  | JIGUANG | D - [JMSGReceiver] Action - p_applicationDidBecomeActive
2018-12-21 16:14:00.026281+0800 ShanChain[9708:4259955] Status bar could not find cached time string image. Rendering in-process.

#8

你之前有这个报错吗?是突然出现的吗?

经过咨询
微博那些平台有限制的,短时间内多次频繁的去授权就会报这样的授权失败的错误


#9

三方登录这个功能是刚集成不久的,一直都有报这个错误。QQ和微信是正常的,微博分享也是正常的。就是获取授权这里有问题。


#10

那稍等一下,研发看一下


#11

你好,请问这个问题怎么样了呢?


#12

研发复测检查了下,授权没有问题,新浪那边的授权方式也没有更改

你现在这样排查一下:
最好的办法就是直接下载新浪的sdk试试,如果也有问题的话,那就是你自己的配置或者账号有问题