问题描述
解决方案
测试可以登陆了,你再试试
解决方案二:
我也试过了,同样的问题,3.0登录失败,2.0登录成功
解决方案三:
@Ice Butterfly 现在还有这样的情况?登陆失败? 把具体报错信息贴出来看看
解决方案四:
登录时日志:03-23 10:45:32.744: D/LoginActivity(617): EMClient.getInstance().login03-23 10:45:32.745: D/ONE SDK(617): [2016/3/23 10:45:32:745]: emchat manager login in process:61703-23 10:45:32.752: D/ONE SDK(617): [2016/3/23 10:45:32:752]: EMSessionManager::login(): 1331131390803-23 10:45:32.752: I/hyphenate_jni(617): httprequest perform: http://112.126.66.111/easemob/ ... n%3D103-23 10:45:32.756: D/ONE SDK(617): [2016/3/23 10:45:32:752]: getDnsListFromServer()03-23 10:45:32.761: D/ONE SDK(617): [2016/3/23 10:45:32:752]: buildUrl(): http://112.126.66.111/easemob/ ... n%3D103-23 10:45:32.788: D/EMARHttpAPI(617): httpExecute code: 20003-23 10:45:32.790: I/hyphenate_jni(617): httprequest perform: http://182.92.228.160/easemob- ... token03-23 10:45:32.793: D/ONE SDK(617): [2016/3/23 10:45:32:788]: 1 time retry03-23 10:45:32.793: D/ONE SDK(617): [2016/3/23 10:45:32:788]: DNS List size: 88603-23 10:45:32.794: D/ONE SDK(617): [2016/3/23 10:45:32:788]: EMSessionManager::parseDnsServer: {"file_version":"1","resolver":{"hosts":[{"port":"80","domain":"rs.easemob.com","ip":"112.126.66.111"},{"port":"80","domain":"rs.easemob.com","ip":"182.92.174.78"}]},"rest":{"hosts":[{"protocol":"https","port":"443","domain":"a1.easemob.com"},{"protocol":"http","port":"80","domain":"a1.easemob.com","ip":"182.92.228.160"},{"protocol":"http","port":"80","domain":"a1.easemob.com","ip":"182.92.73.182"}]},"valid_before":"1460660400","im":{"hosts":[{"port":"443","domain":"im1.easemob.com","ip":"182.92.20.34"},{"port":"443","domain":"im1.easemob.com","ip":"182.92.20.117"},{"port":"443","domain":"im1.easemob.com","ip":"182.92.23.59"},{"port":"443","domain":"im1.easemob.com","ip":"182.92.26.56"}]},"deploy_name":"easemob","msync-im":{"hosts":[{"port":"6717","domain":"msync-im1.easemob.com","ip":"123.56.72.122"},{"port":"6717","domain":"msync-im1.easemob.com","ip":"101.200.75.129"}]}}03-23 10:45:32.795: D/ONE SDK(617): [2016/3/23 10:45:32:789]: current time: 145870113278903-23 10:45:32.795: D/ONE SDK(617): [2016/3/23 10:45:32:789]: valid time: 146066040000003-23 10:45:32.795: D/ONE SDK(617): [2016/3/23 10:45:32:789]: saveConfigs()03-23 10:45:32.795: D/ONE SDK(617): [2016/3/23 10:45:32:789]: write to config file: {03-23 10:45:32.795: D/ONE SDK(617): "dns_time":"1460660400000"03-23 10:45:32.795: D/ONE SDK(617): }03-23 10:45:32.796: D/ONE SDK(617): [2016/3/23 10:45:32:790]: ranomOffer03-23 10:45:32.796: D/ONE SDK(617): [2016/3/23 10:45:32:790]: imServer before random: 03-23 10:45:32.796: D/ONE SDK(617): [2016/3/23 10:45:32:790]: 123.56.72.12203-23 10:45:32.796: D/ONE SDK(617): [2016/3/23 10:45:32:790]: 101.200.75.12903-23 10:45:32.797: D/ONE SDK(617): [2016/3/23 10:45:32:790]: randomServers 03-23 10:45:32.797: D/ONE SDK(617): [2016/3/23 10:45:32:790]: randomServers 03-23 10:45:32.798: D/ONE SDK(617): [2016/3/23 10:45:32:790]: randomServers 03-23 10:45:32.798: D/ONE SDK(617): [2016/3/23 10:45:32:790]: imServer after random: 03-23 10:45:32.799: D/ONE SDK(617): [2016/3/23 10:45:32:790]: 123.56.72.12203-23 10:45:32.799: D/ONE SDK(617): [2016/3/23 10:45:32:790]: 101.200.75.12903-23 10:45:32.799: D/ONE SDK(617): [2016/3/23 10:45:32:790]: fetchToken()03-23 10:45:32.799: D/ONE SDK(617): [2016/3/23 10:45:32:790]: restBaseUrl()03-23 10:45:32.800: D/ONE SDK(617): [2016/3/23 10:45:32:790]: EMDNSManager::getCurrentHost: type: 203-23 10:45:32.800: D/ONE SDK(617): [2016/3/23 10:45:32:790]: EMSessionManager::checkDNS()03-23 10:45:32.801: D/ONE SDK(617): [2016/3/23 10:45:32:790]: EMDNSManager::getHost: type: 203-23 10:45:32.801: D/ONE SDK(617): [2016/3/23 10:45:32:790]: current host: domain: 182.92.228.160 port: 8003-23 10:45:32.801: D/ONE SDK(617): [2016/3/23 10:45:32:790]: fetchTokenForUser()http://182.92.228.160/easemob-demo/chatdemoui/token03-23 10:45:32.836: D/EMARHttpAPI(617): httpExecute code: 20003-23 10:45:32.838: D/ONE SDK(617): [2016/3/23 10:45:32:837]: [retrieve token time] 0: 0: 4603-23 10:45:32.838: D/ONE SDK(617): [2016/3/23 10:45:32:837]: fetchToken success 03-23 10:45:32.838: D/ONE SDK(617): [2016/3/23 10:45:32:837]: saveToken(): user: 13311313908 time: 145870113283703-23 10:45:32.883: D/ONE SDK(617): [2016/3/23 10:45:32:883]: savetoken() result: 103-23 10:45:32.883: D/ONE SDK(617): [2016/3/23 10:45:32:883]: token is valid: time: 145870113283703-23 10:45:32.884: D/ONE SDK(617): [2016/3/23 10:45:32:883]: EMDNSManager::getCurrentHost: type: 103-23 10:45:32.885: D/ONE SDK(617): [2016/3/23 10:45:32:883]: EMSessionManager::checkDNS()03-23 10:45:32.885: D/ONE SDK(617): [2016/3/23 10:45:32:883]: EMDNSManager::getHost: type: 103-23 10:45:32.885: D/ONE SDK(617): [2016/3/23 10:45:32:883]: current host: domain: 123.56.72.122 port: 671703-23 10:45:32.885: D/ONE SDK(617): [2016/3/23 10:45:32:883]: setServer: 123.56.72.12203-23 10:45:32.885: D/ONE SDK(617): [2016/3/23 10:45:32:883]: Calling connect...03-23 10:45:32.885: D/ONE SDK(617): [2016/3/23 10:45:32:883]: doConnect()03-23 10:45:32.885: D/ONE SDK(617): [2016/3/23 10:45:32:883]: current connectState: 003-23 10:45:32.889: D/ONE SDK(617): [2016/3/23 10:45:32:884]: log: level: 0, area: 1, ChatClient::connect() 03-23 10:45:32.893: D/ONE SDK(617): [2016/3/23 10:45:32:884]: log: level: 0, area: 2, getSocket(): 3703-23 10:45:32.895: D/ONE SDK(617): [2016/3/23 10:45:32:884]: log: level: 1, area: 2, connectSocket(): start to connecting...03-23 10:46:12.924: D/ONE SDK(617): [2016/3/23 10:46:12:922]: log: level: 2, area: 2, connectSocket(): 123.56.72.122error: Connection timed out03-23 10:46:12.931: D/LoginActivity(617): login: onError: 30303-23 10:46:12.936: D/ONE SDK(617): [2016/3/23 10:46:12:922]: log: level: 1, area: 2, closeSocket() 03-23 10:46:12.941: D/ONE SDK(617): [2016/3/23 10:46:12:923]: log: level: 1, area: 2, connectSocket(): connect finished03-23 10:46:12.941: D/ONE SDK(617): [2016/3/23 10:46:12:923]: log: level: 2, area: 2, connect(): connect timeout03-23 10:46:12.942: D/ONE SDK(617): [2016/3/23 10:46:12:923]: log: level: 1, area: 2, cleanup() 03-23 10:46:12.943: D/ONE SDK(617): [2016/3/23 10:46:12:923]: log: level: 2, area: 1, handleDisconnect:603-23 10:46:12.943: D/ONE SDK(617): [2016/3/23 10:46:12:923]: EMSessionManager::onDisConnect(): 603-23 10:46:12.949: D/ONE SDK(617): [2016/3/23 10:46:12:923]: stopReceive()03-23 10:46:12.950: D/ONE SDK(617): [2016/3/23 10:46:12:923]: log: level: 0, area: 1, ChatClient::disconnect()03-23 10:46:12.950: D/ONE SDK(617): [2016/3/23 10:46:12:923]: log: level: 1, area: 2, cleanup() 03-23 10:46:12.951: D/ONE SDK(617): [2016/3/23 10:46:12:925]: log: level: 2, area: 1, handleDisconnect:1403-23 10:46:12.952: D/ONE SDK(617): [2016/3/23 10:46:12:925]: network issue, just reconnect after random time03-23 10:46:12.952: D/ONE SDK(617): [2016/3/23 10:46:12:925]: Calling connect result: 003-23 10:46:12.953: D/ONE SDK(617): [2016/3/23 10:46:12:925]: login failed: 30303-23 10:46:12.961: D/ONE SDK(617): [2016/3/23 10:46:12:925]: [im login time] 0:40: 4203-23 10:46:12.962: D/ONE SDK(617): [2016/3/23 10:46:12:925]: login return: 30303-23 10:46:12.963: D/ONE SDK(617): [2016/3/23 10:46:12:926]: do stop service03-23 10:46:12.970: D/ONE SDK(617): [2016/3/23 10:46:12:954]: onDestroy
解决方案五:
这个看着是网络超时,换个网络也不行么?
解决方案六:
同样遇到这个问题,之前版本没发现升级到最新版本后就出现了,低概率能登陆上请问什么问题