YunoHost-Apps / navidrome_ynh

Navidrome package for YunoHost
https://www.navidrome.org/
GNU General Public License v3.0
17 stars 5 forks source link

Error connecting to private installation through UltraSonic #10

Closed SpencerDub closed 4 years ago

SpencerDub commented 4 years ago

Describe the bug Attempting to connect to a private Navidrome YunoHost installation via UltraSonic yields an error:

Connection failure. Didn't understand the reply. Please check the server address.

System details

To Reproduce

  1. Install Navidrome on YunoHost. Mark it as a private installation.
  2. Create a user for Navidrome.
  3. Install UltraSonic for Android.
  4. In UltraSonic, add the Navidrome server:
    • Server Address: path to Navidrome (example.com/navidrome)
    • Username: user created above
    • Password: user created above
    • Enabled: checked
    • Allow self-signed HTTPS certificate: checked
  5. In UltraSonic, tap "Test Server".

Expected Behavior UltraSonic logs into the server.

Notes

ericgaspar commented 4 years ago

What happens if you switch Navidrome to public? (Admin console -> Users -> Manage groups and authorizations -> Visitors -> Add a permission -> Navidrome)

SpencerDub commented 4 years ago

That does it! And since Navidrome requires a login, I guess it's not like I'm actually opening the server to random internet strangers.

@ericgaspar, thanks for your help with all this, especially highlighting things that should be totally obvious. I hope I haven't been too much of a pest; I really appreciate you pulling this package together.

lautome commented 4 years ago

Server Address: path to Navidrome (example.com/navidrome)

Newcomers beware, don't loose as much time as I did with your connection problem. You probably have to modify the path to your server like I had to. Instead of "https://user.yunohost.tld" use "https://user.yunohost.tld/navidrome"!

Thanks @SpencerDub for pointing this out. I felt dumb and I learned a thing.

Cheers