Skip to content

[bug]: OpenChannel randomly fails with peer XXX is not online #10078

@ZZiigguurraatt

Description

@ZZiigguurraatt

I'm having a random issue when trying to use OpenChannel. The RPC call fails with

peer 03538435429936689cac551cc0b19d15992ddb4c8294090b4cb7f0f321ffe1aff5 is not online

I can increase the frequency of this issue by running stress-ng -q --cpu 0 in another tab, so it seems as though it is some kind of race condition related to system loading.

I'm currently running the LND version found in lightninglabs/lightning-terminal#1097 , but I've been having this issue for many months. I've failed to file an issue for this because it is random and I can't easily collect much data on the problem, but at this point I want to create some kind of issue in case anyone else out there is having a similar problem so that more perspective can be obtained.

I'm running a regtest network inside of docker. Erasing and restarting the network one or two times seems to avoid the issue.

This problem does not happen with many peers in the regtest network. When it does happen, it is not always between the same set of peers in the regtest network.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions