1.1.10 ftpget problem on FreeBSD 2.2-STABLE

From: Brian Wang <squid-list@dont-contact.us>
Date: Tue, 13 May 1997 10:14:58 -0700 (PDT)

Hello fellow squid users,

        I just upgraded our squid from v1.0.22 to v1.1.10, and I'm having
trouble getting FTP
to work properly. Every access to ftp:// URLs produces the following
browser output:

--output start--
ERROR
The requested URL could not be retrieved
------------------------------------------------------------------------
While trying to retrieve the URL: ftp://ftp.vividnet.com/
The following error was encountered:

 Connection Failed

The system returned:

    (22) Invalid argument

This means that:
    The remote site or server may be down. Please try again soon.
------------------------------------------------------------------------
Generated by squid/1.1.10@proxy.vividnet.com
--output end--

        So, I switched to level 9 debug, and received the following logs:

--log start--
97/05/13 09:46:16| protoStart: FD 20: Fetching 'GET ftp://ftp.vividnet.com/'
from source
97/05/13 09:46:16| protoCancelTimeout: FD 20 'ftp://ftp.vividnet.com/'
97/05/13 09:46:16| FtpStart: FD 20 'ftp://ftp.vividnet.com/'
97/05/13 09:46:16| storeLockObject: key '1/GET/ftp://ftp.vividnet.com/' count=2
97/05/13 09:46:16| storeLockObject: OK: store_status is STORE_PENDING
97/05/13 09:46:16| FtpStart: FD 20, host=ftp.vividnet.com, path=/,
user=anonymous, passwd=wwwsurfer@
proxy.vividnet.com
97/05/13 09:46:16| comm_add_close_handler: FD 24, handler=0x10e2c, data=0x2c7000
97/05/13 09:46:16| comm_add_close_handler: FD 24, handler=0x8f04, data=0x280700
97/05/13 09:46:16| ipcache_gethostbyname: '127.0.0.1', flags=1
97/05/13 09:46:16| comm_set_fd_lifetime: FD 24 lft 36000
97/05/13 09:46:16| comm_set_fd_lifetime: FD 24 lft 36000
97/05/13 09:46:16| comm_select: 1 sockets ready at 863541976
97/05/13 09:46:16| comm_select: FD 24 ready for writing
97/05/13 09:46:16| ftpSendRequest: FD 24
97/05/13 09:46:16| ftpSendRequest: FD 24: buf '/usr/local/squid/bin/ftpget
-t 900 -n 300 -P 21 -H pr
oxy.vividnet.com -h - ftp.vividnet.com / A anonymous
wwwsurfer@proxy.vividnet.com
'
97/05/13 09:46:16| comm_write: FD 24: sz 135: tout 30: hndl 0x115ec: data
0x2c7000.
97/05/13 09:46:16| comm_select: 1 sockets ready at 863541976
97/05/13 09:46:16| comm_select: FD 24 ready for writing
97/05/13 09:46:16| commHandleWrite: FD 24: state=0x2809c0, off 0, sz 135.
97/05/13 09:46:16| commHandleWrite: FD 24: write failure: (22) Invalid argument.
97/05/13 09:46:16| ftpSendComplete: FD 24: size 0: errflag -1.
97/05/13 09:46:16| ERR_CONNECT_FAIL: ftp://ftp.vividnet.com/
--log end--

        I was able to execute ftpget manually from command line with
successful connection using
arguments from log line "97/05/13 09:46:16| ftpSendRequest: FD 24: buf
'/usr/local/squid/bin/ftpget -t 900 -n 300 -P 21 -H proxy.vividnet.com -h -
ftp.vividnet.com / A anonymous wwwsurfer@proxy.vividnet.com". I've
tried this on a FreeBSD 2.1-STABLE machine also, and I have the same
problem... Please help! Thank you.

Sincerely,

Brian Wang
Received on Tue May 13 1997 - 10:18:34 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:10 MST