polar
polar copied to clipboard
Unable to connect to c-lightning node
Describe the bug I created 2 Clightning and 2 bitcoin nodes but i'm getting error on starting the setup. Bitcoin nodes are starting perfectly fine but i'm getting error in other 2 CL nodes. in Docker desktop i can see all nodes running
Error: ENOENT: no such file or directory, open '/home/polaris/.polar/networks/2/volumes/c-lightning/bob/rest-api/access.macaroon'
Screenshots
To Reproduce Steps to reproduce the behavior:
- create 2 Clightning and 2 bitcoin core nodes
- start the setup
Desktop (please complete the following information):
- OS: POP os
- Polar 1.4.0
- Docker Version: 23.0.1
- Docker Compose Version: 1.29.2
It looks like you are using Core Lightning v0.12.0. Which version of Bitcoin nodes are you using? I just tried with Bitcoin Code v24.0 and it worked without any issues.
Do you also face this problem with different combinations of Core Lightning and Bitcoin Core versions? Can you try with the latest version of CLN v22.11?
Are you using any custom startup command flags or custom images?
If different versions do not work, can you share the Core Lightning node's full docker log. That admin macaroon is generated by the c-lightning-REST
plugin. I'm interested to see if there is an error initializing the plugin on startup.
@jamaljsr i'm using clightning v 0.12 with v23 of botcoin core. How do i change the version of nodes in polar. I updated the versions of nodes to latest but still getting error
no i'm not using custom scripts.
these are the docker logs
after this error the container is just logging the following info in a loop
Ah, this is a permissions issue. Did you install Docker Desktop or Docker Engine? There are currently issues running Docker Desktop on Linux that I'm aware of. See #553 and #636. Docker Engine should work as long as you followed the post-installation steps.
To use different versions of nodes, you just have to hit the "Show All Versions" toggle in the sidebar.
You can also click "Check for new node versions" to pull down the latest available.
i am also facing the same issue did you find a way to solve it. i have atta
ched the screenshots
@pathakharsh123 Polar doesn't currently work with Docker Desktop on Linux. You have to install Docker Engine instead. There are workarounds listed in https://github.com/jamaljsr/polar/issues/636#issuecomment-1358081254 that you may try.
I also have the same problem on the Mac with M1 and docker desktop.