spotube icon indicating copy to clipboard operation
spotube copied to clipboard

Spotube hasn't worked for me with mobile data for months, it only works with Wi-Fi

Open melodiwicca0 opened this issue 9 months ago • 16 comments

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

  • [x] I have searched the existing issues

Current Behavior

Spotube hasn't worked for me with mobile data for months, despite having a good signal, it jumps from song to song automatically without any of them playing, maybe I can listen to 2 or 3 songs from a list of 20, it only works with Wi-Fi. I've been using Spotube for a year and it didn't happen to me before.

Expected Behavior

I hope that when I leave home I can play spotube through my mobile phone using my mobile data without problem.

Steps to reproduce

No response

Logs

Logs
<Replace this line by pasting your logs here>

Operating System

Android

Spotube version

v3.9.0

Installation source

Website (spotube.krtirtho.dev), Play Store (Android)

Additional information

No response

Self grab

  • [ ] I'm ready to work on this issue!

melodiwicca0 avatar Mar 04 '25 19:03 melodiwicca0

In case anyone comes across same issue, I've found using VPN fixes this. No idea why though

romank727 avatar Mar 04 '25 21:03 romank727

In case anyone comes across same issue, I've found using VPN fixes this. No idea why though

I have tried it but the problem continues

melodiwicca0 avatar Mar 04 '25 23:03 melodiwicca0

Yep, a VPN fixed it for me - if in logs you're getting a "TrackNotFoundError" it usually means YouTube has banned your IP from using their API, they do this because platforms often download music and videos off of YouTube, and when these get played and downloaded, YouTube gets no advertisement cut. IPs from mobile data connections are notorious for abuse and so they often get banned.

I just wish there was a toast notification or something saying this when trying to play a song... I'll think about putting in a PR for this because it's very confusing.

But anyhow, to fix this you either use a VPN that isn't banned, try turning mobile data on and off constantly until you find an IP that isn't banned (if any), switch to a more reputable network, or use another source that isn't YouTube.

SpeedyCraftah avatar Mar 05 '25 08:03 SpeedyCraftah

Yep, a VPN fixed it for me - if in logs you're getting a "TrackNotFoundError" it usually means YouTube has banned your IP from using their API, they do this because platforms often download music and videos off of YouTube, and when these get played and downloaded, YouTube gets no advertisement cut. IPs from mobile data connections are notorious for abuse and so they often get banned.

I just wish there was a toast notification or something saying this when trying to play a song... I'll think about putting in a PR for this because it's very confusing.

But anyhow, to fix this you either use a VPN that isn't banned, try turning mobile data on and off constantly until you find an IP that isn't banned (if any), switch to a more reputable network, or use another source that isn't YouTube.

I have used a vpn (Nordvpn) that I am subscribed to and paying for, I have tried connecting and disconnecting mobile data, I have tried changing sources other than YouTube, but nothing works, the songs keep jumping from song to song without playing anything. I have also changed telephone companies so I have a different IP and it still doesn't work.

I think Spotube needs an update because it is starting to go wrong for many people.

melodiwicca0 avatar Mar 05 '25 08:03 melodiwicca0

Well can you share some logs? That might help give an insight into your issue. Try play a song and then go into logs, copy and paste them here, otherwise we're playing a guessing game as the issue could be anything.

SpeedyCraftah avatar Mar 05 '25 09:03 SpeedyCraftah

Well can you share some logs? That might help give an insight into your issue. Try play a song and then go into logs, copy and paste them here, otherwise we're playing a guessing game as the issue could be anything.

I don't know what is a logs , if nothing is played, what do I copy? I think the problem may be in Spotube buffering. In fact, this also happened a while ago, and they made an update to fix bugs and it worked again.

melodiwicca0 avatar Mar 05 '25 09:03 melodiwicca0

Same from me, only works with Wi-fi (Spain).

ivanfernandez2646 avatar Mar 05 '25 11:03 ivanfernandez2646

Same from me, only works with Wi-fi (Spain).

Soy Española pero vivo en Italia , tengo todo Spotube en Español, curioso dato 🤔😲 gracias.

melodiwicca0 avatar Mar 05 '25 13:03 melodiwicca0

