Skip to content

Unexpected end of stream error #457

@GayathriGouni5

Description

@GayathriGouni5

Hi,
We are using Okta IDX SDK (version: 3.0.6) for auth and MFA in our android app. We see the following particular error happening quite often again: com.okta.commons.http.HttpException: unexpected end of stream on https://qa.login.***.com. It’s thrown from Okta SDK functions.
This error has been thrown from Okta SDK functions, mostly when calling SDK to send challenge code to a selected factor (after userid/pass verified), secondly when calling SDK to verify the entered OTP. The SDK login call with userId/password also recorded such error (less frequent than the other two).
Once getting such error, retrying the operation again seems to help. Close and reopen the app seems can help.
Please find the details and STR for one of the scenarios below:
Steps to reproduce:
Log in with username/password .
After successful idxAuthenticationWrapper.verifyAuthenticator(
authResponse.proceedContext,
VerifyAuthenticatorOptions(password)
) call, which returns two options email and mobile.
Click on either options really quick and this calls select Authenticator IDXAuthenticationWrapper.selectAuthenticator(ProceedContext proceedContext,com.okta.idx.sdk.api.client.Authenticator authenticator).
Issue:
Getting the below exception
com.okta.commons.http.HttpException: unexpected end of stream on https://qa.login.***.com/..
Please advise if it’s a known issue. Any help/ directions to fix this issue is appreciated
We upgraded to 3.0.6(on June 22nd) and it helped sometime (around 3weeks) we did not see any errors until July 6th, and these errors are back again.

Please refer to #445 we raised for same issue before.

Appreciate you help for resolving this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions