Skip to content

Android Mutual Authentication Exception Failure #143

@ccchp

Description

@ccchp

java.lang.ClassCastException: org.bouncycastle.asn1.pkcs.PrivateKeyInfo cannot be cast to org.bouncycastle.openssl.PEMKeyPair 2024-05-15 17:17:40.484 31070-31070 System.err io.emqx.mqtt W at io.emqx.mqtt.SSLUtils.getSocketFactory(SSLUtils.java:70) 2024-05-15 17:17:40.484 31070-31070 System.err io.emqx.mqtt W at io.emqx.mqtt.Connection.getMqttConnectOptions(Connection.java:54) 2024-05-15 17:17:40.484 31070-31070 System.err io.emqx.mqtt W at io.emqx.mqtt.MainActivity.connect(MainActivity.java:48) 2024-05-15 17:17:40.485 31070-31070 System.err io.emqx.mqtt W at io.emqx.mqtt.ConnectionFragment$1.onClick(ConnectionFragment.java:53) 2024-05-15 17:17:40.485 31070-31070 System.err io.emqx.mqtt W at android.view.View.performClick(View.java:7201) 2024-05-15 17:17:40.485 31070-31070 System.err io.emqx.mqtt W at android.view.View.performClickInternal(View.java:7170) 2024-05-15 17:17:40.485 31070-31070 System.err io.emqx.mqtt W at android.view.View.access$3500(View.java:806) 2024-05-15 17:17:40.485 31070-31070 System.err io.emqx.mqtt W at android.view.View$PerformClick.run(View.java:27562) 2024-05-15 17:17:40.485 31070-31070 System.err io.emqx.mqtt W at android.os.Handler.handleCallback(Handler.java:883) 2024-05-15 17:17:40.485 31070-31070 System.err io.emqx.mqtt W at android.os.Handler.dispatchMessage(Handler.java:100) 2024-05-15 17:17:40.485 31070-31070 System.err io.emqx.mqtt W at android.os.Looper.loop(Looper.java:214) 2024-05-15 17:17:40.485 31070-31070 System.err io.emqx.mqtt W at android.app.ActivityThread.main(ActivityThread.java:7682) 2024-05-15 17:17:40.485 31070-31070 System.err io.emqx.mqtt W at java.lang.reflect.Method.invoke(Native Method) 2024-05-15 17:17:40.485 31070-31070 System.err io.emqx.mqtt W at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516) 2024-05-15 17:17:40.485 31070-31070 System.err io.emqx.mqtt W at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)


This issue was automatically translated from Chinese.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions