Skip to content

Login not working on WiFi #116

@a20eac1d

Description

@a20eac1d

Describe the bug

I have setup a Funkwhale instance and want to use Otter to connect to it via insecure HTTP. I have entered the login details and click on connect. When I am connected to a WiFi network the app doesn't work. A message pops up saying "Logging in" for a split second and then disappears without any other notice. I'm stuck on the login screen. Switching to 4G mobile data makes it work again and I can listen to music. Switching back to WiFi and refreshing makes all the albums and songs disappear.

In about 5% of all logins I get an error message under the host name text field saying:

"java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $"

This is a Gist with the logcat output, but there is nothing interesting

https://gist.github.com/a20eac1d/b299e5d4546ccf5d3527057189c00dbe

How to reproduce

  1. Try to login via WiFi
  2. It doesn't work

Expected behavior

It should work with any kind of internet connection.

Environment details

  • Device: Huawei Mate 10 Lite
  • Android version: 8.0.0
  • App version: 1.0.21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions