Error connecting to watchtower
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.6k
- Forks
- 3.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 61
Description
ERROR | lnworker.LNWallet.[default_wallet] | Exception in sync_with_remote_watchtower: TypeError('can only concatenate str (not "int") to str')
Traceback (most recent call last):
File "electrum/util.py", line 1244, in wrapper
File "electrum/lnworker.py", line 742, in sync_with_remote_watchtower
File "electrum/lnworker.py", line 751, in sync_channel_with_watchtower
TypeError: can only concatenate str (not "int") to str
I have one lightning channel open (on ACINQ), which had 0 transactions apart from the initial creation.
Watchtower seems to be accessible (it opens the port, I can telnet to it). Configured according to the docs with my domain and a letsencrypt ssl cert.
Client: Electrum 4.3.4 on macOS (x86_64) downloaded from https://electrum.org/#download
Watchtower Server: Electrum 4.0.9 on Debian 11 (x86_64) with Python 3.9.2, installed from apt
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with electrum/lnworker.py at sync_with_remote_watchtower (line 742) and sync_channel_with_watchtower (line 751), using the reported Electrum 4.3.4 client and 4.0.9 server setup. Reproduce the connection attempt against the configured watchtower and determine why the reported string/integer TypeError occurs; done means synchronization no longer raises this traceback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100