Skip to content

Conversation

@YusukeShimizu
Copy link
Contributor

@YusukeShimizu YusukeShimizu commented Jul 25, 2025

The integration tests often fail when waiting for the CLN node to
log "Server started with public key".

I fixed the observability and corrected the path,
as the issue was probably caused by the Unix domain socket being too long.
Unix domain sockets are limited to 108 bytes.
The former path (~115 chars)
The new scheme generates a much shorter path (~46 chars)

/tmp/ps/<pid>-<rand>/c1/regtest/lightning-rpc

@YusukeShimizu YusukeShimizu force-pushed the debug-cln-startup-timeout branch from 5d4e8e9 to 7e8852f Compare July 25, 2025 05:05
The integration tests often fail when waiting for the CLN node to
log  "Server started with public key".

Therefore, I fixed the observability and corrected the path,
as the issue was probably caused by
 the Unix domain socket being too long.
Unix domain sockets are limited to 108 bytes.
The former path (~115 chars)
The new scheme generates a much shorter path (~46 chars)

/tmp/ps/<pid>-<rand>/c1/regtest/lightning-rpc
@YusukeShimizu YusukeShimizu force-pushed the debug-cln-startup-timeout branch from 6afe989 to d336e45 Compare July 25, 2025 06:47
@YusukeShimizu YusukeShimizu marked this pull request as ready for review July 25, 2025 06:58
@YusukeShimizu YusukeShimizu merged commit cf96798 into ElementsProject:master Jul 25, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant