Lightning Network – Core Lighting ZeroMQ plugin
![](https://cdn.sstatic.net/Sites/bitcoin/Img/apple-touch-icon@2.png?v=b4864ba760f1)
Can anyone tell me if this is an issue when loading the zeromq plugin for core lightning?
024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: Backtrack (last most recent call): 2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: file “/ usr /local/lib/python3.11/dist-packages/pyln/client/plugin.py”> 2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: result = self._exec_func(method. func , request) 2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^ 2024-06-09T14:54:53.169Z Info plugin-cl-zmq.py: File “/usr/local/lib/python3.11/dist-packages/pyln/client/ plugin .py”> 2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: ret = func(*ba.args, **ba.kwargs) 2024-06-09T14:54:53.169Z INFO Plugin -cl-zmq.py: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-09T14:54:53.169Z INFO Plugin- cl-zmq .py: File “/usr/local/lib/python3.11/dist-packages/pyln/client/plugin.py”> 2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py : return self ._exec_func(self.child_init, request) 2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: ^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^ 2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: File “/usr/local/lib/ python3.11 /dist-packages/pyln/client/plugin.py”> 2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: ret = func(*ba.args, **ba.kwargs ) 2024- 06-09T14:54:53.169Z info plugin-cl-zmq.py: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024 -06-09T14: 54:53.169Z INFO plugin-cl-zmq.py: File “/home/main/.lightning/reckless/plugins/plugins/zmq/cl-zmq.py”,> 2024-06-09T14: 54:53.169Z INFO plugin-cl-zmq.py: Setup.check_option_warnings(option, plugin) 2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: File “/home/main/.lightning/ reckless/plugins/plugins /zmq/cl-zmq.py”,> 2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: For endpoints in Setup._iter_endpoints_not_ok (optional): 2024-06- 09T14:54:53.169Z INFO plugin-cl-zmq.py: File “/home/main/.lightning/reckless/plugins/plugins/zmq/cl-zmq.py”,> 2024-06-09T14:54:53.169 Z INFO plugin-cl- zmq.py: endpoint = options(endpoint_opt) 2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: ~~~~~~~^^^^^^^ ^^^^^^^^^ 2024-06-09T14:54:53.169Z Info plugin-cl-zmq.py: KeyError: ‘zmq-pub-channel-opened’ 2024-06-09T14:54:53.169Z Info plugin-cl-zmq.py:
I’m running the example-subscriber.py file and I don’t see any exit events logged. Added Shutdown to the notification list. python3 example-subscriber.py –zmq-sub-shutdown=tcp://127.0.0.1:5555
Here’s how to start the plugin: Lightningd –regtest –daemon –plugin=/home/main/.lightning/reckless/plugins/plugins/zmq/cl-zmq.py –log-file=/home/main/.lightning/logs.txt – -zmq-pub-shutdown=tcp://127.0.0.1:5555