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

Cannot login to anilist tracker #965

Closed
8 tasks done
LoneWolf993 opened this issue Oct 16, 2023 · 6 comments
Closed
8 tasks done

Cannot login to anilist tracker #965

LoneWolf993 opened this issue Oct 16, 2023 · 6 comments
Labels
Bug Something isn't working

Comments

@LoneWolf993
Copy link

Steps to reproduce

  1. Go to tracking option in tachiyomisy settings
  2. Click on anilist and try to login

Expected behavior

It should be successfully logged in.

Actual behavior

The app seems to crash and the login fails.

Crash logs

--------- beginning of main
10-16 09:44:45.116 29256 29326 E OpenGLRenderer: Unable to match the desired swap behavior.
10-16 09:44:45.311 29256 29471 E SQLiteLog: (284) automatic index on C(manga_id)
10-16 09:44:45.311 29256 29471 E SQLiteLog: (284) automatic index on mangas_categories(manga_id)
10-16 09:44:45.366 29256 29471 E SQLiteLog: (284) automatic index on C(manga_id)
10-16 09:44:45.366 29256 29471 E SQLiteLog: (284) automatic index on mangas_categories(manga_id)
10-16 09:44:45.366 29256 29471 E SQLiteLog: (284) automatic index on merged(manga_id)
10-16 09:44:45.366 29256 29471 E SQLiteLog: (284) automatic index on ME(merge_id)
10-16 09:44:45.366 29256 29471 E SQLiteLog: (284) automatic index on C(merge_id)
10-16 09:44:45.366 29256 29471 E SQLiteLog: (284) automatic index on mangas_categories(manga_id)
10-16 09:44:51.078 29256 29461 E SQLiteLog: (284) automatic index on ME(merge_id)
10-16 09:45:38.409 29256 29326 E OpenGLRenderer: Unable to match the desired swap behavior.
10-16 09:45:39.179 29256 29326 E OpenGLRenderer: Unable to match the desired swap behavior.
10-16 09:45:43.156 29256 29326 E OpenGLRenderer: Unable to match the desired swap behavior.
10-16 09:45:43.260 29256 29326 E OpenGLRenderer: Unable to match the desired swap behavior.
10-16 09:45:51.053 29256 29326 E OpenGLRenderer: Unable to match the desired swap behavior.
10-16 09:45:53.637 29256 29326 E OpenGLRenderer: Unable to match the desired swap behavior.
10-16 09:45:53.770 29256 29326 E OpenGLRenderer: Unable to match the desired swap behavior.
App version: 1.9.3 (standard, 18d3615, 50, 2023-04-18T21:33Z)
Preview build: 0
Android version: 13 (SDK 33)
Android build ID: T3TC33.18-48-6
Device brand: motorola
Device manufacturer: motorola
Device name: bangkk
Device model: moto g84 5G
Device product name: bangkk_g

Tachiyomi version

1.9.3

Android version

Android 13

Device

Motorola moto g84 5g

Other details

WhatsApp.Video.2023-10-16.at.09.46.34_ecd8812a.mp4

Acknowledgements

  • This is a TachiyomiSY specific issue that does not happen in Tachiyomi Preview.
  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • I have written a short but informative title.
  • If this is an issue with an extension, I should be opening an issue in the extensions repository.
  • I have gone through the FAQ and troubleshooting guide.
  • I have updated the app to version 1.9.3.
  • I have updated all installed extensions.
  • I will fill out all of the requested information in this form.
@LoneWolf993 LoneWolf993 added the Bug Something isn't working label Oct 16, 2023
@KMohZaid
Copy link

KMohZaid commented Oct 16, 2023

Same issue, and I guess it is in anilist token login method, shikimori login worked and MAL is on maintenance so I don't know about it

But still seems anilist method has this issue only (maybe there is change in response anilist give)

suspend fun login(token: String) {
try {
val oauth = api.createOAuth(token)
interceptor.setAuth(oauth)
val (username, scoreType) = api.getCurrentUser()
scorePreference.set(scoreType)
saveCredentials(username.toString(), oauth.access_token)
} catch (e: Throwable) {
logout()
}
}

@LoneWolf993
Copy link
Author

Same issue, and I guess it is in anilist token login method, shikimori login worked and MAL is on maintenance so I don't know about it

But still seems anilist method has this issue only (maybe there is change in response anilist give)

suspend fun login(token: String) {
try {
val oauth = api.createOAuth(token)
interceptor.setAuth(oauth)
val (username, scoreType) = api.getCurrentUser()
scorePreference.set(scoreType)
saveCredentials(username.toString(), oauth.access_token)
} catch (e: Throwable) {
logout()
}
}

Yea, It seems anilist has recently changed something because I have been using the anilist tracker for quite a while and didn't face any problems before today

@KMohZaid
Copy link

Same issue, and I guess it is in anilist token login method, shikimori login worked and MAL is on maintenance so I don't know about it
But still seems anilist method has this issue only (maybe there is change in response anilist give)

suspend fun login(token: String) {
try {
val oauth = api.createOAuth(token)
interceptor.setAuth(oauth)
val (username, scoreType) = api.getCurrentUser()
scorePreference.set(scoreType)
saveCredentials(username.toString(), oauth.access_token)
} catch (e: Throwable) {
logout()
}
}

Yea, It seems anilist has recently changed something because I have been using the anilist tracker for quite a while and didn't face any problems before today

yes, i check response fragment and it is same as old, ig it is api related change but not announce yet

btw i dont know much of kotlin yet so not going deep dive into it yet lol, + haven't use anilist api myself

@KMohZaid
Copy link

this is due to api change of anilist, i tried tachiJ2K and other forks, all have same issue

@jobobby04
Copy link
Owner

The AniList API is currently down. Tracking and the ability to log in to it won't work until it's back up.

@jobobby04 jobobby04 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2023
@KMohZaid
Copy link

KMohZaid commented Oct 16, 2023

The AniList API is currently down. Tracking and the ability to log in to it won't work until it's back up.

Yeah I thought that but when try to use graphql, it works. Ig user auth based api down.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants