Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onion messaging is not functioning. #1548

Closed
ChzenChzen opened this issue Sep 8, 2023 · 4 comments
Closed

onion messaging is not functioning. #1548

ChzenChzen opened this issue Sep 8, 2023 · 4 comments

Comments

@ChzenChzen
Copy link

I've just updated to last version and I see that onion messaging now is default.
but I don't understand what happens in reality.
Is it ok behaviour?

I get error We failed to connect and handshake with ANY directories; onion messaging is not functioning. Didn't I something configure properly?

2023-09-09 02:41:41,046 [INFO]  starting sendpayment
Enter passphrase to decrypt wallet:
2023-09-09 02:41:49,835 [INFO]  Using this manually set tx feerate (randomized for privacy): 34738 sat/kvB (34.7 sat/vB).
2023-09-09 02:41:49,835 [INFO]  Estimated miner/tx fees for this coinjoin amount: 0.0%
2023-09-09 02:41:49,837 [INFO]  Joinmarket daemon listening on port 27183
2023-09-09 02:41:49,837 [INFO]  Starting transaction monitor in walletservice
2023-09-09 02:41:49,849 [INFO]  Trying to connect to node: g3hv4uynnmynqqq2mchf3fcm3yd46kfzmcdogejuckgwknwyq5ya6iad.onion:5222
2023-09-09 02:41:49,849 [INFO]  Trying to connect to node: 3kxw6lf5vf6y26emzwgibzhrzhmhqiw6ekrek3nqfjjmhwznb2moonad.onion:5222
2023-09-09 02:41:49,849 [INFO]  Trying to connect to node: bqlpq6ak24mwvuixixitift4yu42nxchlilrcqwk2ugn45tdclg42qid.onion:5222
2023-09-09 02:42:01,431 [INFO]  Updating status to connected for peer bqlpq6ak24mwvuixixitift4yu42nxchlilrcqwk2ugn45tdclg42qid.onion:5222.
2023-09-09 02:42:01,432 [INFO]  We, NOT-SERVING-ONION, are calling the handshake callback as client.
2023-09-09 02:42:01,432 [INFO]  Sending this handshake: {"app-name": "joinmarket", "directory": false, "location-string": "NOT-SERVING-ONION", "proto-ver": 5, "features": {}, "nick": "J55wUXucAu6UQeb7", "network": "mainnet"} to peer bqlpq6ak24mwvuixixitift4yu42nxchlilrcqwk2ugn45tdclg42qid.onion:5222
2023-09-09 02:42:01,435 [INFO]  Going to reattempt connection to bqlpq6ak24mwvuixixitift4yu42nxchlilrcqwk2ugn45tdclg42qid.onion:5222 in 9.0 seconds.
2023-09-09 02:42:05,449 [INFO]  Updating status to connected for peer g3hv4uynnmynqqq2mchf3fcm3yd46kfzmcdogejuckgwknwyq5ya6iad.onion:5222.
2023-09-09 02:42:05,450 [INFO]  We, NOT-SERVING-ONION, are calling the handshake callback as client.
2023-09-09 02:42:05,450 [INFO]  Sending this handshake: {"app-name": "joinmarket", "directory": false, "location-string": "NOT-SERVING-ONION", "proto-ver": 5, "features": {}, "nick": "J55wUXucAu6UQeb7", "network": "mainnet"} to peer g3hv4uynnmynqqq2mchf3fcm3yd46kfzmcdogejuckgwknwyq5ya6iad.onion:5222
2023-09-09 02:42:05,451 [INFO]  Going to reattempt connection to g3hv4uynnmynqqq2mchf3fcm3yd46kfzmcdogejuckgwknwyq5ya6iad.onion:5222 in 7.0 seconds.
2023-09-09 02:42:11,237 [INFO]  Updating status to connected for peer bqlpq6ak24mwvuixixitift4yu42nxchlilrcqwk2ugn45tdclg42qid.onion:5222.
2023-09-09 02:42:11,238 [INFO]  We, NOT-SERVING-ONION, are calling the handshake callback as client.
2023-09-09 02:42:11,238 [INFO]  Sending this handshake: {"app-name": "joinmarket", "directory": false, "location-string": "NOT-SERVING-ONION", "proto-ver": 5, "features": {}, "nick": "J55wUXucAu6UQeb7", "network": "mainnet"} to peer bqlpq6ak24mwvuixixitift4yu42nxchlilrcqwk2ugn45tdclg42qid.onion:5222
2023-09-09 02:42:11,457 [INFO]  Going to reattempt connection to bqlpq6ak24mwvuixixitift4yu42nxchlilrcqwk2ugn45tdclg42qid.onion:5222 in 9.0 seconds.
2023-09-09 02:42:13,132 [INFO]  Updating status to connected for peer g3hv4uynnmynqqq2mchf3fcm3yd46kfzmcdogejuckgwknwyq5ya6iad.onion:5222.
2023-09-09 02:42:13,133 [INFO]  We, NOT-SERVING-ONION, are calling the handshake callback as client.
2023-09-09 02:42:13,134 [INFO]  Sending this handshake: {"app-name": "joinmarket", "directory": false, "location-string": "NOT-SERVING-ONION", "proto-ver": 5, "features": {}, "nick": "J55wUXucAu6UQeb7", "network": "mainnet"} to peer g3hv4uynnmynqqq2mchf3fcm3yd46kfzmcdogejuckgwknwyq5ya6iad.onion:5222
2023-09-09 02:42:13,350 [INFO]  Going to reattempt connection to g3hv4uynnmynqqq2mchf3fcm3yd46kfzmcdogejuckgwknwyq5ya6iad.onion:5222 in 10.0 seconds.
2023-09-09 02:42:21,383 [INFO]  Updating status to connected for peer bqlpq6ak24mwvuixixitift4yu42nxchlilrcqwk2ugn45tdclg42qid.onion:5222.
2023-09-09 02:42:21,384 [INFO]  We, NOT-SERVING-ONION, are calling the handshake callback as client.
2023-09-09 02:42:21,384 [INFO]  Sending this handshake: {"app-name": "joinmarket", "directory": false, "location-string": "NOT-SERVING-ONION", "proto-ver": 5, "features": {}, "nick": "J55wUXucAu6UQeb7", "network": "mainnet"} to peer bqlpq6ak24mwvuixixitift4yu42nxchlilrcqwk2ugn45tdclg42qid.onion:5222
2023-09-09 02:42:21,603 [INFO]  Going to reattempt connection to bqlpq6ak24mwvuixixitift4yu42nxchlilrcqwk2ugn45tdclg42qid.onion:5222 in 17.5 seconds.
2023-09-09 02:42:23,788 [INFO]  Updating status to connected for peer g3hv4uynnmynqqq2mchf3fcm3yd46kfzmcdogejuckgwknwyq5ya6iad.onion:5222.
2023-09-09 02:42:23,789 [INFO]  We, NOT-SERVING-ONION, are calling the handshake callback as client.
2023-09-09 02:42:23,790 [INFO]  Sending this handshake: {"app-name": "joinmarket", "directory": false, "location-string": "NOT-SERVING-ONION", "proto-ver": 5, "features": {}, "nick": "J55wUXucAu6UQeb7", "network": "mainnet"} to peer g3hv4uynnmynqqq2mchf3fcm3yd46kfzmcdogejuckgwknwyq5ya6iad.onion:5222
2023-09-09 02:42:24,006 [INFO]  Going to reattempt connection to g3hv4uynnmynqqq2mchf3fcm3yd46kfzmcdogejuckgwknwyq5ya6iad.onion:5222 in 12.5 seconds.
2023-09-09 02:42:37,066 [INFO]  Updating status to connected for peer g3hv4uynnmynqqq2mchf3fcm3yd46kfzmcdogejuckgwknwyq5ya6iad.onion:5222.
2023-09-09 02:42:37,067 [INFO]  We, NOT-SERVING-ONION, are calling the handshake callback as client.
2023-09-09 02:42:37,068 [INFO]  Sending this handshake: {"app-name": "joinmarket", "directory": false, "location-string": "NOT-SERVING-ONION", "proto-ver": 5, "features": {}, "nick": "J55wUXucAu6UQeb7", "network": "mainnet"} to peer g3hv4uynnmynqqq2mchf3fcm3yd46kfzmcdogejuckgwknwyq5ya6iad.onion:5222
2023-09-09 02:42:37,286 [INFO]  Going to reattempt connection to g3hv4uynnmynqqq2mchf3fcm3yd46kfzmcdogejuckgwknwyq5ya6iad.onion:5222 in 22.25 seconds.
2023-09-09 02:42:39,991 [INFO]  Updating status to connected for peer bqlpq6ak24mwvuixixitift4yu42nxchlilrcqwk2ugn45tdclg42qid.onion:5222.
2023-09-09 02:42:39,992 [INFO]  We, NOT-SERVING-ONION, are calling the handshake callback as client.
2023-09-09 02:42:39,993 [INFO]  Sending this handshake: {"app-name": "joinmarket", "directory": false, "location-string": "NOT-SERVING-ONION", "proto-ver": 5, "features": {}, "nick": "J55wUXucAu6UQeb7", "network": "mainnet"} to peer bqlpq6ak24mwvuixixitift4yu42nxchlilrcqwk2ugn45tdclg42qid.onion:5222
2023-09-09 02:42:40,211 [INFO]  Going to reattempt connection to bqlpq6ak24mwvuixixitift4yu42nxchlilrcqwk2ugn45tdclg42qid.onion:5222 in 23.25 seconds.
2023-09-09 02:42:49,850 [ERROR]  We failed to connect and handshake with ANY directories; onion messaging is not functioning.
2023-09-09 02:42:53,977 [INFO]  Updating status to connected for peer 3kxw6lf5vf6y26emzwgibzhrzhmhqiw6ekrek3nqfjjmhwznb2moonad.onion:5222.
@PulpCattel
Copy link
Member

PulpCattel commented Sep 9, 2023

See #1435, unfortunately it's a known issue with the onion directories.
You can find more directories here, but note that they might eventually experience the same problem as more and more people use them.

IRC is on by default, and the various message channels are designed to be redundant, so everything should still work.
Check the offers in the orderbook to verify.

Read the doc here and here for more info about onion message channel and possible configuration.

Closing this as duplicate, but feel free to reopen if it turns out the issue is something else.

@PulpCattel PulpCattel closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2023
@rabutial
Copy link

Have been getting this error also. It seems to prevent the tumber from proceeding... the tumbler just sticks waiting to connect to onions.

@PulpCattel
Copy link
Member

@rabutial Are you using the last JoinMarket version? Have you removed IRC?
There should be a timeout after 60 seconds or so and you should see an error message like "failing to handshake with ANY directories".

@rabutial
Copy link

rabutial commented Sep 16, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants