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

Stream broken: Episode is released, but no valid sources.

Open sahil-k-george opened this issue 5 months ago • 57 comments

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

Metadata Version: 4.14.1 OS: Termux, Arch 7.0.5 Shell: bash, zsh Anime: All animes

Describe the bug The output stream is broken, it shows the given error on all devices.

Steps To Reproduce

  1. Run ani-cli Tensura
  2. Choose 1
  3. Choose episode 1

Expected behavior Video streaming should work

Screenshots

Screenshot_2026-06-20-09-39-19-18_84d3000e3f4017145260f7618db1d683.jpg

Screenshot_2026-06-20-09-40-42-82_99c04817c0de5652397fc8b56c3b3817.jpg

sahil-k-george avatar Jun 20 '26 04:06 sahil-k-george

ani-cli not working

Describe the bug: The output stream appears to be broken. When attempting to play any anime, ani-cli fails and shows the same error on all tested devices.

To Reproduce:

  1. Run ani-cli.
  2. Select any anime.
  3. Attempt to start playback.
  4. The stream fails and the error is displayed.

Metadata: ani-cli Version: 4.14.1 OS: Ubuntu Shell: bash

Affected Anime: All anime titles tested

Screenshot: Image

Dextricity avatar Jun 20 '26 05:06 Dextricity

it still doesnt work tho

BigMel1388 avatar Jun 20 '26 05:06 BigMel1388

Yes facing the same issue

Image

Pulok-Akibuzzaman avatar Jun 20 '26 07:06 Pulok-Akibuzzaman

Facing the same issue, was working 12-14 hrs ago

Os : ubuntu v24 shell : bash

Image

Soumyadeep-Dey123 avatar Jun 20 '26 09:06 Soumyadeep-Dey123

It is a problem with api.allanime.day/api that is used to get the source URLs. it is giving this error:

{"errors":[{"message":"NEED_CAPTCHA","locations":[{"line":7,"column":1}],"path":["episode"],"extensions":{"code":"INTERNAL_SERVER_ERROR"}}],"data":{"episode":null}}

I noticed it is behind some Cloudflare protection. This error can be seen by printing the response from api_resp. Also can be seen running this curl query (insert disclaimer to not run random curl commands on the internet):

curl -e https://youtu-chan.com -sG -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:150.0) Gecko/20100101 Firefox/150.0' -H 'Origin: https://youtu-chan.com' 'https://api.allanime.day/api' --data-urlencode 'variables={"showId":"2P7kFgthrEfRRkcdm","translationType":"sub","episodeString":"2"}' --data-urlencode 'extensions={"persistedQuery":{"version":1,"sha256Hash":"d405d0edd690624b66baba3068e0edc3ac90f1597d898a1ec8db4e5c43c00fec"}}'

aarabdh avatar Jun 20 '26 10:06 aarabdh

It is a problem with api.allanime.day/api that is used to get the source URLs. it is giving this error:

{"errors":[{"message":"NEED_CAPTCHA","locations":[{"line":7,"column":1}],"path":["episode"],"extensions":{"code":"INTERNAL_SERVER_ERROR"}}],"data":{"episode":null}}

I noticed it is behind some Cloudflare protection. This error can be seen by printing the response from api_resp. Also can be seen running this curl query (insert disclaimer to not run random curl commands on the internet):

curl -e https://youtu-chan.com -sG -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:150.0) Gecko/20100101 Firefox/150.0' -H 'Origin: https://youtu-chan.com' 'https://api.allanime.day/api' --data-urlencode 'variables={"showId":"2P7kFgthrEfRRkcdm","translationType":"sub","episodeString":"2"}' --data-urlencode 'extensions={"persistedQuery":{"version":1,"sha256Hash":"d405d0edd690624b66baba3068e0edc3ac90f1597d898a1ec8db4e5c43c00fec"}}'

does work Image

ImonChakraborty avatar Jun 20 '26 11:06 ImonChakraborty

