HI all,
We are currently trying to get the FSM6u8 Android app running in the Android emulator. We have all the neccessary certificates installed on the virtual device, but it just wont connect.
When we type the URL into the device browser, it goes to the landing page, but says certificate is missing. If you click cancel on that message, you still see the page and can download the app. Each time you go to the URL in the browser after that, you get no certificate message. Only when you first try it.
We are completely stumped with this and would appreciate any help.
I have run the app fro the studio and monitored the logcat and we get the errors below.
Thanks in advance.
2021-03-11 15:50:43.933 6940-7085/com.metrix.metrixmobile E/com.metrix.metrixmobile: ProbReadingRemoteResFor1Args: javax.net.ssl.SSLPeerUnverifiedException: CannotVerifyHostname1Args
at com.metrix.architecture.services.MetrixRemoteExecutor.execute(MetrixRemoteExecutor.java:332)
at com.metrix.architecture.services.MetrixRemoteExecutor.executeGet(MetrixRemoteExecutor.java:296)
at com.metrix.metrixmobile.global.MetrixAuthenticationAssistant.ping(MetrixAuthenticationAssistant.java:465)
at com.metrix.metrixmobile.global.MetrixAuthenticationAssistant.getAuthenticationMethods(MetrixAuthenticationAssistant.java:606)
at com.metrix.metrixmobile.system.ActivateDeviceEntry.queryAuthentication(ActivateDeviceEntry.java:147)
at com.metrix.metrixmobile.system.ActivateDeviceEntry.access$000(ActivateDeviceEntry.java:31)
at com.metrix.metrixmobile.system.ActivateDeviceEntry$1.run(ActivateDeviceEntry.java:135)
at java.lang.Thread.run(Thread.java:764)
Caused by: javax.net.ssl.SSLPeerUnverifiedException: CannotVerifyHostname1Args
at com.metrix.architecture.services.MetrixSSLSocketFactory.createSocket(MetrixSSLSocketFactory.java:129)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:170)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:366)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:470)
at com.metrix.architecture.services.MetrixRemoteExecutor.execute(MetrixRemoteExecutor.java:323)
at com.metrix.architecture.services.MetrixRemoteExecutor.executeGet(MetrixRemoteExecutor.java:296)
at com.metrix.metrixmobile.global.MetrixAuthenticationAssistant.ping(MetrixAuthenticationAssistant.java:465)
at com.metrix.metrixmobile.global.MetrixAuthenticationAssistant.getAuthenticationMethods(MetrixAuthenticationAssistant.java:606)
at com.metrix.metrixmobile.system.ActivateDeviceEntry.queryAuthentication(ActivateDeviceEntry.java:147)
at com.metrix.metrixmobile.system.ActivateDeviceEntry.access$000(ActivateDeviceEntry.java:31)
at com.metrix.metrixmobile.system.ActivateDeviceEntry$1.run(ActivateDeviceEntry.java:135)
at java.lang.Thread.run(Thread.java:764)
ProbReadingRemoteResFor1Args: javax.net.ssl.SSLPeerUnverifiedException: CannotVerifyHostname1Args
at com.metrix.architecture.services.MetrixRemoteExecutor.execute(MetrixRemoteExecutor.java:332)
at com.metrix.architecture.services.MetrixRemoteExecutor.executeGet(MetrixRemoteExecutor.java:296)
at com.metrix.metrixmobile.global.MetrixAuthenticationAssistant.ping(MetrixAuthenticationAssistant.java:465)
at com.metrix.metrixmobile.global.MetrixAuthenticationAssistant.getAuthenticationMethods(MetrixAuthenticationAssistant.java:606)
at com.metrix.metrixmobile.system.ActivateDeviceEntry.queryAuthentication(ActivateDeviceEntry.java:147)
at com.metrix.metrixmobile.system.ActivateDeviceEntry.access$000(ActivateDeviceEntry.java:31)
at com.metrix.metrixmobile.system.ActivateDeviceEntry$1.run(ActivateDeviceEntry.java:135)
at java.lang.Thread.run(Thread.java:764)
Caused by: javax.net.ssl.SSLPeerUnverifiedException: CannotVerifyHostname1Args
at com.metrix.architecture.services.MetrixSSLSocketFactory.createSocket(MetrixSSLSocketFactory.java:129)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:170)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:366)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:470)
at com.metrix.architecture.services.MetrixRemoteExecutor.execute(MetrixRemoteExecutor.java:323)
at com.metrix.architecture.services.MetrixRemoteExecutor.executeGet(MetrixRemoteExecutor.java:296)
at com.metrix.metrixmobile.global.MetrixAuthenticationAssistant.ping(MetrixAuthenticationAssistant.java:465)
at com.metrix.metrixmobile.global.MetrixAuthenticationAssistant.getAuthenticationMethods(MetrixAuthenticationAssistant.java:606)
at com.metrix.metrixmobile.system.ActivateDeviceEntry.queryAuthentication(ActivateDeviceEntry.java:147)
at com.metrix.metrixmobile.system.ActivateDeviceEntry.access$000(ActivateDeviceEntry.java:31)
at com.metrix.metrixmobile.system.ActivateDeviceEntry$1.run(ActivateDeviceEntry.java:135)
at java.lang.Thread.run(Thread.java:764)