mit-dci / lit

Lightning Network node software
MIT License
551 stars 119 forks source link

Two lit-af instances on the same machine can't be authorised simultaneously #431

Closed Varunram closed 5 years ago

Varunram commented 5 years ago

In the case we run one instance of lit on 2448 with lit-af connected and the other on 2449 with lit-af connected, we can see that the latter shows something similar to

ls error: Unauthorized

when trying to make an RPC call after connecting lit-af with the --con option. Will put in a PR to fix this.

Varunram commented 5 years ago

This seems to have been solved with the latest merge on master, although the PR implements a whitelist option which would still be useful if someone wants to connect to a serverside lit instance but does not have access to lit-af on that machine.