It is a problem with api.allanime.day/api that is used to get the source URLs. it is giving this error: {"errors":[{"message":"NEED_CAPTCHA","locations":[{"line":7,"column":1}],"path":["episode"],"extensions":{"code":"INTERNAL_SERVER_ERROR"}}],"data":{"episode":null}} I noticed it is behind some Cloudflare protection. This error can be seen by printing the response from api_resp. Also can be seen running this curl query (insert disclaimer to not run random curl commands on the internet): curl -e https://youtu-chan.com -sG -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:150.0) Gecko/20100101 Firefox/150.0' -H 'Origin: https://youtu-chan.com' 'https://api.allanime.day/api' --data-urlencode 'variables={"showId":"2P7kFgthrEfRRkcdm","translationType":"sub","episodeString":"2"}' --data-urlencode 'extensions={"persistedQuery":{"version":1,"sha256Hash":"d405d0edd690624b66baba3068e0edc3ac90f1597d898a1ec8db4e5c43c00fec"}}'

does work Image

Facing the same issue here. I get the captcha when running the query: {"errors":[{"message":"NEED_CAPTCHA","locations":[{"line":7,"column":1}],"path":["episode"],"extensions":{"code":"INTERNAL_SERVER_ERROR"}}],"data":{"episode":null}}

dayem-saeed avatar Jun 20 '26 12:06 dayem-saeed

Duplicate of #1744

Try running - sudo ani-cli -U

naveensrinivas282 avatar Jun 20 '26 14:06 naveensrinivas282

Already ran it and verified version as 4.14.1 prior to running the query

dayem-saeed avatar Jun 20 '26 14:06 dayem-saeed

Duplicate of #1744

Try running - sudo ani-cli -U

Did not work. Seems some of us are facing the issue of needing captcha and some aren't.

Image

aarabdh avatar Jun 20 '26 14:06 aarabdh

Duplicate of #1744

Try running - sudo ani-cli -U

That issue is based on version 4.13 which was technically resolved at the time. It was supposed to be closed... This issue is based on 4.14.1 . So..., yeah, both are different imo.

sahil-k-george avatar Jun 20 '26 14:06 sahil-k-george

Same issue on scoop V 4.14.1 and fedora 44 copr that never got updated to latest version

kushcoded avatar Jun 20 '26 16:06 kushcoded

I tried using vpn and it got fixed. my OS is Linux Mint, used nordvpn cli. and connected it to US.

TrulyVagabond avatar Jun 20 '26 23:06 TrulyVagabond

I tried using vpn and it got fixed. my OS is Linux Mint, used nordvpn cli. and connected it to US.

I tried the same using Proton VPN on Android. It indeed works.

sahil-k-george avatar Jun 20 '26 23:06 sahil-k-george

I tried using vpn and it got fixed. my OS is Linux Mint, used nordvpn cli. and connected it to US.

I tried the same using Proton VPN on Android. It indeed works.

but VPN is not free at all

candrapersada avatar Jun 21 '26 04:06 candrapersada

Are you all in india by any chance?

Joshuajrodrigues avatar Jun 21 '26 04:06 Joshuajrodrigues

Are you all in india by any chance?

no

candrapersada avatar Jun 21 '26 04:06 candrapersada

... but VPN is not free at all

(Not any kind of advertisement) Proton VPN is free for 1 device per account. There are many limitations like servers available for free tier are only 3-4 locations, you cannot choose a specific location yourself, etc. But for the most part, the free tier does work, which is currently enough for it to work.

sahil-k-george avatar Jun 21 '26 05:06 sahil-k-george

... but VPN is not free at all

(Not any kind of advertisement) Proton VPN is free for 1 device per account. There are many limitations like servers available for free tier are only 3-4 locations, you cannot choose a specific location yourself, etc. But for the most part, the free tier does work, which is currently enough for it to work.

That ain't a fix bro

Joshuajrodrigues avatar Jun 21 '26 05:06 Joshuajrodrigues

... That ain't a fix bro

I mean, I never said that it was a permanent fix. I only meant it for temporary use while an actual fix gets rolled out. Until then, this workaround can be used, and no one is forced to do this permanently...

That is the whole reason why I haven't closed this issue. Otherwise I'd have closed it a lot earlier when the VPN workaround worked.

sahil-k-george avatar Jun 21 '26 05:06 sahil-k-george