-
Notifications
You must be signed in to change notification settings - Fork 7
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
Circular not starting with cln 0.12.0 and allow-deprecated-apis=false #12
Comments
Obviously, since it's not prepared for the big msat migration.... I don't run 0.12 yet, but i expect it starts with deprecated apis true. I'm pretty sure glightning is not prepared for that at all... that option is for developers to test their code/plugins for future compatibility, not really for end users to play with. |
yes it works with the default |
I was trying your plugin with cln 0.12.0 but I get this slightly different error:
I used to use rebalance.py but it doesn't work with the latest version... Something seems wrong with this v0.12.0 on the plugins front (see: ElementsProject/lightning#5551) |
Hi @BTCBellyButton, please look at #10 (comment) This could be caused by your node not replying to the plugin initialization in 60s, which is the limit CLN allows for replying to the init function. Circular has to make some expensive operations (in terms of time) to get started, mainly it has to call |
Hi @giovannizotta, no. It runs on a dedicated HP laptop with 12GB RAM and it returns that error message almost instantly... :( I never had a problem with other plugins until the v0.12.0... |
Interesting, let's do some checks @BTCBellyButton:
If you still have problems feel free to join the Telegram group which you find at the bottom of the README, it should be easier to talk there |
Yes:
It should be the default according to https://lightning.readthedocs.io/lightning-cli.1.html?highlight=allow-deprecated-apis#options.
There's no log. Note that the plugin don't seem to even load. I get the error trying to start it with |
FYI ElementsProject/lightning#5638 a lot of problems with the new releases of CLN and plugins, apparently. |
Yes it should be the default, I was saying that just in case you were running false. It is a Have you built the plugin yourself or are you using a binary from the release? It would probably be helpful to run in debug mode to find out what's wrong. There is an example in the readme for how to run circular in debug mode (but you need to load it at startup in order to do that, can't do it dynamically) |
I am using the binary. First I explicitly added
But that didn't help. Then I tried to run it in debug mode by adding
to the CLN config file but this is the result when restarting lightnind.service:
Details:
|
That's not how you do it. It should be like this in the config file:
|
Same result:
But this is weird:
"No such file or directory" ?!? Maybe this v0.12.0 version messed up the plugin management... Someone reported problems also with backup.py... |
hmm idk about all that but what i do is i don't have the plugin= line in my config. Instead i have the --plugin option with the path in my systemd service file. |
I can try and move it to the systemd file but I don't think it will make a difference...beside having to reload the daemon... |
oh for me it works. The non-default developer setting allow-deprecated-apis=false was the topic of this issue. |
Maybe as a developer you have some different setting/dependency... I don't know... |
The text was updated successfully, but these errors were encountered: