Closed gedw99 closed 1 year ago
Same bug with reload too...
localias daemon status
daemon running with pid 37527
localias daemon reload
error: failed to send config to daemon: performing request: Post "http://%!/(MISSING)load": http: invalid Host header
Interesting, thank you for the bug report and the details! I can reproduce this failure with the same error message by doing the following:
localias daemon start
with localias v1.0.0localias daemon reload
or localias daemon stop
using localias v1.0.1Since localias is pretty new, it's likely there are other users in exactly the same scenario. I'll push a bugfix soon. Thank you for reporting this I did not think to test this scenario before I switched the admin api communication method.
The bugfix is pretty annoying because it means attempting to communicate with the localias daemon in two different ways. I'm going to close this as wontfix. For any other developers who have run into this issue, you can fix the problem by killing your existing localias daemon process and then relaunching it using the latest version of Localias.
pkill localias
ps aux | grep -i localias # confirm that the process has been stopped
localias daemon start
The daemon starts, but fails to be stopped....
env: darwin amd64 latest