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

W11 git bash getting Connection error and No results found!

Open 1UPz opened this issue 1 year ago • 4 comments

Version: [4.9] OS: [eWindows 11] Shell: [git shell]

Describe the bug Won't update and won't find animes, but if i search directly in allmanga.to, it works just fine.

Steps To Reproduce

  1. Run ani-cli lain
  2. ani-cli -U

Expected behavior List animes and update

image image

BUT

i decided to turn off my Anti-virus(Kaspersky), and now it works, how can i add an exception so it won't block?

1UPz avatar Jan 10 '25 18:01 1UPz

Hi! I’m experiencing the same issue with ani-cli on Windows 10 using Git Bash. After a bit of troubleshooting, I think that Kaspersky's Web Anti-Virus module is blocking the connections made by ani-cli, even when I add specific URL exceptions.

Steps I Tried:

  • Adding URL exclusions in Web Anti-Virus for domains like gogoanime.cm and allmanga.to – didn’t work.
  • Adding git-bash.exe as an exclusion under Kaspersky’s application rules – still didn’t work.
  • Disabling HTTPS scanning – didn’t help either.
  • Checking Kaspersky logs – no specific blocking event related to ani-cli or Git Bash was logged.
  • Disabling Web Anti-Virus entirely – this is the only solution that worked. When Web Anti-Virus is off, ani-cli works perfectly.

It looks like Kaspersky’s Web Anti-Virus is aggressively inspecting or blocking non-standard HTTPS requests made through Git Bash or curl, but it’s doing so silently without logging any events.

JeremyPSS avatar Jan 13 '25 02:01 JeremyPSS

Hi! I’m experiencing the same issue with ani-cli on Windows 10 using Git Bash. After a bit of troubleshooting, I think that Kaspersky's Web Anti-Virus module is blocking the connections made by ani-cli, even when I add specific URL exceptions.

Steps I Tried:

  • Adding URL exclusions in Web Anti-Virus for domains like gogoanime.cm and allmanga.to – didn’t work.
  • Adding git-bash.exe as an exclusion under Kaspersky’s application rules – still didn’t work.
  • Disabling HTTPS scanning – didn’t help either.
  • Checking Kaspersky logs – no specific blocking event related to ani-cli or Git Bash was logged.
  • Disabling Web Anti-Virus entirely – this is the only solution that worked. When Web Anti-Virus is off, ani-cli works perfectly.

It looks like Kaspersky’s Web Anti-Virus is aggressively inspecting or blocking non-standard HTTPS requests made through Git Bash or curl, but it’s doing so silently without logging any events.

i managed to fix by running in WSL.

1UPz avatar Jan 14 '25 15:01 1UPz

@JeremyPSS, if you make the curl call that fails with the -k flag instead, does it work? https://www.mankier.com/1/curl#-k

ykhan21 avatar Jan 16 '25 01:01 ykhan21

@JeremyPSS, if you make the curl call that fails with the -k flag instead, does it work? https://www.mankier.com/1/curl#-k

@ykhan21 I tried running the curl commands with the -k flag, and it worked perfectly. curl -k https://allmanga.to/

JeremyPSS avatar Jan 16 '25 09:01 JeremyPSS