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

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

Open
1 of 2 tasks
melodiwicca0 opened this issue Mar 4, 2025 · 16 comments
Open
1 of 2 tasks
Labels
bug Something isn't working

Comments

@melodiwicca0
Copy link

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

  • 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 melodiwicca0 added the bug Something isn't working label Mar 4, 2025
@romank727
Copy link

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

@melodiwicca0
Copy link
Author

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

@SpeedyCraftah
Copy link

SpeedyCraftah commented Mar 5, 2025

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.

@melodiwicca0
Copy link
Author

melodiwicca0 commented Mar 5, 2025

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.

@SpeedyCraftah
Copy link

SpeedyCraftah commented Mar 5, 2025 via email

@melodiwicca0
Copy link
Author

melodiwicca0 commented Mar 5, 2025

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.

@ivanfernandez2646
Copy link

ivanfernandez2646 commented Mar 5, 2025

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

@melodiwicca0
Copy link
Author

melodiwicca0 commented Mar 5, 2025

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.

@SpeedyCraftah
Copy link

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.

@melodiwicca0
Copy link
Author

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
Copy link
Author

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)

@Hutchyy9
Copy link

Hutchyy9 commented Mar 5, 2025

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)



@MarcosMarinM
Copy link

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!

@Torres443
Copy link

same issue, i also live in spain and use simyo

@SpeedyCraftah
Copy link

SpeedyCraftah commented Mar 6, 2025

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.

@melodiwicca0
Copy link
Author

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...

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

7 participants