JoinMarket-Org/joinmarket-clientserver

twisted error when lounching Yield generator

Opened this issue · 6 comments

Hi,
i'm new in JM, when I try to lounch yield generator I recive this error.
Maybe is something about tor? My bitcoin-cor running onion-only without problem.
I've searched everywhere but I can't find anyone with the same problem, so tnx to who want to help!

`2024-03-20 00:04:41,928 [INFO] JoinMarket 0.9.11
2024-03-20 00:04:41,929 [INFO] starting yield generator
2024-03-20 00:04:41,946 [INFO] Joinmarket daemon listening on port 27183
2024-03-20 00:04:41,946 [INFO] Starting transaction monitor in walletservice
2024-03-20 00:04:42,054 [INFO] Attempting to start onion service on port: 5222 ...
Unhandled Error
Traceback (most recent call last):
Failure: twisted.internet.error.ConnectError: An error occurred while connecting: 2: No such file or directory.

2024-03-20 00:04:43,929 [INFO] Not a fidelity bond wallet, not announcing fidelity bond
2024-03-20 00:04:43,930 [INFO] offerlist=[{'oid': 0, 'ordertype': 'sw0reloffer', 'minsize': 94923, 'maxsize': 167716, 'txfee': 0, 'cjfee': '0.000021'}]`

It looks like a Tor permissions, JM can't create onion service. See https://github.com/JoinMarket-Org/joinmarket-clientserver/blob/master/docs/tor.md, check that you have everything configured correctly.

Unfortunally the problem persist. I've checked all the settings for tor and followed the instruction of your link. Tor works perfectly via Bitcoin-Core and also via terminal, but I've ever this error when I lounch Yield generator.

Unhandled Error
Traceback (most recent call last):
Failure: twisted.internet.error.ConnectError: An error occurred while connecting: 2: No such file or directory.

Maybe something related to python? I've installed python 3.9 otherwhise nothing working. I've tried to lounch the yield generator writing python3.9 yg-......py and also with ./yg-...py , nothing changed.

You have these settings in Tor configuration enabled? Bitcoin Core doesn't require them, but JoinMarket does.

ControlPort 9051
CookieAuthentication 1

No one know how to help me?

It's 99% some kind of permission issue. Is the user you are running JoinMarket from in a Tor group (debian-tor on Debian/Ubuntu)?