Well can you share some logs? That might help give an insight into your issue. Try play a song and then go into logs, copy and paste them here, otherwise we're playing a guessing game as the issue could be anything.

I don't know what is a logs , if nothing is played, what do I copy? I think the problem may be in Spotube buffering. In fact, this also happened a while ago, and they made an update to fix bugs and it worked again.

Logs are information logged by an application used to figure any issues that might be happening. Even if your song isn't playing it's likely still logging important information related to it. You can find the logs in spotube settings -> scroll down -> Logs.

SpeedyCraftah avatar Mar 05 '25 13:03 SpeedyCraftah

Well can you share some logs? That might help give an insight into your issue. Try play a song and then go into logs, copy and paste them here, otherwise we're playing a guessing game as the issue could be anything.

I don't know what is a logs , if nothing is played, what do I copy? I think the problem may be in Spotube buffering. In fact, this also happened a while ago, and they made an update to fix bugs and it worked again.

Logs are information logged by an application used to figure any issues that might be happening. Even if your song isn't playing it's likely still logging important information related to it. You can find the logs in spotube settings -> scroll down -> Logs.

ok, understood, as soon as I can I will do it and copy and paste the logs. Thank you.

melodiwicca0 avatar Mar 05 '25 13:03 melodiwicca0

Well can you share some logs? That might help give an insight into your issue. Try play a song and then go into logs, copy and paste them here, otherwise we're playing a guessing game as the issue could be anything.

I don't know what is a logs , if nothing is played, what do I copy? I think the problem may be in Spotube buffering. In fact, this also happened a while ago, and they made an update to fix bugs and it worked again.

Logs are information logged by an application used to figure any issues that might be happening. Even if your song isn't playing it's likely still logging important information related to it. You can find the logs in spotube settings -> scroll down -> Logs.

These are some logs ⬇️

[2025-03-05 21:00:29.364242]--------------------- [TrackNotFoundError] TODO ROTO - NATHY PELUSO, CA7RIEL & Paco Amoroso #0      JioSaavnSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/jiosaavn.dart:60) #1      SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:200) #2      SourcedTrackNotifier.build (package:spotube/provider/server/sourced_track.dart:27) #3      FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


[2025-03-05 21:00:29.368565]--------------------- Failed to open http://0.0.0.0:13560/stream/2neEt3A8fA4Scfwo4jAw1J. #0      new AudioPlayerInterface. (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. (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. (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. (dart:async/zone.dart:1249) #16     _microtaskLoop (dart:async/schedule_microtask.dart:40) #17     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

melodiwicca0 avatar Mar 05 '25 20:03 melodiwicca0

I'm having the same issue. Here's my log if that helps:


DioException [unknown]: null Error: HandshakeException: Connection terminated during handshake #0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520) #1 CustomSpotifyEndpoints.getHomeFeed (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:131) #2 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)



[2025-03-05 20:15:59.371388]--------------------- [TrackNotFoundError] Not Me Anymore - We Were Promised Jetpacks #0 JioSaavnSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/jiosaavn.dart:60) #1 SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:200) #2 SourcedTrackNotifier.build (package:spotube/provider/server/sourced_track.dart:27) #3 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


[2025-03-05 20:15:59.373546]--------------------- Failed to open http://0.0.0.0:21606/stream/4RIlkTC1bO20hlQ16nlnE0. #0 new AudioPlayerInterface. (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. (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. (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. (dart:async/zone.dart:1249) #16 _microtaskLoop (dart:async/schedule_microtask.dart:40) #17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)



Hutchyy9 avatar Mar 05 '25 20:03 Hutchyy9

I have the exact same issue when connected to mobile data (Spain, simyo is my provider). It works perfectly fine on Wi-Fi, but when on mobile data I get the same error with the same logs as in previous comments.

Using some VPNs works (sometimes), but I've tried changing DNS, IPv6 instead of IPv4… and nothing else works. Also, changing audio sources won't work.

Any workarounds? Thank you!

MarcosMarinM avatar Mar 05 '25 22:03 MarcosMarinM

same issue, i also live in spain and use simyo

Torres443 avatar Mar 06 '25 10:03 Torres443

Looks to be the same issue for everyone, YouTube has blocked your guys IPs from using the API to download and stream videos/music, I think sometimes they even mark entire IP ranges as spam so you could have a completely clean IP but still remain banned. Simply the act of using a VPN does NOT guarantee that the app will work due to reasons mentioned above.

As for other sources not working I think they're a bit dodgy, or they may have blocked your IP as well.

There's not really a workaround for this other than trying out a VPN or switching networks and hoping for the best.

Also, for your guys' information, download/streaming videos/audio using YouTube outside of YouTube is against their terms of service, which does also mean that using this app breaks YT's terms of service, so they have every right to ban you from using this. You don't even have to download music using Spotube to get banned, simply switching between songs too fast can cause a ban too.

I could be wrong however so I am happy for people to pitch in and correct me, but as far as my knowledge extends that's what I know.

SpeedyCraftah avatar Mar 06 '25 13:03 SpeedyCraftah

Parece ser el mismo problema para todos, YouTube ha bloqueado a tus chicos IP el uso de la API para descargar y transmitir videos/música, creo que a veces incluso marcan gamas IP completas como spam para que puedas tener una IP completamente limpia, pero aún así permaneces prohibida. Simplemente el acto de usar una VPN NO garantiza que la aplicación funcione debido a las razones mencionadas anteriormente.

En cuanto a otras fuentes que no funcionan creo que son un poco esquivas, o pueden haber bloqueado tu IP también.

No hay realmente una solución para esto aparte de probar una VPN o cambiar de red y esperar lo mejor.

Además, para la información de tus chicos, descargar/streaming videos/audio usando YouTube fuera de YouTube está en contra de sus términos de servicio, lo que también significa que el uso de esta aplicación rompe los términos de servicio de YT, por lo que tienen todo el derecho de prohibirte usar esto. Ni siquiera tienes que descargar música usando Spotube para prohibirte, simplemente cambiar entre canciones demasiado rápido puede causar una prohibición también.

Podría equivocarme, sin embargo, así que estoy feliz de que la gente me lance y me corrija, pero en lo que respecta a mi conocimiento se extiende eso es lo que sé.

If it were so they would also block the Wi-Fi IP addresses, but there is no problem with Wi-Fi...

melodiwicca0 avatar Mar 06 '25 15:03 melodiwicca0

The same thing happens to me from Spain with the Vodafone company

carlosmur avatar Mar 07 '25 16:03 carlosmur

The same thing happens to me from Spain with the Vodafone company

carlosmur avatar Mar 07 '25 16:03 carlosmur

The same thing happens to me from Spain with the Vodafone company

They just made an update to the application and it already works, they have released spotube 4.0 and it works perfectly, they have already fixed the problems in this new update 🙏👏👏👏 Update it and it will work for you.

melodiwicca0 avatar Mar 07 '25 16:03 melodiwicca0

The same thing happens to me from Spain with the Vodafone company

They just made an update to the application and it already works, they have released spotube 4.0 and it works perfectly, they have already fixed the problems in this new update 🙏👏👏👏 Update it and it will work for you.

melodiwicca0 avatar Mar 07 '25 16:03 melodiwicca0

same issue, i also live in spain and use simyo

They just made an update to the application and it already works, they have released spotube 4.0 and it works perfectly, they have already fixed the problems in this new update 🙏👏👏👏 Update it and it will work for you.

melodiwicca0 avatar Mar 07 '25 16:03 melodiwicca0

same issue, i also live in spain and use simyo

They just made an update to the application and it already works, they have released spotube 4.0 and it works perfectly, they have already fixed the problems in this new update 🙏👏👏👏 Update it and it will work for you.

melodiwicca0 avatar Mar 07 '25 16:03 melodiwicca0

I have the exact same issue when connected to mobile data (Spain, simyo is my provider). It works perfectly fine on Wi-Fi, but when on mobile data I get the same error with the same logs as in previous comments.

Using some VPNs works (sometimes), but I've tried changing DNS, IPv6 instead of IPv4… and nothing else works. Also, changing audio sources won't work.

Any workarounds? Thank you!

They just made an update to the application and it already works, they have released spotube 4.0 and it works perfectly, they have already fixed the problems in this new update 🙏👏👏👏 Update it and it will work for you.

melodiwicca0 avatar Mar 07 '25 16:03 melodiwicca0

I have the exact same issue when connected to mobile data (Spain, simyo is my provider). It works perfectly fine on Wi-Fi, but when on mobile data I get the same error with the same logs as in previous comments.

Using some VPNs works (sometimes), but I've tried changing DNS, IPv6 instead of IPv4… and nothing else works. Also, changing audio sources won't work.

Any workarounds? Thank you!

They just made an update to the application and it already works, they have released spotube 4.0 and it works perfectly, they have already fixed the problems in this new update 🙏👏👏👏 Update it and it will work for you.

melodiwicca0 avatar Mar 07 '25 16:03 melodiwicca0

Same from me, only works with Wi-fi (Spain).

They just made an update to the application and it already works, they have released spotube 4.0 and it works perfectly, they have already fixed the problems in this new update 🙏👏👏👏 Update it and it will work for you.

melodiwicca0 avatar Mar 07 '25 16:03 melodiwicca0

I have the exact same issue when connected to mobile data (Spain, simyo is my provider). It works perfectly fine on Wi-Fi, but when on mobile data I get the same error with the same logs as in previous comments. Using some VPNs works (sometimes), but I've tried changing DNS, IPv6 instead of IPv4… and nothing else works. Also, changing audio sources won't work. Any workarounds? Thank you!

They just made an update to the application and it already works, they have released spotube 4.0 and it works perfectly, they have already fixed the problems in this new update 🙏👏👏👏 Update it and it will work for you.

I updated it a couple of hours ago and so far so good!! Thank you developers and thank you all who like me reported this!

MarcosMarinM avatar Mar 07 '25 16:03 MarcosMarinM

I'm having the same issue. Here's my log if that helps:

DioException [unknown]: null Error: HandshakeException: Connection terminated during handshake #0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520) #1 CustomSpotifyEndpoints.getHomeFeed (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:131) #2 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)

[2025-03-05 20:15:59.371388]--------------------- [TrackNotFoundError] Not Me Anymore - We Were Promised Jetpacks #0 JioSaavnSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/jiosaavn.dart:60) #1 SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:200) #2 SourcedTrackNotifier.build (package:spotube/provider/server/sourced_track.dart:27) #3 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)

[2025-03-05 20:15:59.373546]--------------------- Failed to open http://0.0.0.0:21606/stream/4RIlkTC1bO20hlQ16nlnE0. #0 new AudioPlayerInterface. (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. (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. (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. (dart:async/zone.dart:1249) #16 _microtaskLoop (dart:async/schedule_microtask.dart:40) #17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

They just made an update to the application and it already works, they have released spotube 4.0 and it works perfectly, they have already fixed the problems in this new update 🙏👏👏👏 Update it and it will work for you.

melodiwicca0 avatar Mar 07 '25 16:03 melodiwicca0

I'm having the same issue. Here's my log if that helps:

DioException [unknown]: null Error: HandshakeException: Connection terminated during handshake #0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520) #1 CustomSpotifyEndpoints.getHomeFeed (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:131) #2 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)

[2025-03-05 20:15:59.371388]--------------------- [TrackNotFoundError] Not Me Anymore - We Were Promised Jetpacks #0 JioSaavnSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/jiosaavn.dart:60) #1 SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:200) #2 SourcedTrackNotifier.build (package:spotube/provider/server/sourced_track.dart:27) #3 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)

[2025-03-05 20:15:59.373546]--------------------- Failed to open http://0.0.0.0:21606/stream/4RIlkTC1bO20hlQ16nlnE0. #0 new AudioPlayerInterface. (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. (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. (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. (dart:async/zone.dart:1249) #16 _microtaskLoop (dart:async/schedule_microtask.dart:40) #17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

They just made an update to the application and it already works, they have released spotube 4.0 and it works perfectly, they have already fixed the problems in this new update 🙏👏👏👏 Update it and it will work for you.

melodiwicca0 avatar Mar 07 '25 16:03 melodiwicca0