Skip to content

[BUG] App not connecting on Android 4.x devices #582

Description

@chirag-jn

Describe the issue
The app isn't signing in when tested on Android 4.x devices. The app supports minimum SDK version Android 4.2 and it failed to work for a 4.x device.

Screenshots
image

Smartphone (please complete as much of the following information as possible):

  • Device: Nexus 4 on Android Emulator
  • OS: Android 4.2
  • Version 17

Stacktrace

07-28 19:28:25.322 2814-2846/org.amahi.anywhere D/OkHttp: --> POST https://api.amahi.org/api2/oauth/token?grant_type=password http/1.1
07-28 19:28:25.322 2814-2846/org.amahi.anywhere D/OkHttp: Content-Type: application/x-www-form-urlencoded
07-28 19:28:25.322 2814-2846/org.amahi.anywhere D/OkHttp: Content-Length: 193
07-28 19:28:25.322 2814-2846/org.amahi.anywhere D/OkHttp: Accept: application/json
07-28 19:28:25.322 2814-2846/org.amahi.anywhere D/OkHttp: User-Agent: AmahiAnywhere/3.0.0 (Android 4.2.2; Android SDK built for x86) Size/4.7 Resolution/1280x768
07-28 19:28:25.322 2814-2846/org.amahi.anywhere D/OkHttp: client_id=something&client_secret=something&username=something&password=something
07-28 19:28:25.322 2814-2846/org.amahi.anywhere D/OkHttp: --> END POST (193-byte body)
07-28 19:28:25.882 2814-2846/org.amahi.anywhere D/OkHttp: <-- HTTP FAILED: javax.net.ssl.SSLException: Connection closed by peer

Please note that client_id, client_secret, username and password are removed from the above stacktrace for security purposes.

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions