Skip to content

cln-grpc not opening its port #8809

@cvx35isl

Description

@cvx35isl

trying out cln-grpc with current v25.12, I put grpc-port=9777 into lightningd.conf and restarted.

It now says

...
2025-12-27T22:23:12.408Z INFO    plugin-cln-grpc: Connecting to "lightning-rpc" and serving grpc on 127.0.0.1:9777
2025-12-27T22:23:12.516Z INFO    lightningd: JSON COMMAND listconfigs: Invalid parameter config (Unknown config option): token '"hold-grpc-host"'
...

thats that. It starts normally from here on and says nothing more on grpc.

With netcat I get connection refused or reset (not sure) immediately. Unless there is a iptables problem I dont know about, i'd say its closed.

What is it trying to tell here?

I dont see a "hold-grpc-host" parameter anywhere in my config nor in the docs. Nor do I issue that JSON listconfigs. This is pretty early at startup, when all plugins load. Dont thing I can send commands at this point.

I do see the *.pem files existing as the doc says. However, they were not created now but a year ago or so. Maybe from when I used cln-rest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions