多个设备上的Facebook SDK SSLHandshakeException

时间:2019-04-03 10:49:16

标签: android facebook facebook-android-sdk

使用我的应用程序的某些人(例如10岁)在尝试使用Facebook登录时面临以下问题(目前在Android 8.0上)(这是Crashlytics的日志,我无法重现此问题):

Non-fatal Exception: com.facebook.FacebookAuthorizationException
Caught exception: javax.net.ssl.SSLHandshakeException: SSL handshake aborted: ssl=0x77c2687bc0: I/O error during system call, Software caused connection abort
com.facebook.login.LoginManager.onActivityResult (LoginManager.java:219)
com.facebook.login.LoginManager$1.onActivityResult (LoginManager.java:174)
com.facebook.internal.CallbackManagerImpl.onActivityResult (CallbackManagerImpl.java:91)
com.passions.android.app.features.landing.login.FacebookLoginServiceImpl.onActivityResult (FacebookLoginService.kt:44)
...

这是使用Facebook登录的代码:

val PERMISSIONS = listOf("public_profile", "email", "user_gender", "user_birthday", "user_photos", "user_age_range")
loginManager.logInWithReadPermissions(activity, PERMISSIONS)

对问题的根源有任何想法吗?

0 个答案:

没有答案