Skip to content

Failed to deploy LN network #731

@cndolo

Description

@cndolo

Hi,

When trying to deploy a network with LND nodes and the simln plugin, the deployment is not successful.
The error seems to be due to LND but here is the relevant output.

This was on Ubuntu 24.04 with 8 cores and 16 GB RAM.

error log
LNInit   - Locking out of IBD...
LNInit   - Getting LN wallet addresses...
tank-0002-ln - WARNING: Couldn't get wallet address from tank-0002-ln:
  {'code': 2, 'message': 'the RPC server is in the process of starting up, but not yet ready to accept calls', 'details': []}
  wait and retry...
tank-0004-ln - WARNING: Couldn't get wallet address from tank-0004-ln:
  {'code': 2, 'message': 'the RPC server is in the process of starting up, but not yet ready to accept calls', 'details': []}
  wait and retry...
LNInit   - Got wallet address bcrt1qc5xfndzk9le4gaj4emtrhwaqjfn2vrvetx54z6 from tank-0002-ln
LNInit   - Got wallet address bcrt1qv65a9ma8xltcc5g7j3upgkrvvyknd7llwhrnyk from tank-0004-ln
tank-0000-ln - ERROR: Error LND POST, Abort: [Errno 111] Connection refused
Exception in thread Thread-11 (get_ln_addr):
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.12/threading.py", line 1012, in run
    self._target(*self._args, **self._kwargs)
  File "/shared/archive.pyz/ln_init.py", line 45, in get_ln_addr
  File "/shared/archive.pyz/ln_framework/ln.py", line 433, in newaddress
  File "/usr/local/lib/python3.12/json/__init__.py", line 339, in loads
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType
tank-0001-ln - ERROR: Error LND POST, Abort: [Errno 111] Connection refused
Exception in thread Thread-12 (get_ln_addr):
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.12/threading.py", line 1012, in run
    self._target(*self._args, **self._kwargs)
  File "/shared/archive.pyz/ln_init.py", line 45, in get_ln_addr
  File "/shared/archive.pyz/ln_framework/ln.py", line 433, in newaddress
  File "/usr/local/lib/python3.12/json/__init__.py", line 339, in loads
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType
tank-0006-ln - ERROR: Error LND POST, Abort: [Errno 111] Connection refused
Exception in thread Thread-17 (get_ln_addr):
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.12/threading.py", line 1012, in run
    self._target(*self._args, **self._kwargs)
  File "/shared/archive.pyz/ln_init.py", line 45, in get_ln_addr
  File "/shared/archive.pyz/ln_framework/ln.py", line 433, in newaddress
  File "/usr/local/lib/python3.12/json/__init__.py", line 339, in loads
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType
tank-0005-ln - ERROR: Error LND POST, Abort: [Errno 111] Connection refused
Exception in thread Thread-16 (get_ln_addr):
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.12/threading.py", line 1012, in run
    self._target(*self._args, **self._kwargs)
  File "/shared/archive.pyz/ln_init.py", line 45, in get_ln_addr
  File "/shared/archive.pyz/ln_framework/ln.py", line 433, in newaddress
  File "/usr/local/lib/python3.12/json/__init__.py", line 339, in loads
  TypeError: the JSON object must be str, bytes or bytearray, not NoneType
tank-0003-ln - ERROR: Error LND POST, Abort: [Errno 111] Connection refused
Exception in thread Thread-14 (get_ln_addr):
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.12/threading.py", line 1012, in run
    self._target(*self._args, **self._kwargs)
  File "/shared/archive.pyz/ln_init.py", line 45, in get_ln_addr
  File "/shared/archive.pyz/ln_framework/ln.py", line 433, in newaddress
  File "/usr/local/lib/python3.12/json/__init__.py", line 339, in loads
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType
tank-0007-ln - ERROR: Error LND POST, Abort: [Errno 111] Connection refused
Exception in thread Thread-18 (get_ln_addr):
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.12/threading.py", line 1012, in run
    self._target(*self._args, **self._kwargs)
  File "/shared/archive.pyz/ln_init.py", line 45, in get_ln_addr
  File "/shared/archive.pyz/ln_framework/ln.py", line 433, in newaddress
  File "/usr/local/lib/python3.12/json/__init__.py", line 339, in loads
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType
tank-0008-ln - ERROR: Error LND POST, Abort: [Errno 111] Connection refused
Exception in thread Thread-19 (get_ln_addr):
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.12/threading.py", line 1012, in run
    self._target(*self._args, **self._kwargs)
  File "/shared/archive.pyz/ln_init.py", line 45, in get_ln_addr
  File "/shared/archive.pyz/ln_framework/ln.py", line 433, in newaddress
  File "/usr/local/lib/python3.12/json/__init__.py", line 339, in loads
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType
tank-0009-ln - ERROR: Error LND POST, Abort: [Errno 111] Connection refused
Exception in thread Thread-20 (get_ln_addr):
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.12/threading.py", line 1012, in run
    self._target(*self._args, **self._kwargs)
  File "/shared/archive.pyz/ln_init.py", line 45, in get_ln_addr
  File "/shared/archive.pyz/ln_framework/ln.py", line 433, in newaddress
  File "/usr/local/lib/python3.12/json/__init__.py", line 339, in loads
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType
LNInit   - Got 2 addresses from 10 LN nodes
LNInit   - Funding LN wallets...
Response ended prematurely

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