Skip to content

Backgroung Library Download Networking Issues on GrapheneOS #95

@TeeTeufel

Description

@TeeTeufel

Bug Description

Fist of all: I am very pleased to see an Navidrome compatible app that let me download my whole library with one button. Thank you very much.

When Downloading my whole library, as soon as the screen is locked or App is not active, the downloads fail.
This results in the count for "Downloaded Songs" to stay the same, but the count for the songs that should already be downloaded on "Download Library ..." increases.

As far as I remember, there where no prompts for any permissions, if this would be a problem.
It could be an issue with GrapheneOS, but I am not sure where to look.

My library has ~7500 Songs and ~800 Albums.

Steps to Reproduce

  1. Install Musly on GrapheneOS
  2. Setup the app with a Navidrome server
  3. Go to settings and Download Whole Library
  4. Lock the phone or exit the app and watch debug logs

Expected Behavior

Depending on the root cause of the issue:

  1. Download stops
  2. Downloads proceeds when device is locked
  3. Screen stays active

App Version

1.0.8

Subsonic Server

Navidrome

Relevant Logs

I/flutter (17888): Error downloading song: DioException [connection error]: The connection errored: Failed host lookup: '<My Server Domain>' This indicates an error which most likely cannot be solved by the library.
I/flutter (17888): Error: SocketException: Failed host lookup: '<My Server Domain>' (OS Error: No address associated with hostname, errno = 7)
I/flutter (17888): Failed to download song: Be Exhausted

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions