Open sonshark opened 7 years ago
This is easemob.log:
{"file_version":"4","resolver":{"hosts":[{"protocol":"https","port":"443","domain":"rs.easemob.com"},{"port":"80","domain":"rs-aws.easemob.com","ip":"120.26.15.207"},{"port":"80","domain":"rs-aws.easemob.com","ip":"120.26.17.225"}]},"rest":{"hosts":[{"protocol":"https","port":"443","domain":"a1-pro4.easemob.com"},{"protocol":"http","port":"80","domain":"a1-pro4.easemob.com"}]},"valid_before":"1512938328","im":{"hosts":[{"port":"5222","domain":"im1-pro4.easemob.com"}]},"deploy_name":"pro4","msync-im":{"hosts":[{"port":"6717","domain":"msync-pro4.easemob.com"}]},"xmpp":{"hosts":[{"protocol":"http","port":"80","domain":"im-api-pro4.easemob.com","ip":"im-api-pro4.easemob.com"},{"protocol":"https","port":"443","domain":"im-api-pro4.easemob.com"}]},"gcm_enabled":"true"}
I can't login to server although my network and other app run well.
09-12 11:29:50.472 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:475]: [EMClient] emchat manager login in process:30845 09-12 11:29:50.502 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:506]: performMigrationIfNecessary current DB version: 0 09-12 11:29:50.502 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:511]: EMSessionManager::login(): 0912345678emozik 09-12 11:29:50.502 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:511]: getDnsListFromServer() 09-12 11:29:50.502 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:511]: EMDNSManager::getHost: type: 0 09-12 11:29:50.502 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:511]: current host: domain: 120.26.15.207 port: 80 09-12 11:29:50.502 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:512]: buildUrl(): http://120.26.15.207/easemob/server.json?sdk_version=3.3.2&app_key=hyphenatedemo%23hyphenatedemo&file_version=4 09-12 11:29:50.502 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:512]: httprequest perform: http://120.26.15.207/easemob/server.json?sdk_version=3.3.2&app_key=hyphenatedemo%23hyphenatedemo&file_version=4 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isSBSettingEnabled false 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isShipBuild true 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):getDebugLevel 0x4f4c 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):Smart Bonding Setting is false 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):SmartBonding Setting is false, SHIP_BUILD is true, log to file is false, DBG is false, DEBUG_LEVEL (1-LOW, 2-MID, 3-HIGH) is 1 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo I/System.out: pool-8-thread-1 calls detatch() 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.0.214:8888 refused 09-12 11:29:50.512 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:519]: [EMARHttpAPI] Connection to http://192.168.0.214:8888 refused 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:248) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:172) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:130) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1337) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:705) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:579) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:503) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:481) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI._httpExecute(Unknown Source) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI.httpExecute(Unknown Source) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.native_login(Native Method) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.login(Unknown Source) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.EMClient$6.run(Unknown Source) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.lang.Thread.run(Thread.java:818) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: java.net.ConnectException: failed to connect to /192.168.0.214 (port 8888) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:234) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:171) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connect(IoBridge.java:122) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.Socket.connect(Socket.java:884) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:124) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:193) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 15 more 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:223) 09-12 11:29:50.512 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 22 more 09-12 11:29:50.512 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:521]: [EMARHttpAPI] can't catch exceptions 09-12 11:29:50.522 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:521]: 1 time retry 09-12 11:29:50.522 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:521]: getDnsListFromServer code: 408 response: 09-12 11:29:50.522 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:521]: buildUrl(): http://rs.easemob.com/easemob/server.json?sdk_version=3.3.2&app_key=hyphenatedemo%23hyphenatedemo&file_version=4 09-12 11:29:50.522 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:522]: httprequest perform: http://rs.easemob.com/easemob/server.json?sdk_version=3.3.2&app_key=hyphenatedemo%23hyphenatedemo&file_version=4 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isSBSettingEnabled false 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isShipBuild true 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):getDebugLevel 0x4f4c 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):Smart Bonding Setting is false 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):SmartBonding Setting is false, SHIP_BUILD is true, log to file is false, DBG is false, DEBUG_LEVEL (1-LOW, 2-MID, 3-HIGH) is 1 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo I/System.out: pool-8-thread-1 calls detatch() 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.0.214:8888 refused 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:248) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:172) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:130) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1337) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:705) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:579) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:503) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:481) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI._httpExecute(Unknown Source) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI.httpExecute(Unknown Source) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.native_login(Native Method) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.login(Unknown Source) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.EMClient$6.run(Unknown Source) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.lang.Thread.run(Thread.java:818) 09-12 11:29:50.522 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:528]: [EMARHttpAPI] Connection to http://192.168.0.214:8888 refused 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: java.net.ConnectException: failed to connect to /192.168.0.214 (port 8888) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:234) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:171) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connect(IoBridge.java:122) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.Socket.connect(Socket.java:884) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:124) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:193) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 15 more 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:223) 09-12 11:29:50.522 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 22 more 09-12 11:29:50.522 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:530]: [EMARHttpAPI] can't catch exceptions 09-12 11:29:50.522 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:530]: 2 time retry 09-12 11:29:50.522 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:530]: getDnsListFromServer code: 408 response: 09-12 11:29:50.522 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:530]: EMDNSManager::getHost: type: 0 09-12 11:29:50.522 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:530]: current host: domain: 120.26.17.225 port: 80 09-12 11:29:50.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:532]: buildUrl(): http://120.26.17.225/easemob/server.json?sdk_version=3.3.2&app_key=hyphenatedemo%23hyphenatedemo&file_version=4 09-12 11:29:50.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:533]: LoadDNSConfig() 09-12 11:29:50.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:533]: EMDNSManager::parseDnsServer: 09-12 11:29:50.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:533]: current time: 1505190590533 09-12 11:29:50.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:533]: valid time: 1512958911000 09-12 11:29:50.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:533]: saveConfigs() 09-12 11:29:50.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:533]: write to config file: { "dns_time":"1512958911000" } 09-12 11:29:50.542 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:534]: getDnsListFromTCPServer() 09-12 11:29:50.542 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:534]: EMDNSManager::getCurrentHost: type: 1 09-12 11:29:50.542 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:534]: EMDNSManager::getHost: type: 1 09-12 11:29:50.542 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:534]: current host: domain: 120.26.15.207 port: 2020 09-12 11:29:50.542 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:50:534]: getDnsListFromTCPServer(): addr: 120.26.15.207 09-12 11:29:50.612 30845-30845/com.hyphenate.chatuidemo D/ViewRootImpl: MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1 09-12 11:29:59.862 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:861]: EMDNSManager::getNextAvailableHost: type: 1 09-12 11:29:59.862 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:861]: EMDNSManager::getNextAvailableHost: new index: 3 09-12 11:29:59.862 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:861]: EMDNSManager::getHost: type: 1 09-12 11:29:59.862 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:861]: current host: domain: 59.110.89.59 port: 2020 09-12 11:29:59.862 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:861]: getDnsListFromServer() 09-12 11:29:59.862 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:861]: EMDNSManager::getNextAvailableHost: new index: 0 09-12 11:29:59.862 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:861]: EMDNSManager::getHost: type: 3 09-12 11:29:59.862 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:861]: current host: domain: a1-pro4.easemob.com port: 80 09-12 11:29:59.862 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:861]: restBaseUrl() 09-12 11:29:59.862 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:861]: EMDNSManager::getCurrentHost: type: 3 09-12 11:29:59.862 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:861]: EMSessionManager::checkDNS() 09-12 11:29:59.862 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:862]: EMDNSManager::getHost: type: 3 09-12 11:29:59.862 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:862]: current host: domain: a1-pro4.easemob.com port: 80 09-12 11:29:59.862 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:862]: [HttpClientManager] try send request, request url: http://a1-pro4.easemob.com:80/hyphenatedemo/hyphenatedemo/devices with number: 2 09-12 11:29:59.862 30845-31121/com.hyphenate.chatuidemo I/System.out: Thread-1249(ApacheHTTPLog):isSBSettingEnabled false 09-12 11:29:59.862 30845-31121/com.hyphenate.chatuidemo I/System.out: Thread-1249(ApacheHTTPLog):isShipBuild true 09-12 11:29:59.862 30845-31121/com.hyphenate.chatuidemo I/System.out: Thread-1249(ApacheHTTPLog):getDebugLevel 0x4f4c 09-12 11:29:59.862 30845-31121/com.hyphenate.chatuidemo I/System.out: Thread-1249(ApacheHTTPLog):Smart Bonding Setting is false 09-12 11:29:59.862 30845-31121/com.hyphenate.chatuidemo I/System.out: Thread-1249(ApacheHTTPLog):SmartBonding Setting is false, SHIP_BUILD is true, log to file is false, DBG is false, DEBUG_LEVEL (1-LOW, 2-MID, 3-HIGH) is 1 09-12 11:29:59.872 30845-31121/com.hyphenate.chatuidemo I/System.out: Thread-1249 calls detatch() 09-12 11:29:59.872 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:878]: EMDNSManager::getNextAvailableHost: type: 3 09-12 11:29:59.872 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:878]: EMSessionManager::checkDNS() 09-12 11:29:59.872 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:880]: EMDNSManager::getNextAvailableHost: new index: 1 09-12 11:29:59.872 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:881]: EMDNSManager::getHost: type: 3 09-12 11:29:59.872 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:881]: current host: domain: a1-pro4.easemob.com port: 443 09-12 11:29:59.872 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:881]: restBaseUrl() 09-12 11:29:59.872 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:881]: EMDNSManager::getCurrentHost: type: 3 09-12 11:29:59.882 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:881]: EMSessionManager::checkDNS() 09-12 11:29:59.882 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:881]: EMDNSManager::getHost: type: 3 09-12 11:29:59.882 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:29:59:881]: current host: domain: a1-pro4.easemob.com port: 443 09-12 11:30:10.562 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:10:571]: EMDNSManager::getNextAvailableHost: type: 1 09-12 11:30:10.562 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:10:571]: EMDNSManager::getNextAvailableHost: new index: 4 09-12 11:30:10.562 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:10:571]: EMDNSManager::getHost: type: 1 09-12 11:30:10.562 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:10:571]: current host: domain: 116.62.83.103 port: 2020 09-12 11:30:10.562 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:10:571]: getDnsListFromTCPServer(): addr: 116.62.83.103 09-12 11:30:11.392 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:400]: EMDNSManager::getNextAvailableHost: type: 1 09-12 11:30:11.392 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:400]: tried all candidates, download again 09-12 11:30:11.392 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:400]: getDnsListFromServer() 09-12 11:30:11.392 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:400]: EMDNSManager::getHost: type: 0 09-12 11:30:11.392 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:400]: current host: domain: rs.easemob.com port: 443 09-12 11:30:11.392 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:400]: buildUrl(): https://rs.easemob.com/easemob/server.json?sdk_version=3.3.2&app_key=hyphenatedemo%23hyphenatedemo&file_version=4 09-12 11:30:11.392 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:401]: httprequest perform: https://rs.easemob.com/easemob/server.json?sdk_version=3.3.2&app_key=hyphenatedemo%23hyphenatedemo&file_version=4 09-12 11:30:11.402 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isSBSettingEnabled false 09-12 11:30:11.402 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isShipBuild true 09-12 11:30:11.402 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):getDebugLevel 0x4f4c 09-12 11:30:11.402 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):Smart Bonding Setting is false 09-12 11:30:11.402 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):SmartBonding Setting is false, SHIP_BUILD is true, log to file is false, DBG is false, DEBUG_LEVEL (1-LOW, 2-MID, 3-HIGH) is 1 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo I/System.out: pool-8-thread-1 calls detatch() 09-12 11:30:11.412 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:414]: [EMARHttpAPI] Connection to http://192.168.0.214:8888 refused 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.0.214:8888 refused 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:248) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:172) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:130) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1337) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:705) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:579) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:503) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:481) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI._httpExecute(Unknown Source) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI.httpExecute(Unknown Source) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.native_login(Native Method) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.login(Unknown Source) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.EMClient$6.run(Unknown Source) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.lang.Thread.run(Thread.java:818) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: java.net.ConnectException: failed to connect to /192.168.0.214 (port 8888) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:234) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:171) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connect(IoBridge.java:122) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.Socket.connect(Socket.java:884) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:124) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:193) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 15 more 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:223) 09-12 11:30:11.412 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 22 more 09-12 11:30:11.412 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:421]: [EMARHttpAPI] can't catch exceptions 09-12 11:30:11.412 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:421]: 1 time retry 09-12 11:30:11.412 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:422]: getDnsListFromServer code: 408 response: 09-12 11:30:11.412 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:422]: EMDNSManager::getHost: type: 0 09-12 11:30:11.412 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:422]: current host: domain: 120.26.17.225 port: 80 09-12 11:30:11.412 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:422]: buildUrl(): http://120.26.17.225/easemob/server.json?sdk_version=3.3.2&app_key=hyphenatedemo%23hyphenatedemo&file_version=4 09-12 11:30:11.412 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:422]: httprequest perform: http://120.26.17.225/easemob/server.json?sdk_version=3.3.2&app_key=hyphenatedemo%23hyphenatedemo&file_version=4 09-12 11:30:11.422 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isSBSettingEnabled false 09-12 11:30:11.422 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isShipBuild true 09-12 11:30:11.432 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):getDebugLevel 0x4f4c 09-12 11:30:11.432 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):Smart Bonding Setting is false 09-12 11:30:11.432 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):SmartBonding Setting is false, SHIP_BUILD is true, log to file is false, DBG is false, DEBUG_LEVEL (1-LOW, 2-MID, 3-HIGH) is 1 09-12 11:30:11.442 30845-31147/com.hyphenate.chatuidemo I/System.out: pool-8-thread-1 calls detatch() 09-12 11:30:11.442 30845-31147/com.hyphenate.chatuidemo W/System.err: org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.0.214:8888 refused 09-12 11:30:11.442 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:451]: [EMARHttpAPI] Connection to http://192.168.0.214:8888 refused 09-12 11:30:11.442 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:248) 09-12 11:30:11.442 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:172) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:130) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1337) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:705) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:579) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:503) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:481) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI._httpExecute(Unknown Source) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI.httpExecute(Unknown Source) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.native_login(Native Method) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.login(Unknown Source) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.EMClient$6.run(Unknown Source) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.lang.Thread.run(Thread.java:818) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: java.net.ConnectException: failed to connect to /192.168.0.214 (port 8888) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:234) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:171) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connect(IoBridge.java:122) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.Socket.connect(Socket.java:884) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:124) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:193) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 15 more 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:223) 09-12 11:30:11.452 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 22 more 09-12 11:30:11.452 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:457]: [EMARHttpAPI] can't catch exceptions 09-12 11:30:11.452 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:457]: 2 time retry 09-12 11:30:11.452 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:457]: getDnsListFromServer code: 408 response: 09-12 11:30:11.452 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:457]: EMDNSManager::getHost: type: 0 09-12 11:30:11.452 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:457]: current host: domain: 120.26.15.207 port: 80 09-12 11:30:11.452 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:457]: buildUrl(): http://120.26.15.207/easemob/server.json?sdk_version=3.3.2&app_key=hyphenatedemo%23hyphenatedemo&file_version=4 09-12 11:30:11.452 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:457]: LoadDNSConfig() 09-12 11:30:11.452 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:457]: EMDNSManager::parseDnsServer: 09-12 11:30:11.452 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:458]: current time: 1505190611458 09-12 11:30:11.452 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:458]: valid time: 1512958911000 09-12 11:30:11.452 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:458]: saveConfigs() 09-12 11:30:11.452 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:458]: write to config file: { "dns_time":"1512958911000" } 09-12 11:30:11.462 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:458]: getDnsListFromTCPServer() 09-12 11:30:11.462 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:458]: EMDNSManager::getCurrentHost: type: 1 09-12 11:30:11.462 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:459]: EMDNSManager::getHost: type: 1 09-12 11:30:11.462 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:459]: current host: domain: rs.easemob.com port: 2020 09-12 11:30:11.462 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:11:459]: getDnsListFromTCPServer(): addr: rs.easemob.com 09-12 11:30:31.482 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:31:491]: EMDNSManager::getNextAvailableHost: type: 1 09-12 11:30:31.482 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:31:491]: EMDNSManager::getNextAvailableHost: new index: 1 09-12 11:30:31.482 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:31:491]: EMDNSManager::getHost: type: 1 09-12 11:30:31.482 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:31:491]: current host: domain: 120.26.17.225 port: 2020 09-12 11:30:31.482 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:31:491]: getDnsListFromTCPServer(): addr: 120.26.17.225 09-12 11:30:33.852 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:33:854]: EMDNSManager::getNextAvailableHost: type: 1 09-12 11:30:33.852 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:33:854]: EMDNSManager::getNextAvailableHost: new index: 2 09-12 11:30:33.852 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:33:854]: EMDNSManager::getHost: type: 1 09-12 11:30:33.852 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:33:854]: current host: domain: 120.26.15.207 port: 2020 09-12 11:30:33.852 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:33:854]: getDnsListFromTCPServer(): addr: 120.26.15.207 09-12 11:30:53.882 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:53:884]: EMDNSManager::getNextAvailableHost: type: 1 09-12 11:30:53.882 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:53:885]: EMDNSManager::getNextAvailableHost: new index: 3 09-12 11:30:53.882 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:53:885]: EMDNSManager::getHost: type: 1 09-12 11:30:53.882 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:53:885]: current host: domain: 59.110.89.59 port: 2020 09-12 11:30:53.882 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:53:885]: getDnsListFromServer() 09-12 11:30:53.882 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:53:886]: EMDNSManager::getNextAvailableHost: new index: 3 09-12 11:30:53.882 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:53:886]: EMDNSManager::getHost: type: 1 09-12 11:30:53.882 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:53:886]: current host: domain: 59.110.89.59 port: 2020 09-12 11:30:53.882 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:53:886]: getDnsListFromTCPServer(): addr: 59.110.89.59 09-12 11:30:55.432 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:434]: EMDNSManager::getNextAvailableHost: type: 1 09-12 11:30:55.432 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:434]: EMDNSManager::getNextAvailableHost: new index: 4 09-12 11:30:55.432 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:434]: EMDNSManager::getHost: type: 1 09-12 11:30:55.432 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:434]: current host: domain: 116.62.83.103 port: 2020 09-12 11:30:55.432 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:434]: getDnsListFromServer() 09-12 11:30:55.432 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:434]: fetchToken() 09-12 11:30:55.432 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:434]: restBaseUrl() 09-12 11:30:55.432 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:434]: EMDNSManager::getCurrentHost: type: 3 09-12 11:30:55.432 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:434]: EMSessionManager::checkDNS() 09-12 11:30:55.432 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:434]: EMDNSManager::getHost: type: 3 09-12 11:30:55.432 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:434]: current host: domain: a1-pro4.easemob.com port: 80 09-12 11:30:55.432 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:435]: fetchTokenForUser()http://a1-pro4.easemob.com:80/hyphenatedemo/hyphenatedemo/token 09-12 11:30:55.432 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:435]: httprequest perform: http://a1-pro4.easemob.com:80/hyphenatedemo/hyphenatedemo/token 09-12 11:30:55.432 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isSBSettingEnabled false 09-12 11:30:55.432 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isShipBuild true 09-12 11:30:55.432 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):getDebugLevel 0x4f4c 09-12 11:30:55.432 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):Smart Bonding Setting is false 09-12 11:30:55.432 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):SmartBonding Setting is false, SHIP_BUILD is true, log to file is false, DBG is false, DEBUG_LEVEL (1-LOW, 2-MID, 3-HIGH) is 1 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo I/System.out: pool-8-thread-1 calls detatch() 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.0.214:8888 refused 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:248) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:172) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:130) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1337) 09-12 11:30:55.472 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:473]: [EMARHttpAPI] Connection to http://192.168.0.214:8888 refused 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:705) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:579) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:503) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:481) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI._httpExecute(Unknown Source) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI.httpExecute(Unknown Source) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.native_login(Native Method) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.login(Unknown Source) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.EMClient$6.run(Unknown Source) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.lang.Thread.run(Thread.java:818) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: java.net.ConnectException: failed to connect to /192.168.0.214 (port 8888) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:234) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:171) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connect(IoBridge.java:122) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.Socket.connect(Socket.java:884) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:124) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:193) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 15 more 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:223) 09-12 11:30:55.472 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 22 more 09-12 11:30:55.482 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:483]: [EMARHttpAPI] can't catch exceptions 09-12 11:30:55.482 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:484]: fetchTokenForUser return code : 408 response : and error desc: 09-12 11:30:55.482 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:484]: restBaseUrl() 09-12 11:30:55.482 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:484]: EMDNSManager::getNextAvailableHost: type: 3 09-12 11:30:55.482 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:484]: EMSessionManager::checkDNS() 09-12 11:30:55.482 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:484]: EMDNSManager::getNextAvailableHost: new index: 1 09-12 11:30:55.482 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:484]: EMDNSManager::getHost: type: 3 09-12 11:30:55.482 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:484]: current host: domain: a1-pro4.easemob.com port: 443 09-12 11:30:55.482 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:485]: httprequest perform: https://a1-pro4.easemob.com:443/hyphenatedemo/hyphenatedemo/token 09-12 11:30:55.482 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isSBSettingEnabled false 09-12 11:30:55.482 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isShipBuild true 09-12 11:30:55.482 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):getDebugLevel 0x4f4c 09-12 11:30:55.482 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):Smart Bonding Setting is false 09-12 11:30:55.482 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):SmartBonding Setting is false, SHIP_BUILD is true, log to file is false, DBG is false, DEBUG_LEVEL (1-LOW, 2-MID, 3-HIGH) is 1 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo I/System.out: pool-8-thread-1 calls detatch() 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.0.214:8888 refused 09-12 11:30:55.522 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:526]: [EMARHttpAPI] Connection to http://192.168.0.214:8888 refused 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:248) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:172) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:130) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1337) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:705) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:579) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:503) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:481) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI._httpExecute(Unknown Source) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI.httpExecute(Unknown Source) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.native_login(Native Method) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.login(Unknown Source) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.EMClient$6.run(Unknown Source) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.lang.Thread.run(Thread.java:818) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: java.net.ConnectException: failed to connect to /192.168.0.214 (port 8888) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:234) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:171) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connect(IoBridge.java:122) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.Socket.connect(Socket.java:884) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:124) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:193) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 15 more 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:223) 09-12 11:30:55.522 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 22 more 09-12 11:30:55.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:531]: [EMARHttpAPI] can't catch exceptions 09-12 11:30:55.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:531]: fetchTokenForUser return code : 408 response : and error desc: 09-12 11:30:55.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:532]: restBaseUrl() 09-12 11:30:55.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:532]: EMDNSManager::getNextAvailableHost: type: 3 09-12 11:30:55.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:532]: EMSessionManager::checkDNS() 09-12 11:30:55.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:532]: tried all candidates, download again 09-12 11:30:55.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:532]: getDnsListFromServer() 09-12 11:30:55.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:532]: EMDNSManager::getHost: type: 0 09-12 11:30:55.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:532]: current host: domain: rs.easemob.com port: 443 09-12 11:30:55.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:532]: buildUrl(): https://rs.easemob.com/easemob/server.json?sdk_version=3.3.2&app_key=hyphenatedemo%23hyphenatedemo&file_version=4 09-12 11:30:55.532 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:532]: httprequest perform: https://rs.easemob.com/easemob/server.json?sdk_version=3.3.2&app_key=hyphenatedemo%23hyphenatedemo&file_version=4 09-12 11:30:55.532 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isSBSettingEnabled false 09-12 11:30:55.532 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isShipBuild true 09-12 11:30:55.532 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):getDebugLevel 0x4f4c 09-12 11:30:55.532 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):Smart Bonding Setting is false 09-12 11:30:55.532 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):SmartBonding Setting is false, SHIP_BUILD is true, log to file is false, DBG is false, DEBUG_LEVEL (1-LOW, 2-MID, 3-HIGH) is 1 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo I/System.out: pool-8-thread-1 calls detatch() 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.0.214:8888 refused 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:248) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:172) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:130) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1337) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:705) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:579) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:503) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:481) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI._httpExecute(Unknown Source) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI.httpExecute(Unknown Source) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.native_login(Native Method) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.login(Unknown Source) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.EMClient$6.run(Unknown Source) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.lang.Thread.run(Thread.java:818) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: java.net.ConnectException: failed to connect to /192.168.0.214 (port 8888) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:30:55.562 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:564]: [EMARHttpAPI] Connection to http://192.168.0.214:8888 refused 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:234) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:171) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connect(IoBridge.java:122) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.Socket.connect(Socket.java:884) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:124) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:193) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 15 more 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:223) 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 22 more 09-12 11:30:55.562 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:566]: [EMARHttpAPI] can't catch exceptions 09-12 11:30:55.562 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:567]: 1 time retry 09-12 11:30:55.562 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:567]: getDnsListFromServer code: 408 response: 09-12 11:30:55.562 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:567]: EMDNSManager::getHost: type: 0 09-12 11:30:55.562 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:567]: current host: domain: 120.26.17.225 port: 80 09-12 11:30:55.562 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:567]: buildUrl(): http://120.26.17.225/easemob/server.json?sdk_version=3.3.2&app_key=hyphenatedemo%23hyphenatedemo&file_version=4 09-12 11:30:55.562 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:567]: httprequest perform: http://120.26.17.225/easemob/server.json?sdk_version=3.3.2&app_key=hyphenatedemo%23hyphenatedemo&file_version=4 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isSBSettingEnabled false 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):isShipBuild true 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):getDebugLevel 0x4f4c 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):Smart Bonding Setting is false 09-12 11:30:55.562 30845-31147/com.hyphenate.chatuidemo I/System.out: Thread-1261(ApacheHTTPLog):SmartBonding Setting is false, SHIP_BUILD is true, log to file is false, DBG is false, DEBUG_LEVEL (1-LOW, 2-MID, 3-HIGH) is 1 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo I/System.out: pool-8-thread-1 calls detatch() 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.0.214:8888 refused 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:248) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:172) 09-12 11:30:55.572 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:576]: [EMARHttpAPI] Connection to http://192.168.0.214:8888 refused 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:130) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1337) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:705) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:579) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:503) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:481) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI._httpExecute(Unknown Source) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMARHttpAPI.httpExecute(Unknown Source) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.native_login(Native Method) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.adapter.EMAChatClient.login(Unknown Source) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at com.hyphenate.chat.EMClient$6.run(Unknown Source) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.lang.Thread.run(Thread.java:818) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: java.net.ConnectException: failed to connect to /192.168.0.214 (port 8888) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:234) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:171) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.connect(IoBridge.java:122) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at java.net.Socket.connect(Socket.java:884) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:124) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:193) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 15 more 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:223) 09-12 11:30:55.572 30845-31147/com.hyphenate.chatuidemo W/System.err: ... 22 more 09-12 11:30:55.572 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:579]: [EMARHttpAPI] can't catch exceptions 09-12 11:30:55.572 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:580]: 2 time retry 09-12 11:30:55.572 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:580]: getDnsListFromServer code: 408 response: 09-12 11:30:55.572 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:581]: EMDNSManager::getHost: type: 0 09-12 11:30:55.572 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:581]: current host: domain: 120.26.15.207 port: 80 09-12 11:30:55.572 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:582]: buildUrl(): http://120.26.15.207/easemob/server.json?sdk_version=3.3.2&app_key=hyphenatedemo%23hyphenatedemo&file_version=4 09-12 11:30:55.572 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:582]: LoadDNSConfig() 09-12 11:30:55.572 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:582]: EMDNSManager::parseDnsServer: 09-12 11:30:55.572 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:582]: current time: 1505190655582 09-12 11:30:55.572 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:582]: valid time: 1512958911000 09-12 11:30:55.572 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:582]: saveConfigs() 09-12 11:30:55.582 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:582]: write to config file: { "dns_time":"1512958911000" } 09-12 11:30:55.582 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:583]: getDnsListFromTCPServer() 09-12 11:30:55.582 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:583]: EMDNSManager::getCurrentHost: type: 1 09-12 11:30:55.582 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:584]: EMDNSManager::getHost: type: 1 09-12 11:30:55.582 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:584]: current host: domain: 116.62.83.103 port: 2020 09-12 11:30:55.582 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:55:584]: getDnsListFromTCPServer(): addr: 116.62.83.103 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:844]: DNS List size: 774 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:844]: EMDNSManager::parseDnsServer: {"file_version":"4","resolver":{"hosts":[{"protocol":"https","port":"443","domain":"rs.easemob.com"},{"port":"80","domain":"rs-aws.easemob.com","ip":"120.26.15.207"},{"port":"80","domain":"rs-aws.easemob.com","ip":"120.26.17.225"}]},"rest":{"hosts":[{"protocol":"https","port":"443","domain":"a1-pro4.easemob.com"},{"protocol":"http","port":"80","domain":"a1-pro4.easemob.com"}]},"valid_before":"1512938328","im":{"hosts":[{"port":"5222","domain":"im1-pro4.easemob.com"}]},"deploy_name":"pro4","msync-im":{"hosts":[{"port":"6717","domain":"msync-pro4.easemob.com"}]},"xmpp":{"hosts":[{"protocol":"http","port":"80","domain":"im-api-pro4.easemob.com","ip":"im-api-pro4.easemob.com"},{"protocol":"https","port":"443","domain":"im-api-pro4.easemob.com"}]},"gcm_enabled":"true"} 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:844]: current time: 1505190656844 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:844]: valid time: 1512938328000 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:844]: saveConfigs() 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:845]: write to config file: { "dns_time":"1512938328000" } 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:845]: got dns from tcp server, dns maybe hijacked 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:845]: ranomOffer 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:845]: imServer before random: 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:845]: 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:845]: randomServers 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:845]: randomServers 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:846]: randomServers 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:846]: randomServers 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:846]: imServer after random: 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:846]: 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:846]: EMDNSManager::getNextAvailableHost: new index: 0 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:846]: EMDNSManager::getHost: type: 3 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:846]: current host: domain: a1-pro4.easemob.com port: 443 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:846]: [retrieve token time] 0: 1:412 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:846]: fetchToken can't fetch user token: 301 09-12 11:30:56.842 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:848]: [EMClient] do stop service 09-12 11:30:56.892 30845-30845/com.hyphenate.chatuidemo D/ViewRootImpl: #3 mView = null 09-12 11:30:56.912 30845-31100/com.hyphenate.chatuidemo D/ONE SDK: [2017/09/12 11:30:56:921]: [SignInActivity] Sign in error code: 301, msg: Server response timeout 09-12 11:30:56.942 30845-30845/com.hyphenate.chatuidemo E/ViewRootImpl: sendUserActionEvent() mView == null 09-12 11:30:56.942 30845-30845/com.hyphenate.chatuidemo D/ViewRootImpl: #1 mView = android.widget.LinearLayout{72607a1 V.E...... ......I. 0,0-0,0} 09-12 11:30:57.002 30845-30845/com.hyphenate.chatuidemo D/ViewRootImpl: MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1 09-12 11:30:57.162 30845-31171/com.hyphenate.chatuidemo V/RenderScript: 0xb9868398 Launching thread(s), CPUs 4 09-12 11:31:00.452 30845-30845/com.hyphenate.chatuidemo D/ViewRootImpl: #3 mView = null