Module: Document - problem access via FTP

Bug #619098 reported by Nicola Riolini - Micronaet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

Hi, I installed the module Document for trying to use DMS, I see with nmap command thattche port 8021 is open but when I try a connection via FTP, in windows with: ftp://oerp:8021 or with Ubuntu "connect to server" on port 8021 both mode: FTP and auth. FTP, the connection is waiting until time out.
I never been able to access to FTP server. If useful I write down the error find in Server logs:

2010-08-17 10:38:44,261] INFO:FTP:[]192.168.100.50:42450 Connected.
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/home/administrator/OpenERP/openerp/server/bin/addons/document/ftpserver/__init__.py", line 94, in run
    ftpd.serve_forever()
  File "/home/administrator/OpenERP/openerp/server/bin/addons/document/ftpserver/ftpserver.py", line 3002, in serve_forever
    asyncore.loop(timeout=1.0, use_poll=False)
  File "/usr/lib/python2.6/asyncore.py", line 202, in loop
    poll_fun(timeout, map)
  File "/usr/lib/python2.6/asyncore.py", line 143, in poll
    read(obj)
  File "/usr/lib/python2.6/asyncore.py", line 80, in read
    obj.handle_error()
  File "/usr/lib/python2.6/asyncore.py", line 76, in read
    obj.handle_read_event()
  File "/usr/lib/python2.6/asyncore.py", line 411, in handle_read_event
    self.handle_accept()
  File "/home/administrator/OpenERP/openerp/server/bin/addons/document/ftpserver/ftpserver.py", line 3012, in handle_accept
    handler = self.handler(sock_obj, self)
  File "/home/administrator/OpenERP/openerp/server/bin/addons/document/ftpserver/ftpserver.py", line 1417, in __init__
    self.remote_ip, self.remote_port = self.socket.getpeername()[:2]
  File "<string>", line 1, in getpeername
error: [Errno 107] Il punto di termine del trasporto non è connesso

(last line translate in English: the transport end point is not connected)

I try to install module: document_sftp but I don't even see open port: 8022 only SHA field in User Form.
If you need more information please tell me.
thanks

description: updated
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Nicola,

I just tried on stable and trunk both, and FTP seems working fine.
Can you check if you have all the rights to access the port and directories?

I am closing the as it does not affect trunk at all.
We can discuss if there is still a problem at your end.
Thanks.

Changed in openobject-addons:
status: New → Invalid
Revision history for this message
Nicola Riolini - Micronaet (nicolariolini) wrote :

Hi
I still have this problem on new installation of 6.0.1, I have a question: if during installation / configuration wizard I choose localhost, can I access from LAN or do I have to write tha IP address of server OpenERP? Does "set ad TODO" in wizard list works if I need to change IP of the server interface?
I try both way but I still don't access from lan, only localhost, obviously on the server PC...
Thanks

Revision history for this message
Nicola Riolini - Micronaet (nicolariolini) wrote :

This resolve my problem:
Insert in configuration files this two lines (the file that is generated launch server with parameter -s)
If the module don't find this parameter use 127.0.0.1 instead of 0.0.0.0
(thank @enlightx for support :) )

 ftp_server_host = 0.0.0.0
 ftp_server_por = 8021

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.