-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to connect to local CLN node (can't find location of ca.pem) #53
Comments
The plugin should be able to access the files since it runs within the same container as btcpay itself, which has access to the lightning rpc socket. It reads the path from the internal node connection string, so it should be the correct value, but it doesnt seem like that in this case. I assume that the node is working properly in btcpay? Please try the following:
|
I just tried that, and the error message is gone. It now says: "Lightning node not synced yet" followed by "Retrying in 15 seconds" No idea why it's claiming that the node isn't synced. CLN does seem to crash periodically, but it's running okay right now. Anyway, that's got nothing to do with the Boltz plugin. Perhaps the default plugin configuration values should be set to the values you gave me. That way it'll "just work." |
Okay, the node was catching up after the last crash. It's synced now, but I now get the next error: From getinfo: "version": "basedon-v24.08.2", Should I file a new bug report for this? |
For the datadir, that should be the case already. Did you do any manual changes to the connection string of the internal node
So it seems like you are running some version of CLN with your own tag. Did you add that |
No. It was set to /etc, and the host was set to 127.0.0.1. This is with version 2.1.6 of the Boltz plugin (the current release).
I'll respond in the new bug ticket. |
I just installed the Boltz plugin on my BTCPay Server (v2.0.6), and it's unable to connect to the local CLN node. I get the error:
[FATAL] Could not start Boltz server: could not read CLN root certificate /etc/bitcoin/ca.pem: open /etc/bitcoin/ca.pem: no such file or directory
I've enabled the CLN node's grpc as per this pull request. It is generating ca.pem. However, the Boltz plugin is unable to see it. It's definitely not at the plugin's default location: /etc/bitcoin/ca.pem
As far as I can tell, the btcpayserver container doesn't have access to the CLN container's data files. So, there's no way for the Boltz plugin to access the CLN node's ca.pem.
Is there a configuration step that I'm missing? Or is this an unresolved problem?
The text was updated successfully, but these errors were encountered: