Open gla23 opened 2 years ago
sorry,totally unfamiliar with apache. How about switching to other reverse proxies,like nginx and caddy? here is a good example on how to configure nginx https://github.com/ankicommunity/anki-sync-server/issues/97 After you test with nginx,if no problem with it,then the culprit is apache. feel free to add
I'm getting this as well, and using nginx. Even without the reverse proxy this occurs. I'm currently on Anki 2.1.35.
this may help #56
Thanks for the reply. Unfortunately I had a proper look through #56 before creating this issue and couldn't find anything that helps. I tried the git reset in this comment but the commit hash doesn't exist.
The OP fixed their issue by updating their sync server to the newest version. When I do git fetch, I'm already on the latest version (41205c0b92290bc3dc6e50d401dc9dbf33bdd52c
)
Not sure where to go from here.
one more thing to confirm,are you under develop
branch?
Oh it turns out I was on the wrong repository! Somehow I had origin set as a different anki-sync-server fork. I should have noticed that something was off in my previous comment when the commit hash didn't exist...
I'm on the develop branch now. When I run what previously started the server (python -m ankisyncd
) as explained in the readme, I get:
/usr/bin/python: No module named ankisyncd.__main__; 'ankisyncd' is a package and cannot be directly executed
I'm guessing this is because there's been an undocumented restructure and it no longer works the same way?
I've installed the new dependencies with pip install -r src/requirements.txt
.
had same issue while running anki-official-binary-bundle 2.1.49-1 on manjaro linux. "Solved" it by running 2.1.15 https://github.com/ankitects/anki/releases/tag/2.1.15
I got this problem because i am using anki-sync-server which i link to the server using http and ip
Same problem here with Anki Desktop for macOS on macOS 12.3 and Anki 2.1.49 and the latest Docker Image.
Anki 2.1.49
Using the docker Anki sync server, I changed my AnkiDroid version below 3.10 (V3.9.7), which helps me solve the SSL Problem
But on PC, I have no idea.
When I sync to the server, Anki shows this error:
Error details: error decoding response body: missing field
mod
at line 1 column 99At which point the running process on the backend gives the following output:
It looks like the
/msync/begin
call is failing (returns a 443) and so understandably the frontend is confused when there's no body on the response.How can I start debugging this?
By the way I'm using apache with this in the VirtualHost for the proxy. According to what I could find on stack overflow the
SetEnv proxy-sendcl 1
line should be unchunking the requests properly.