[tahoe-dev] [tahoe-lafs] #688: FTP frontend doesn't work when behind NAT (debian)

tahoe-lafs trac at allmydata.org
Thu Apr 30 17:14:03 UTC 2009

#688: FTP frontend doesn't work when behind NAT (debian)
 Reporter:  arthur   |           Owner:  nobody   
     Type:  defect   |          Status:  new      
 Priority:  major    |       Milestone:  undecided
Component:  unknown  |         Version:  1.4.1    
 Keywords:           |   Launchpad_bug:           
 I followed the patches in twisted in the following document :

 First odd thing : I don't have the twisted/vfs/adapters/ftp.py
 on a debian install which seems to work correctly.

 I did the FTP front end on two nodes of my grid. One inside my home
 network, and the other on a public IP on a hosted machine. The FTP works
 on the internal network machine but not on the other one (setup differs
 also as the internal one is ubuntu and the external is debian, but both
 are missing the vfs ftp.py file).

 On the external one I get (sorry some of it is french)::

   Commande:     LIST
   Réponse:      550 Requested action not taken: internal server   error
   Erreur:       Échec lors de la lecture du contenu du dossier
   Réponse:      503 Incorrect sequence of commands: must send PORT or PASV
 before RETR

 In the twisted log I get ::

   2009-04-30 19:06:45+0200 [ProtocolWrapper,0,]
 twisted.protocols.ftp.DTPFactory starting on 40749
   2009-04-30 19:06:45+0200 [ProtocolWrapper,0,] Starting
 factory <twisted.protocols.ftp.DTPFactory instance at 0x92d678c>
   2009-04-30 19:06:45+0200 [-] (Port 44070 Closed)
   2009-04-30 19:06:45+0200 [-] Stopping factory
 <twisted.protocols.ftp.DTPFactory instance at 0x906b02c>
   2009-04-30 19:06:45+0200 [-] dtpFactory.stopFactory
   2009-04-30 19:06:55+0200 [-] timed out waiting for DTP connection
   2009-04-30 19:06:55+0200 [-] Unexpected FTP error
   2009-04-30 19:06:55+0200 [-] Unhandled Error
         Traceback (most recent call last):
         Failure: twisted.internet.defer.TimeoutError:

   2009-04-30 19:06:55+0200 [-] dtpFactory.stopFactory

Ticket URL: <http://allmydata.org/trac/tahoe/ticket/688>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid

More information about the tahoe-dev mailing list