Closed 1ynnshell closed 4 months ago
These android ereaders usually have a browser right? Can you double check if you go to http://[ip]:8765
that it prints the AnkiConnect v.6
string?
Assuming that's okay, the response is still weird, it looks like it's not picking up the URL you set
AnkiConnect#is_running = code: invalid host 'nil', headers: nil, result: nil
This is coming from that luasocket lib KOreader is using, I can reproduce it if I make my URL something obviously wrong like http://:8765
Can you check that there's nothing weird in ./settings/ankiconnect.lua either?
This is coming from that luasocket lib KOreader is using, I can reproduce it if I make my URL something obviously wrong like http://:8765
this was exactly the issue, the screen is finnicky and i accidentally deleted a forward slash. I apologize for the waste of time. Everything seems fine now :) Thank you for the amazing plugin.
Describe the Issue Setup everything, i have AnkiConnect bound to 0.0.0.0 as reinforced by
lsof
:used
ip a
to get my ipv4 IP, set that up in KOReader ashttp://[ip]:8765
. Any time I try to add a card, i will get the message that host is 'nil'. I'm not sure if that means the Hostname is not being saved properly, or if that's the object it's trying to bind and it is failing.crash.log crash.log
this time i remembered the
-i
flag.