You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the FusionAuth Android SDK one receives a javax.net.ssl.SSLHandshakeException: Connection closed by peer on the first attempt of val authState: FusionAuthState = AuthorizationManager.oAuth(this@TokenActivity) .handleRedirect(intent) when using https
This can be recreated by using the FusionAuth Android SDK Changebank example
Observed versions
1.53.3
Affects versions
Steps to reproduce
Steps to reproduce the behavior:
Download the Android SDK Changebank example
Setup a FusionAuth Instance on Ubuntu with https on port 9013
Open the application on an Android device and login
Expected behavior
should not generate an SSL handshake error on login
FusionAuth installed on Ubuntu with standard PostgresSQL database.
Using Port 9013 with Lets Encrypt SSL certificate
Strangely it only fails on the first call to AuthorizationManager.oAuth try { val authState: FusionAuthState = AuthorizationManager.oAuth(this@TokenActivity) .handleRedirect(intent) Log.i(TAG, "authState: ${authState.toString()}") fetchUserInfoAndDisplayAuthorized() }
subsequent calls to AuthorizationManager.oAuth do however work correctly.
The iOS sample app and web interface work without any issues.
Android SDK SSL Handshake Error
Description
When using the FusionAuth Android SDK one receives a
javax.net.ssl.SSLHandshakeException: Connection closed by peer
on the first attempt ofval authState: FusionAuthState = AuthorizationManager.oAuth(this@TokenActivity) .handleRedirect(intent)
when using httpsThis can be recreated by using the FusionAuth Android SDK Changebank example
Observed versions
1.53.3
Affects versions
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
should not generate an SSL handshake error on login
Screenshots
Platform
(Please complete the following information)
Community guidelines
All issues filed in this repository must abide by the FusionAuth community guidelines.
Additional context
The application does work in docker on http port 9011
The text was updated successfully, but these errors were encountered: