lightninglabs / aperture

⚡️L402 (Lightning HTTP 402) Reverse Proxy ⚡️
http://l402.tech/
MIT License
233 stars 58 forks source link

No response when dialing to Mailbox via gPRC #124

Open studioTeaTwo opened 7 months ago

studioTeaTwo commented 7 months ago

There is no error or cancellation at calling grpc.DialContext below, it is just put on hold. The mailbox is mailbox.terminal.lightning.today:443 https://github.com/lightninglabs/aperture/blob/master/lnc/lnc.go#L284-L286

By the way, this issue may be due to be re-use passphrase from multiple containers under development, because it worked generating new phrase per container. However, I don't know because I haven't received a response and seen any documentation prohibiting passphrase reuse.

positiveblue commented 4 months ago

Hi @studioTeaTwo I think you are right that it holds forever and the reason is that after a connection has been stablished using a passphrase a "secret" key is created and the communication with the mailbox-node uses that key. Which means that passphrase cannot be reused. Let's fix this in two different PRs: