voracious icon indicating copy to clipboard operation
voracious copied to clipboard

Anki Connect Error because Origin in the request header is null

Open xiaomi388 opened this issue 3 years ago • 1 comments

Hi, when I tried to connect the app with Anki, I got this error:

image

I captured the HTTP packets and found out that ankiconnect returned 403. Seems like it was because the request contained a null origin:

image

It worked well after I removed the Origin header by using some kind of MITM hack, but I would greatly appreciate it if someone could fix this issue ;)

xiaomi388 avatar Apr 01 '22 16:04 xiaomi388

Hi! You can fix it by adding * to config for ankiConnect ads. Please check my fork, i created description https://github.com/artemmezh/voracious/blob/ankiConnect-fix-new-version/README.md#about-ankiconnect

artemmezh avatar May 22 '22 11:05 artemmezh