Search squid archive

Re: Ftp put gives bad gateway but put is correct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> 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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux