Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Error subscribing to channel graph gRPC stream during sync process #2128
When creating a new wallet, or opening an existing one where some remaining sync is needed when opening the wallet, there is the following error in the logs:
The channel graph subscription doesn't get set up as a result.
This is a new problem after updating to the latest lnd.
In this commit some adjustments were made to delay the setting up of the subscriptions by 2 seconds after connecting to the api which resolves a similar problem when starting wallets that don't need to do any sync when opening.
The 2 second delay chosen there was completely arbitrary.
I'm not sure if there is a way to actually know when it is possible to connect to the stream.
Should not produce error and should set up subscription once lnd is ready to accept subscriptions.
Produces error and no active channel graph subscription