[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2864: welcome page can't display when introducer connection has problems
Tahoe-LAFS
trac at tahoe-lafs.org
Thu Jan 26 19:58:21 UTC 2017
#2864: welcome page can't display when introducer connection has problems
-------------------------------+------------------------
Reporter: warner | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.13.0
Component: code-frontend-web | Version: 1.12.1
Keywords: | Launchpad Bug:
-------------------------------+------------------------
While debugging some I2P-based introducer problems, IRC user "ls" noticed
that the welcome page fails to render (i.e. displays a traceback) if the
`ConnectionInfo` returned by foolscap's
`Reconnector.getReconnectingInfo()` is None.
{{{
File "src/allmydata/web/root.py", line 245, in
data_connected_introducers
return len([1 for cs in self.client.introducer_connection_statuses()
File "src/allmydata/client.py", line 614, in
introducer_connection_statuses
return [ic.connection_status() for ic in self.introducer_clients]
File "src/allmydata/introducer/client.py", line 335, in
connection_status
return connection_status.from_foolscap_reconnector(irc, last_received)
File "src/allmydata/util/connection_status.py", line 34, in
from_foolscap_reconnector
others = set(ci.connectorStatuses.keys())
exceptions.AttributeError: 'NoneType' object has no attribute
'connectorStatuses'
}}}
I think this can happen if there is no valid connection handler for the
introducer FURL, but I need to explore some more to be sure.
In any case, this needs to be reported better, and not cause an exception.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2864>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list