Aniwave extension is not working #150
Labels
No labels
Bug
Domain change
Duplicate
Features request
Remove request
Source is down
Source request
Wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AlmightyHak/extensions-source#150
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source information
Aniwave 14.74 (English)
Source language
English
Steps to reproduce
Expected behavior
Show episodes
Actual behavior
Giving this error "JsonDecoding Exception: Unexpected JSON token at offset 23: Expected string literal but 'null' literal was found at path: $.result
Use 'coerceInputValues = true' in 'Json {}' builder to
coerce nulls if property has a default value. JSON input: {"status":403,"result":null,"message":"Request is invalid.","messages":["Request is invalid."]}"
Aniyomi version
0.16.4.3
Android version
Android 14
Other details
No response
Acknowledgements
Can confirm that I've been getting this error too, but was also receiving a 404 HTTP error before that whenever I tried watching episodes.
It seems that this may be an issue with the VRF tokens. Consider the code that fetches the episodes for a given anime. At the return, a GET request is sent to
/ajax/episode/list
with a VRF token generated from the anime ID and an encryption key. Looking at similar entries in the Wayback Machine and sorting them by newest, there are many records as recent as yesterday that do resolve with the correct data:I don't know much about VRF tokens, but my understanding is that they are a kind of temporal access key. Providing any incorrect or outdated VRF token resolves with the JSON input observed in the error message.
It also seems that Aniwave recently made updates to their VRF tokens, judging by how these got considerably longer from August 16 onwards (which corresponds to when this problem started). Updating the encryption key to match Aniwave's new VRF tokens might solve this issue.