-
Notifications
You must be signed in to change notification settings - Fork 9
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
Can't call methods if socket file is a symbolic link #1
Comments
Probably related: Spark wallet app doesn't work either. In the developer tools of the browser I can see the rpc requests fail with
Other requests like |
Try |
It's the same error in |
Wait, please try now |
|
Ok, did a test with
I've used the binary from the p5 release, but I used the linux/amd64 binary as I don't have an arm system to test. Now I don't know how to proceed in debugging this. Maybe you could share all your sparko-relevant Or perhaps if you are able to build |
Actually, I've just done the above myself and here's the binary with tons of ugly debugging statements. Hopefully that will give us more information: https://file.io/ujCEfA sha256 of the file: |
I downloaded your file and put it in
And testing the rpc with curl gives again:
|
My c-lightning version is: |
Ah sorry... the output from your plugin doesn't appear in
So the issue is with the socket path which is a symbolic link on my system:
Seems like the plugin doesn't resolve the symbolic link correctly. |
Here's how c-lightning daemon is started:
|
Confirmed. If I change my setup so that
|
I don't know what I'm supposed to do here. Should I follow the link before opening the socket? That thing is in a mounted directory from a remote machine? |
No, it's just a symbolic link to a different location on the same local file system.
No, I'm pretty sure this would be handled on the OS level. I think the issue is, that the link is "wrongly" expanded in GO. The path should just be: |
I'm using the p5 release binary on a
armhf
system.I have the following line in my
lightning.conf
:However curl gives my a
405 Method Not Allowed
response:No errors in the lightning
debug.log
file. The only sparko related line is:That's the only line. No other output from the sparko plugin.
The text was updated successfully, but these errors were encountered: