ani-cli icon indicating copy to clipboard operation
ani-cli copied to clipboard

"Episode is released, but no valid sources!"

Open AsherJoju opened this issue 6 months ago • 36 comments

Make sure you are on the latest version by running ani-cli -U

Metadata (please complete the following information) Version: 4.14 OS: Arch Linux Shell: fish Anime: rezero, classroom of the elite, etc.

Describe the bug It says there are error with sources.

Steps To Reproduce

  1. Run ani-cli "_anime name with season_"
  2. Choose episode 1

Expected behavior Episode should play

Screenshots

Image

AsherJoju avatar May 13 '26 09:05 AsherJoju

yeah same problem

Asheetanshu avatar May 13 '26 09:05 Asheetanshu

Duplicate of #1710 and #1712

Alkataa avatar May 13 '26 10:05 Alkataa

same problem

sundryski avatar May 13 '26 13:05 sundryski

I got the same problem, but only on some shows and some episodes.

I tried it on 2 separate networks(one home and other in different city). I tried it with termux on android and bare metal install on raspberry pi 4.

  1. ani-cli --dub -d iron blooded
  2. it works for the 1-13 episodes, but 14-25 throws this error.

Is there way for making the ali-cli verbose? I think it may be cloudflare block or something similar. Or maybe it tries link for one of the casualties of crunchyroll.

chazp246 avatar May 13 '26 14:05 chazp246

just opened a fix in #1721

this happened to me couple hrs ago while watching Jujutsu Kaisen n thought it's something blocking from my end; however, the decrypted sourceUrls included direct Mp4 sources. On the other hand, ani-cli only kept encoded provider URLs.

Thus, when those provider endpoints returned no playable link or timed out, links ended up empty and caused the no valid sources error. (I guess)

rm-rf-humans avatar May 13 '26 14:05 rm-rf-humans

Is these error that are occurring time to time are due to Crunchyroll attacks?

Abhiratn avatar May 13 '26 15:05 Abhiratn

just opened a fix in #1721

this happened to me couple hrs ago while watching Jujutsu Kaisen n thought it's something blocking from my end; however, the decrypted sourceUrls included direct Mp4 sources. On the other hand, ani-cli only kept encoded provider URLs.

Thus, when those provider endpoints returned no playable link or timed out, links ended up empty and caused the no valid sources error. (I guess)

still looks the same. I took your PR ran the installation with your githhub link, but it still does this. How to run ani-cli in debug or verbose mode?

chazp246 avatar May 13 '26 15:05 chazp246

still looks the same. I took your PR ran the installation with your githhub link, but it still does this. How to run ani-cli in debug or verbose mode?

you sure it was the fix branch not the master from my github? cuz it works from my end! for debugging try this ANI_CLI_PLAYER=debug ani-cli <anime_name>

rm-rf-humans avatar May 13 '26 17:05 rm-rf-humans

still looks the same. I took your PR ran the installation with your githhub link, but it still does this. How to run ani-cli in debug or verbose mode?

you sure it was the fix branch not the master from my github? cuz it works from my end! for debugging try this ANI_CLI_PLAYER=debug ani-cli <anime_name>

You are right I was on the wrong branch ....

chazp246 avatar May 13 '26 18:05 chazp246

@rm-rf-humans I ran the fix and that didn't work. Still giving the same error.

Lost-Shadow99 avatar May 13 '26 19:05 Lost-Shadow99

@rm-rf-humans I ran the fix and that didn't work. Still giving the same error.

from my side, it hsa worked afterwards; again check that u r on the right branch. if u r on fix branch and still nothing, lemme know

rm-rf-humans avatar May 13 '26 19:05 rm-rf-humans

@rm-rf-humans Yeah I ran the fix branch. Still having issues on my end.

Lost-Shadow99 avatar May 13 '26 20:05 Lost-Shadow99

@rm-rf-humans Yeah I ran the fix branch. Still having issues on my end.

Can you share the exact anime, mode, and episode that still fails? And the debugging as well: ANI_CLI_PLAYER=debug ani-cli -S 1 -e <episode> "<anime name>"

rm-rf-humans avatar May 13 '26 20:05 rm-rf-humans

@rm-rf-humans Yeah, any episode of Jujutsu Kaisen Season 1. I've tried a few other anime's as well such as One piece. It slowly loads in the ''links fetched'' text from sharepoint and hianime, than gives me the, ''Episode is released, but no valid sources.'' Again, still doing this after I installed the fix.

Lost-Shadow99 avatar May 13 '26 20:05 Lost-Shadow99

same error here

ArSiJa8 avatar May 13 '26 20:05 ArSiJa8

@rm-rf-humans Yeah, any episode of Jujutsu Kaisen Season 1. I've tried a few other anime's as well such as One piece. It slowly loads in the ''links fetched'' text from sharepoint and hianime, than gives me the, ''Episode is released, but no valid sources.'' Again, still doing this after I installed the fix.

Could you test the PR directly instead of the installed ani-cli? That avoids accidentally running an older copy from $PATH.

git clone https://github.com/rm-rf-humans/ani-cli.git
cd ani-cli
git checkout fix/mp4upload-fallback

./ani-cli -S 1 -e 1 "One Piece"
./ani-cli -S 1 -e 1 "Jujutsu Kaisen"

rm-rf-humans avatar May 13 '26 20:05 rm-rf-humans

@rm-rf-humans Sorry a little new to code, still learning it. Do you mean copying the link above into the terminal? If that's the case I did and it worked

Lost-Shadow99 avatar May 13 '26 20:05 Lost-Shadow99

@rm-rf-humans Yeah, any episode of Jujutsu Kaisen Season 1. I've tried a few other anime's as well such as One piece. It slowly loads in the ''links fetched'' text from sharepoint and hianime, than gives me the, ''Episode is released, but no valid sources.'' Again, still doing this after I installed the fix.

Could you test the PR directly instead of the installed ani-cli? That avoids accidentally running an older copy from $PATH.

git clone https://github.com/rm-rf-humans/ani-cli.git cd ani-cli git checkout fix/mp4upload-fallback

./ani-cli -S 1 -e 1 "One Piece" ./ani-cli -S 1 -e 1 "Jujutsu Kaisen"

Hi just tried the fix and it worked for me will try a few other shows, but the one I was watching when the system broke that I was no longer able to watch any more episodes is working now.

mbtechtt avatar May 13 '26 21:05 mbtechtt

Again, I don't think I installed it incorrectly, it said it was installed, but it doesn't seem to work for me. Again the link that was just posted worked in the terminal, but when I actually put in the ani-cli command, than put in a anime, it gives me that error.

Lost-Shadow99 avatar May 13 '26 21:05 Lost-Shadow99

@rm-rf-humans Yeah, any episode of Jujutsu Kaisen Season 1. I've tried a few other anime's as well such as One piece. It slowly loads in the ''links fetched'' text from sharepoint and hianime, than gives me the, ''Episode is released, but no valid sources.'' Again, still doing this after I installed the fix.

Could you test the PR directly instead of the installed ani-cli? That avoids accidentally running an older copy from $PATH.

git clone https://github.com/rm-rf-humans/ani-cli.git cd ani-cli git checkout fix/mp4upload-fallback

./ani-cli -S 1 -e 1 "One Piece" ./ani-cli -S 1 -e 1 "Jujutsu Kaisen"

also worked for me, ty

ArSiJa8 avatar May 13 '26 22:05 ArSiJa8