[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #30558 [Applications/Tor Browser]: Namecoin support for onion sites in Tor Browser



#30558: Namecoin support for onion sites in Tor Browser
--------------------------------------+--------------------------------
 Reporter:  arthuredelstein           |          Owner:  JeremyRand
     Type:  defect                    |         Status:  needs_revision
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  TorBrowserTeam201912      |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:  gk                        |        Sponsor:
--------------------------------------+--------------------------------

Comment (by gk):

 Looks better now, thanks. My previously reported issues seemed to be
 related to the Ctrl+C killing.

 I think we can live with the fetch behavior for now. The `ulrichard.ch`
 situation is annoying but I hope this gets fixed soon. Now while further
 testing I stumbled on two weird behaviors:

 1) On every start when first entering a *.bit address I always see a lot
 of
 {{{
 E | jsonrpclib.SimpleJSONRPCServer | Server-side exception: <Fault -32603:
 Server error: File "/home/th/30558/tor-browser_en-US/Browser/TorBrowser
 /Electrum-NMC/electrum_nmc/electrum/network.py", line 972, in
 make_reliable_wrapper | electrum.network.BestEffortRequestFailed: no
 interface to do request on... gave up.
 >
 Traceback (most recent call last):
   File "/home/th/30558/tor-browser_en-US/Browser/TorBrowser/Electrum-
 NMC/packages/jsonrpclib/SimpleJSONRPCServer.py", line 388, in _dispatch
     return func(*params)
   File "/home/th/30558/tor-browser_en-US/Browser/TorBrowser/Electrum-
 NMC/electrum_nmc/electrum/commands.py", line 118, in func_wrapper
     return func(*args, **kwargs)
   File "/home/th/30558/tor-browser_en-US/Browser/TorBrowser/Electrum-
 NMC/electrum_nmc/electrum/commands.py", line 1131, in name_show
     raise error_request_failed
   File "/home/th/30558/tor-browser_en-US/Browser/TorBrowser/Electrum-
 NMC/electrum_nmc/electrum/commands.py", line 1120, in name_show
     return self.name_show_single_try(identifier, stream_id="Electrum-NMC
 name_show attempt "+str(i)+": "+stream_id)
   File "/home/th/30558/tor-browser_en-US/Browser/TorBrowser/Electrum-
 NMC/electrum_nmc/electrum/commands.py", line 1138, in name_show_single_try
     txs =
 self.network.run_from_another_thread(self.network.get_history_for_scripthash(sh,
 stream_id=stream_id))
   File "/home/th/30558/tor-browser_en-US/Browser/TorBrowser/Electrum-
 NMC/electrum_nmc/electrum/network.py", line 316, in
 run_from_another_thread
     return fut.result()
   File "/usr/lib/python3.7/concurrent/futures/_base.py", line 435, in
 result
     return self.__get_result()
   File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in
 __get_result
     raise self._exception
   File "/home/th/30558/tor-browser_en-US/Browser/TorBrowser/Electrum-
 NMC/electrum_nmc/electrum/network.py", line 972, in make_reliable_wrapper
     raise BestEffortRequestFailed('no interface to do request on... gave
 up.')
 electrum.network.BestEffortRequestFailed: no interface to do request on...
 gave up.
 20191216101540 [ERROR] ncdns.backend: failed to query namecoin: -32603:
 Server error: File "/home/th/30558/tor-browser_en-US/Browser/TorBrowser
 /Electrum-NMC/electrum_nmc/electrum/network.py", line 972, in
 make_reliable_wrapper | electrum.network.BestEffortRequestFailed: no
 interface to do request on... gave up.
 }}}
 errors culminating in
 {{{
 I/n | network | couldn't launch iface electrum-nmc.le-space.de:50002:s --
 TimeoutError()
 I/n | network | connecting to electrum-nmc.le-space.de:50002:s as new
 interface
 I/n | network | couldn't launch iface ulrichard.ch:50006:s --
 TimeoutError()
 I/n | network | couldn't launch iface nmc.bitcoins.sk:50002:s --
 TimeoutError()
 I/n | network | couldn't launch secondary iface nmc.bitcoins.sk:50002:s --
 TimeoutError()
 I/n | network | couldn't launch secondary iface ulrichard.ch:50006:s --
 TimeoutError()
 I/n | network | couldn't launch secondary iface electrum-nmc.le-
 space.de:50002:s -- TimeoutError()
 }}}
 . This takes like 30 seconds for domains known to exist which is a bad
 user experience and wasting Tor resources. I'd expect that NameCoin is
 ready to get used and not spending more than 30 seconds every time after
 entering the first .bit domain to deal with timeout errors.

 2) When entering .bit domain that does not exist I get a
 `NameNotFoundError: Name never existed, is expired, or is unconfirmed`
 after while. It turns out, though, that I keep getting those errors even
 though I corrected the domain and it got resolved. There seems to be a lot
 still going on in the background related to the non-existing domain
 (additional requests etc.), which should not happen.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30558#comment:54>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs