Skip to content
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 c-lightning node #682

Open
AtmegaBuzz opened this issue Feb 21, 2023 · 7 comments
Open

Unable to connect to c-lightning node #682

AtmegaBuzz opened this issue Feb 21, 2023 · 7 comments
Labels
bug Something isn't working up for grabs Anyone can work on this

Comments

@AtmegaBuzz
Copy link

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
image
image
image

To Reproduce
Steps to reproduce the behavior:

  1. create 2 Clightning and 2 bitcoin core nodes
  2. 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
@AtmegaBuzz AtmegaBuzz added the bug Something isn't working label Feb 21, 2023
@jamaljsr
Copy link
Owner

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.

@AtmegaBuzz
Copy link
Author

AtmegaBuzz commented Feb 22, 2023

@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

image
image

@AtmegaBuzz
Copy link
Author

AtmegaBuzz commented Feb 22, 2023

no i'm not using custom scripts.
these are the docker logs
image

image

after this error the container is just logging the following info in a loop
image

@jamaljsr
Copy link
Owner

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.
image

You can also click "Check for new node versions" to pull down the latest available.
image

@pathakharsh123
Copy link

i am also facing the same issue did you find a way to solve it. i have atta
Screenshot from 2023-02-25 23-18-39
Screenshot from 2023-02-25 23-21-32
Screenshot from 2023-02-25 23-23-25
ched the screenshots

@jamaljsr
Copy link
Owner

@pathakharsh123 Polar doesn't currently work with Docker Desktop on Linux. You have to install Docker Engine instead. There are workarounds listed in #636 (comment) that you may try.

@jamaljsr jamaljsr added the up for grabs Anyone can work on this label Dec 19, 2023
@FlorianHubl
Copy link

I also have the same problem on the Mac with M1 and docker desktop.
Bildschirmfoto 2024-01-30 um 22 18 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working up for grabs Anyone can work on this
Projects
None yet
Development

No branches or pull requests

4 participants