#4167 new defect

Client can't connect to storage node via tor in 1.20.0 — at Version 1

Reported by: hacklschorsch Owned by:
Priority: normal Milestone: undecided
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description (last modified by hacklschorsch)

A user, Guest46, reported an issue connecting from a client to a storage node using 1.20.0 on Debian 12:

Guest46 hi, I cannot get tahoe to work, I am using v1.20.0, introducer and storage nodes works fine, client con
fails to connect to storage node with an exception:
Guest46 failure: [Failure instance: Traceback: <class 'allmydata.util.deferredutil.MultiFailure?'>: /home/user/tn3.11/site-packages/twisted/internet/defer.py:2017:_inlineCallbacks /home/user/tahoe-lafs/venv/lib/python3.11/storage_client.py:1351:_pick_server_and_get_version
Guest46 /home/user/tahoe-lafs/venv/lib/python3.11/site-packages/allmydata/storage_client.py:1341:get_istorage_server /home/user/tahoe-lafs/venv/lib/python3.11/site-packages/twisted/internet/defer.py:1191:__iter /home/user/tahoe-lafs/venv/lib/python3.11/site-packages/twisted/python/failure.py:455:raiseException
Guest46 /home/user/tahoe-lafs/venv/lib/python3.11/site-packages/twisted/internet/defer.py:2017:_inlineCallbacks /home/user/tahoe-lafs/venv/lib/python3.11/site-packages/allmydata/storage_client.py:1125:_pick_a_http_server /home/user/tahoe-lafs/venv/lib/python3.11/site-packages/twisted/internet/defer.py:1191:__iter
Guest46 /home/user/tahoe-lafs/venv/lib/python3.11/site-packages/twisted/python/failure.py:455:raiseException ]
hacklschorsch Hi Guest46!
hacklschorsch What's your shares.needed / shares.total / shares.happy configuration? First thing that comes to my mind is maybe the client is looking for more servers than the grid has available
hacklschorsch https://tahoe-lafs.readthedocs.io/en/latest/configuration.html#client-configuration
hacklschorsch (looks well like it could be a problem with the code though)
hacklschorsch What OS and Python are you running this on? Would be great help if I could reproduce the issue
Guest46 hacklschorsch Python 3.11.2 on Debian 12. All shares are set to 1 on both server and client nodes, and all nodes use Tor
meejah Guest46: is it possible to try without Tor, to eliminate one variable?
Guest46 meejah I tried but don't know how to set it up, get "connection refused" from server when connecting to introducer, it's easier with tor :D
meejah hacklschorsch: restarted
meejah Guest46: hah, glad to hear something is easier with Tor ;) (i do have an ssh Onion service for that reason too though ;)
meejah Guest46: can you try with "force_foolscap" in the "[client]" configuration? (theory being maybe the GBS/http stuff doesn't support Tor yet?)

Change History (1)

comment:1 Changed at 2025-02-25T17:29:06Z by hacklschorsch

  • Description modified (diff)
Note: See TracTickets for help on using tickets.