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

Can't connect my spotify account to Spotube #2298

Open
1 of 2 tasks
akikodesu opened this issue Feb 2, 2025 · 2 comments
Open
1 of 2 tasks

Can't connect my spotify account to Spotube #2298

akikodesu opened this issue Feb 2, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@akikodesu
Copy link

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

  • I have searched the existing issues

Current Behavior

I can't connect spotify account to spotube.

Expected Behavior

connect spotify account successfully and use spotube normally

Steps to reproduce

  1. open the app
  2. try to connect my spotify account to the spotube
  3. log in spotify account successfully
  4. displays a page shows 'account preview', 'web player' and a 'log out' button
  5. click web player, and it shows an alert said 'error authentication failure'
Image

Logs

uspension>
#12 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


[2025-02-02 18:53:11.921459]---------------------
FormatException: Unexpected character (at character 1)
Too many requests
^

#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1465)
#1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1332)
#2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:933)
#3 _parseJson (dart:convert-patch/convert_patch.dart:36)
#4 JsonDecoder.convert (dart:convert/json.dart:610)
#5 JsonCodec.decode (dart:convert/json.dart:216)
#6 SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:276)
#7 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)

#8 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#9 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#10 SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)


[2025-02-02 18:53:14.202603]---------------------
No track currently
#0 SyncedLyricsNotifier.build (package:spotube/provider/spotify/lyrics/synced.dart:131)

#1 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


[2025-02-02 18:53:15.475060]---------------------
Error Code: 401
Valid user authentication required
#0 SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:282)
#1 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)

#2 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#3 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#4 FavoritePlaylistsNotifier.fetch (package:spotube/provider/spotify/playlist/favorite.dart:33)

#5 FavoritePlaylistsNotifier.build (package:spotube/provider/spotify/playlist/favorite.dart:44)

#6 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


[2025-02-02 18:54:33.821778]---------------------
DioException [connection timeout]: The request connection took longer than 0:00:00.000000 and it was aborted. To get rid of this exception, try raising the RequestOptions.connectTimeout above the duration of 0:00:00.000000 or improve the response time of the server.
Error: SocketException: Operation timed out (OS Error: Operation timed out, errno = 60), address = open.spotify.com, port = 58273
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520)

#1 AuthenticationNotifier.credentialsFromCookie (package:spotube/provider/authentication/authentication.dart:111)

#2 AuthenticationNotifier.login (package:spotube/provider/authentication/authentication.dart:96)

#3 WebViewLogin.build. (package:spotube/pages/mobile_login/mobile_login.dart:61)


[2025-02-02 18:54:50.315062]---------------------
DioException [connection timeout]: The request connection took longer than 0:00:00.000000 and it was aborted. To get rid of this exception, try raising the RequestOptions.connectTimeout above the duration of 0:00:00.000000 or improve the response time of the server.
Error: SocketException: Operation timed out (OS Error: Operation timed out, errno = 60), address = open.spotify.com, port = 58338
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520)

#1 AuthenticationNotifier.credentialsFromCookie (package:spotube/provider/authentication/authentication.dart:111)

#2 AuthenticationNotifier.login (package:spotube/provider/authentication/authentication.dart:96)

#3 WebViewLogin.build. (package:spotube/pages/mobile_login/mobile_login.dart:61)


[2025-02-02 18:55:29.847006]---------------------
DioException [connection timeout]: The request connection took longer than 0:00:00.000000 and it was aborted. To get rid of this exception, try raising the RequestOptions.connectTimeout above the duration of 0:00:00.000000 or improve the response time of the server.
Error: SocketException: Operation timed out (OS Error: Operation timed out, errno = 60), address = open.spotify.com, port = 58405
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520)

#1 AuthenticationNotifier.credentialsFromCookie (package:spotube/provider/authentication/authentication.dart:111)

#2 AuthenticationNotifier.login (package:spotube/provider/authentication/authentication.dart:96)

#3 WebViewLogin.build. (package:spotube/pages/mobile_login/mobile_login.dart:61)


[2025-02-02 18:55:47.360383]---------------------
DioException [connection timeout]: The request connection took longer than 0:00:00.000000 and it was aborted. To get rid of this exception, try raising the RequestOptions.connectTimeout above the duration of 0:00:00.000000 or improve the response time of the server.
Error: SocketException: Operation timed out (OS Error: Operation timed out, errno = 60), address = open.spotify.com, port = 58411
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520)

#1 AuthenticationNotifier.credentialsFromCookie (package:spotube/provider/authentication/authentication.dart:111)

#2 AuthenticationNotifier.login (package:spotube/provider/authentication/authentication.dart:96)

#3 WebViewLogin.build. (package:spotube/pages/mobile_login/mobile_login.dart:61)


Operating System

macOS Sonoma 14.5

Spotube version

v 3.9.0 (38)

Installation source

Website (spotube.krtirtho.dev)

Additional information

No response

Self grab

  • I'm ready to work on this issue!
@akikodesu akikodesu added the bug Something isn't working label Feb 2, 2025
@lackar
Copy link

lackar commented Feb 2, 2025

me too

@imnxg
Copy link

imnxg commented Feb 4, 2025

me too

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

3 participants