Page 1 of 1

FTP Error "425 Sorry, invalid address given"

PostPosted: Sun Jan 31, 2016 10:27 pm
by chasejordan1
This is brand new install (ViciBox V.7.0.0-160119) all in one box, everything seems to work fine except, the FTP transfer of reports and recording when I run the 2 commands below I get the error below. The settings in astguiclient are identical to all my other servers (older versions). I the username and password are correct.

I looked at the line 461 and this is what it has - $ftp->login("$VARFTP_user","VARFTP_pass"); -

(COMMANDS) /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --debugX
(COMMANDS) /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3


(ERROR) - "Net::FTP=GLOB(0x293d290)<<< 425 Sorry, invalid address given
Can't call method "login" on an undefined value at /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl line 461."

Just an idea... this server his hooked up to a router (the FTP server is not) the router "should" allow all outbound traffic but I did not specify any inbound traffic for port 21?

Any thoughts?

Re: FTP Error "425 Sorry, invalid address given"

PostPosted: Sun Jan 31, 2016 10:54 pm
by mflorell
What is set in your /etc/astguiclient.conf file?

Re: FTP Error "425 Sorry, invalid address given"

PostPosted: Sun Jan 31, 2016 10:56 pm
by chasejordan1
# FTP recording archive connection information
VARFTP_host => 64.62.203.xxx
VARFTP_user => xxxxxxxx
VARFTP_pass => xxxxxxxx
VARFTP_port => 21
VARFTP_dir => RECORDINGS
VARHTTP_path => http://64.62.203.xxx/RECORDINGS

Re: FTP Error "425 Sorry, invalid address given"

PostPosted: Mon Feb 01, 2016 6:11 am
by mflorell
FTP needs more than just port 21 to be open to function properly. If it's going through a firewall you might need to consult a network expert to configure it properly.