Skip to content

TrackNotFoundError only while using mobile data network #2264

@reddragonmps

Description

@reddragonmps

Is there an existing issue for this? (Please read the description)

  • I have searched the existing issues

Current Behavior

The app works perfectly while using my ISP WiFi. I've been playing songs on Spotube on my phone and Linux desktop without a hitch, as long as I'm connected to my home network. As soon as I disconnect from WiFi and use mobile data y get TrackNotFoundError on every song.

Expected Behavior

Spotube should be able to connect to the music stream through Digi's mobile network.

Steps to reproduce

  1. Select any provider.
  2. Use mobile data.
  3. Play any song.
  4. Logs fill with TrackNotFoundError and failed to open http://0.0.0.0:1234/stream/...
  5. Song skips and back to 4.

Logs

Logs
<[2025-01-20 07:45:01.974092]---------------------
[TrackNotFoundError] POLSKA JUMPSTYLE - Mr. Polska, Natte Visstick, Vieze Asbak
#0      JioSaavnSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/jiosaavn.dart:60)
<asynchronous suspension>
#1      SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:200)
<asynchronous suspension>
#2      SourcedTrackNotifier.build (package:spotube/provider/server/sourced_track.dart:27)
<asynchronous suspension>
#3      FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:355)
<asynchronous suspension>

----------------------------------------
[2025-01-20 07:45:01.975842]---------------------
Failed to open http://0.0.0.0:7332/stream/2mShDoJYcOa4OdO2MFatxz.
#0      new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:93)
#1      _rootRunUnary (dart:async/zone.dart:1407)
#2      _CustomZone.runUnary (dart:async/zone.dart:1308)
#3      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217)
#4      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#5      _DelayedData.perform (dart:async/stream_impl.dart:541)
#6      _PendingEvents.handleNext (dart:async/stream_impl.dart:646)
#7      _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:617)
#8      _rootRun (dart:async/zone.dart:1391)
#9      _CustomZone.run (dart:async/zone.dart:1301)
#10     _CustomZone.runGuarded (dart:async/zone.dart:1209)
#11     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#12     _rootRun (dart:async/zone.dart:1399)
#13     _CustomZone.run (dart:async/zone.dart:1301)
#14     _CustomZone.runGuarded (dart:async/zone.dart:1209)
#15     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#16     _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

----------------------------------------
---------
>

Operating System

Android 15

Spotube version

3.9.0

Installation source

F-Droid (Android), Play Store (Android)

Additional information

I've noticed that whenever I connect to my VPN (which routes my traffic to my home network) the problem disappears. I have a family member which also uses Spotube, has my same ISP for mobile data, and has the same issue as me.

Some info:

  • ISP: DigiMobil (no speed issues on mobile data 50Mb/s)
  • Country: Spain
  • Installed through: F-Droid, family member through Play Store, Android 14, different devices
  • Provider: YouTube, tested Piped with same results

Self grab

  • I'm ready to work on this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions