Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TrackNotFoundError only while using mobile data network #2264

Closed
1 of 2 tasks
reddragonmps opened this issue Jan 20, 2025 · 1 comment
Closed
1 of 2 tasks

TrackNotFoundError only while using mobile data network #2264

reddragonmps opened this issue Jan 20, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@reddragonmps
Copy link

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!
@reddragonmps reddragonmps added the bug Something isn't working label Jan 20, 2025
@reddragonmps
Copy link
Author

reddragonmps commented Jan 20, 2025

Piped provider logs

Logs
< [2025-01-20 10:21:18.727595]---------------------
ClientException: Timeout
#0      YoutubeSourcedTrack.fetchFromTrack.<anonymous closure> (package:spotube/services/sourced_track/sources/youtube.dart:91)
#1      _rootRun (dart:async/zone.dart:1391)
#2      _CustomZone.run (dart:async/zone.dart:1301)
#3      Future.timeout.<anonymous closure> (dart:async/future_impl.dart:957)
#4      _rootRun (dart:async/zone.dart:1391)
#5      _CustomZone.run (dart:async/zone.dart:1301)
#6      _CustomZone.runGuarded (dart:async/zone.dart:1209)
#7      _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#8      _rootRun (dart:async/zone.dart:1399)
#9      _CustomZone.run (dart:async/zone.dart:1301)
#10     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:1233)
#11     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18)
#12     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398)
#13     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429)
#14     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184)

----------------------------------------
[2025-01-20 10:21:18.729599]---------------------
Failed to open http://0.0.0.0:21430/stream/6Hd8zWgkV6P95d03kaWg92.
#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)

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

Jiosaavn provider logs

Logs
</details>

[2025-01-20 10:28:18.821083]---------------------
ClientException: Timeout
#0      YoutubeSourcedTrack.fetchFromTrack.<anonymous closure> (package:spotube/services/sourced_track/sources/youtube.dart:91)
#1      _rootRun (dart:async/zone.dart:1391)
#2      _CustomZone.run (dart:async/zone.dart:1301)
#3      Future.timeout.<anonymous closure> (dart:async/future_impl.dart:957)
#4      _rootRun (dart:async/zone.dart:1391)
#5      _CustomZone.run (dart:async/zone.dart:1301)
#6      _CustomZone.runGuarded (dart:async/zone.dart:1209)
#7      _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#8      _rootRun (dart:async/zone.dart:1399)
#9      _CustomZone.run (dart:async/zone.dart:1301)
#10     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:1233)
#11     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18)
#12     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398)
#13     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429)
#14     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant