IBM MobileFirst - IPV6上的Android连接错误

时间:2018-05-19 15:13:27

标签: ibm-mobilefirst worklight-server

我们正在使用worklight 7应用程序并在以下版本上获得握手错误。

7.1.0.00.20160401-2103

虽然通过IPV6连接的应用程序在Android上遇到以下错误,但在通过IPV4进行连接时工作正常。

05-19 18:31:56.840 16157-16658/com.sampleapp W/System.err: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
05-19 18:31:56.840 16157-16658/com.sampleapp W/System.err:     at com.android.org.conscrypt.SSLNullSession.getPeerCertificates(SSLNullSession.java:104)
05-19 18:31:56.840 16157-16658/com.sampleapp W/System.err:     at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:99)
05-19 18:31:56.840 16157-16658/com.sampleapp W/System.err:     at com.worklight.wlclient.aeknjhzpue.awklahudcn.verify(SourceFile:42)
05-19 18:31:56.840 16157-16658/com.sampleapp W/System.err:     at com.worklight.wlclient.vpinofqvte.createSocket(SourceFile:94)
05-19 18:31:56.840 16157-16658/com.sampleapp W/System.err:     at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:170)
05-19 18:31:56.840 16157-16658/com.sampleapp W/System.err:     at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169)
05-19 18:31:56.840 16157-16658/com.sampleapp W/System.err:     at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)
05-19 18:31:56.840 16157-16658/com.sampleapp W/System.err:     at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:366)
05-19 18:31:56.840 16157-16658/com.sampleapp W/System.err:     at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)
05-19 18:31:56.840 16157-16658/com.sampleapp W/System.err:     at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492)
05-19 18:31:56.841 16157-16658/com.sampleapp W/System.err:     at com.worklight.wlclient.ncyludlxhw.run(SourceFile:47)
05-19 18:31:56.841 16157-16658/com.sampleapp W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
05-19 18:31:56.841 16157-16658/com.sampleapp W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
05-19 18:31:56.841 16157-16658/com.sampleapp W/System.err:     at java.lang.Thread.run(Thread.java:761)
05-19 18:31:56.855 16157-16369/com.sampleapp D/wl.certManager: aeknjhzpue.awklahudcn in SourceFile:258 :: Key store cleared.
05-19 18:31:56.860 16157-16369/com.sampleapp D/NONE: Client registration failed with error: {"responseHeaders":{},"status":500,"responseText":"","errorCode":"UNEXPECTED_ERROR","errorMsg":"Unexpected errorCode occurred. Please try again.","invocationContext":null}
05-19 18:31:56.871 16157-16369/com.sampleapp E/NONE: [/apps/services/api/sampleapp/android/query] failure. state: 500, response: undefined
05-19 18:31:56.877 16157-16157/com.sampleapp I/chromium: [INFO:CONSOLE(311)] "{"status":500,"errorCode":"UNEXPECTED_ERROR","errorMsg":"Unexpected errorCode occurred. Please try again.","invocationContext":null}", source: file:///android_asset/wwwBD/default/js/main.js (311)

WLClient.properties

wlServerProtocol = https
wlServerHost = uatdomain.com
wlServerPort = 443
wlServerContext = /bankcontext/
wlAppId = bankcontext
wlAppVersion = 1.0
GcmSenderId =
enableSettings = false
testWebResourcesChecksum = false
ignoredFileExtensions =
webResourcesSize = 5734268
wlUid = nzhTmU3E/iVLhJLzR+BT9w==
wlPlatformVersion = 7.1.0.0
wlMainFilePath = index.html
wlShareCookies =
wlShareUserCert = false
wlSecureDirectUpdatePublicKey =
wlBuildId = 7.1.0.00.20160401-2103

1 个答案:

答案 0 :(得分:3)

请您在IPV6和IPV4网络上使用openssl工具进行验证。

需要检查服务器在握手时确切返回的内容。

使用以下命令检查并分享结果。

openssl s_client -connet domain:443