Closed majestrate closed 1 year ago
Additionally, we should make lokinet listen on the rpc.sock
IPC socket by default.
I believe @majestrate original bug is fixed by the CLI refactor and subsequent logic fixes as documented below (pending reproduction by others). Assuming that's confirmed, can get started on @jagerman default IPC socket listening enhancement (Note: #2110 tracks this specific enhancement)
oxen/lokinet dev branch commit bf0dc52df7c05d4a14b5d5140615c1d547430055
lokinet --config /home/dan/tmp/rpc.sock
drouhana/lokinet cli-refactor branch commit 26beebca97d66a87d4cb8f5b67d44b242c0e7797
Note: oxen/lokinet dev branch latest commit includes the CLI refactor code in the above commit
(identical command as above)
when lokinet uses an ipc socket and we have the ability to access it just fine
/usr/bin/lokinet-vpn --rpc ipc:///var/lib/lokinet/rpc.sock --down
prints
std::bad_cast
and exits with status 2, instead of calling the rpc endpoint it needed to.