[tahoe-dev] Exception connecting to FTP interface
David-Sarah Hopwood
david-sarah at jacaranda.org
Fri Nov 25 17:25:08 UTC 2011
On 25/11/11 14:44, Adrian Georgescu wrote:
> Hello,
>
> When accessing the FTP interface, I get this exception on the node in case of connectivity issues between the node and introducer locations.
>
> 2011-11-25 15:29:57+0100 [ProtocolWrapper,14,85.17.186.5] Starting factory <twisted.protocols.ftp.DTPFactory instance at 0xb15602c>
> 2011-11-25 15:29:57+0100 [Uninitialized] DTPFactory.buildProtocol
> 2011-11-25 15:29:57+0100 [Uninitialized] cancelling DTP timeout
> 2011-11-25 15:29:57+0100 [-] Unexpected FTP error
> 2011-11-25 15:29:57+0100 [-] Unhandled Error
> Traceback (most recent call last):
> File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 796, in runUntilCurrent
> call.func(*call.args, **call.kw)
> File "/usr/lib/python2.6/dist-packages/foolscap/eventual.py", line 26, in _turn
> cb(*args, **kwargs)
> File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 318, in callback
> self._startRunCallbacks(result)
> File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 424, in _startRunCallbacks
> self._runCallbacks()
> --- <exception caught here> ---
> File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 441, in _runCallbacks
> self.result = callback(self.result, *args, **kw)
> File "/usr/lib/pymodules/python2.6/allmydata/mutable/filenode.py", line 325, in _once_updated_download_best_version
> raise UnrecoverableFileError("no recoverable versions")
> allmydata.mutable.common.UnrecoverableFileError: no recoverable versions
>
> 2011-11-25 15:29:58+0100 [ProtocolWrapper,12,95.97.50.27] cleanupDTP
>
> Debian System
> ii tahoe-lafs 1.8.3-2 Secure distributed filesystem
>
> Is this normal or expected behavior?
It's a known bug that the FTP frontend does not report errors to the FTP
client well; see <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1081> for
the upload case. I don't think there's a corresponding ticket for download.
How exactly did this error appear in your FTP client?
Also, a connection error should probably be reported with a more specific
error than "no recoverable versions" for mutable downloads.
--
David-Sarah Hopwood ⚥ http://davidsarah.livejournal.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20111125/8a0cbe5e/attachment.pgp>
More information about the tahoe-dev
mailing list