Skip to content

[Bug]: java.security.cert.CertPathValidatorException displayed instead of login error on Android 5/6 #6667

Description

@Roniscend

Summary

When attempting to log in with incorrect credentials on older Android versions (5.0/6.0), the app displays a technical SSL certificate error (Trust anchor for certification path not found) instead of a user-friendly "Invalid credentials" message.

Steps to reproduce

  1. Open the Commons Beta app on an Android 6.0 device/emulator.
  2. Navigate to the Login screen.
  3. Enter a random username and password.
  4. Tap the LOG IN button.

Expected behaviour

The app should validate the credentials and show a clear error message

Actual behaviour

The app displays java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Device name

Nexus Emulator

Android version

Android 6.0

Commons app version

6.3.0

Device logs

No response

Screenshots

Image
Image

Would you like to work on the issue?

Yes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions