Keepass: Synchronize with URL via FTP problem

Posted on

QUESTION :

How described in this page of the KeePass Help Center I can sync my database via ftp. But an error has been occurred:

The server returned an address in response to the PASV command that is different than the address to which the FTP connection was made

This occurs in the passive mode: Keepass switch in this mode because the firewall on my PC does not allow incoming connections.

If I use the Total Commander all is okey:

Connect to: (20.04.2011 23:01:21)

hostname=50.19.yyy.zz

username=foo

startdir=

220 (vsFTPd 2.2.2)

USER foo

331 Please specify the password.

PASS ***********

230 Login successful.

SYST

215 UNIX Type: L8

FEAT

211-Features:

EPRT

EPSV

MDTM

PASV

REST STREAM

SIZE

TVFS

UTF8

211 End

OPTS UTF8 ON

200 Always in UTF8 mode.

Connect ok!

PWD

257 “/home/foo”

Get directory

TYPE A

200 Switching to ASCII mode.

PASV

227 Entering Passive Mode (10,208,121,27,224,188).

Server reports local IP -> Redirect to: 50.19.yyy.zz

LIST

150 Here comes the directory listing.

Download

Waiting for server…

226 Directory send OK.

It is because in this Server reports local IP -> Redirect to: 50.19.yyy.zz Total Commander do that Keepass does not do. FTP server return its local network address in response instead of public and Keepass falls down. What to do to solve the problem? FTP server is my server in Amazon EC2.

ANSWER :

Problem resolved by adding pasv_address=50.19.yyy.zz in /etc/vsftpd/vsftpd.conf – the config file of my FTP server. Thanks. It was problem of the FTP server.

Leave a Reply

Your email address will not be published.