Re: [squid-users] Ftp put gives bad gateway but put is correct

From: David Rodríguez Fernández <davidrf_at_gmail.com>
Date: Thu, 31 Jul 2008 12:06:52 +0200

Nobody know how to resolve this issue? This is an squid issue? I think
this is an squid error, no?

On Tue, Jul 29, 2008 at 10:58 AM, David Rodríguez Fernández
<davidrf_at_gmail.com> wrote:
>
> Ok, I'm upgraded to version squid/3.0.STABLE8 and I still have the same error.
>
> The cache.log says: ftpReadTransferDone: Got code 150 after sending data
> And if I try to debug the conexion data, I get this:
>
> [...]
> T proxy:56819 -> remote:21 [AP]
> CWD /path..
> #
> T remote:21 -> proxy:56819 [AP]
> 250 "/path" is current directory...
> #
> T proxy:56819 -> remote:21 [AP]
> MDTM README..
> #
> T remote:21 -> proxy:56819 [AP]
> 500 Subcommand MDTM not valid...
> #
> T proxy:56819 -> remote:21 [AP]
> PASV..
> #
> T remote:21 -> proxy:56819 [AP]
> 227 Entering Passive Mode (remote)...
> ####
> T proxy:56819 -> remote:21 [AP]
> STOR README..
> #
> T remote:21 -> proxy:56819 [AP]
> 150 Sending file to /path//README..
> #
> T proxy:52215 -> remote:32795 [AP]
> FILE DATA FILE DATA FILE DATA FILE DATA FILE DATA FILE DATA
> FILE DATA FILE DATA FILE DATA FILE DATA FILE DATA FILE DATA
> FILE DATA FILE DATA FILE DATA FILE DATA FILE DATA FILE DATA
> #######
> T remote:21 -> proxy:56819 [AP]
> 250 File transfer completed successfully...
> ##
> T remote:21 -> proxy:56819 [AFP]
> 221 QUIT subcommand received...
> #exit
>
> That is an correct transfer. But squid only logs the 150 response not the 250.
>
> > On Wed, Jul 23, 2008 at 3:20 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> >>
> >> David Rodríguez Fernández wrote:
> >>>
> >>> Hi list.
> >>>
> >>> I'm having an issue with a ftp server. When I put a file in the remote
> >>> server Squid gives me an "502 Bad Gateway" error, and the error message gives
> >>> me this:
> >>>
> >>>> ERROR
> >>>> FTP PUT/upload failed
> >>>> While trying to PUT the following URL:
> >>>> ftp://user@hostname-ipaddress/path/file.txt
> >>>> Squid sent the following FTP command:
> >>>> STOR file.txt
> >>>> and then received this reply.
> >>>> File transfer completed successfully
> >>>> This means that:
> >>>> Check path, permissions, diskspace and try again
> >>>
> >>> But the file is corrected uploaded in the server. This is annoying,
> >>> because I have an automated task that fail with this error message.
> >>>
> >>> I have squid 2.5 in Linux and the remote server is an AS400.
> >>
> >> The logic in your squid may be bad. 2.5 is obsolete now for some years.
> >> Try upgrading.
> >>
> >> Amos
> >> --
> >> Please use Squid 2.7.STABLE3 or 3.0.STABLE8
> >
> >
> >
> > --
> > Yo he notado el calentamiento global en los rumanos de mi pueblo. Antes se tomaban el coñac solo y ahora le echan hielo.
> >
> > Dr. Sonao. Julio de 2008
>
>
>
> --
> Yo he notado el calentamiento global en los rumanos de mi pueblo.
> Antes se tomaban el coñac solo y ahora le echan hielo.
>
> Dr. Sonao. Julio de 2008

--
Yo he notado el calentamiento global en los rumanos de mi pueblo.
Antes se tomaban el coñac solo y ahora le echan hielo.
Dr. Sonao. Julio de 2008
Received on Thu Jul 31 2008 - 10:06:54 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 31 2008 - 12:00:05 MDT