Article delegate-en/1361 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A1359@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Proxy HTTP problem with authenticated data FTP connection
12 Oct 2001 09:35:54 GMT pjucqbdyi-p5lznxpx2jxr.ml@ml.delegate.org
CANAL+ Technologies



feedback@delegate.org a 馗rit :

> In message <_A1357@delegate-en.ML_> on 10/12/01(03:15:40)
> you pjucqbdyi-p5lznxpx2jxr.ml@ml.delegate.org wrote:
>  |I have problem with my delegate HTTP proxy server when I try to access ftp server
>  |with authentication different than anonymous.
>  |My problem appears when I try to download a file (there is no problem during browsing) and when
>  |it enters in the data mode. I obtain : error 550 and no such file or directory. Be sure the file exists :)
>
> I think it's a usual and normal response when a non-existent file
> is retrieved.
> A directory page generated by FTP/HTTP-DeleGate can be cached
> thus it may include files which does not exist already.  It will
> be refreshed by "reload".  Are you sure that "html/html/index_old.htm"
> really exists on the FTP server?
>
>  |10/11 20:03:34.94 [618] 1+1: FTP/HTTP: GET ftp://www.mysite.com:21/html/html/index_old.htm HTTP/1.0
>  |10/11 20:03:34.94 [618] 1+1: authorization user[user] pass[********]
>  |10/11 20:03:35.21 [618] 1+1: ConnectToServer connected [15] {213.223.33.198:21 <- 172.20.9.113:32905} [0.275s]
>  |10/11 20:03:35.21 [618] 1+1: FTP/HTTP: server opened [15]
>  |10/11 20:03:35.63 [618] 1+1: ftp_conndata: connected 172.20.9.113:32904->www.canalplus-technologies.com/213.223.33.198:32827 [19]
>  |10/11 20:03:35.83 [618] 1+1: FTP/HTTP: negotiation with the server failed
>  |10/11 20:03:35.83 [618] 1+1: E-U: Unknown: pc4243:1442 => GET ftp://www.mysite.com:21/html/html/index_old.htm HTTP/1.0
>
> The detailed log with -vd option might be helpful.
>
> Cheers,
> Yutaka
> --
>   @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
>  ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
> _<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan

Yukata,

Yes I am sure files I tried to download exist.
I have retried with the detail logs enabled and I obtained :

10/12 10:54:42.03 [2355] 4+1: ConnectToServer connect ftp://www.mysite.com:21
10/12 10:54:42.12 [2355] 4+1: ConnectToServer connected [15] {10.0.0.1:21 <- 172.20.9.113:33581} [0.087s]
10/12 10:54:42.12 [2355] 4+1: KeepAlive[15] = 8
10/12 10:54:42.12 [2355] 4+1: FTP/HTTP: server opened [15]
10/12 10:54:42.22 [2355] 4+1: FTP-SERVER-SAYS: 220
10/12 10:54:42.22 [2355] 4+1: I-SAY: USER user
10/12 10:54:42.22 [2355] 4+1: I-SAY: PASS ********
10/12 10:54:42.22 [2355] 4+1: I-SAY: TYPE I
10/12 10:54:42.22 [2355] 4+1: I-SAY: SYST
10/12 10:54:42.22 [2355] 4+1: I-SAY: PWD
10/12 10:54:42.30 [2355] 4+1: FTP-SERVER-SAYS: 331 Password required for user
10/12 10:54:42.41 [2355] 4+1: FTP-SERVER-SAYS: 230 User user logged in.
10/12 10:54:42.41 [2355] 4+1: FTP-SERVER-SAYS: 200 Type set to I.
10/12 10:54:42.42 [2355] 4+1: FTP-SERVER-SAYS: 215 UNIX Type: L8
10/12 10:54:42.42 [2355] 4+1: SYST = UNIX Type: L8
10/12 10:54:42.42 [2355] 4+1: FTP-SERVER-SAYS: 257 "/html" is current directory.
10/12 10:54:42.42 [2355] 4+1: I-SAY: PASV
10/12 10:54:42.51 [2355] 4+1: FTP-SERVER-SAYS: 227 Entering Passive Mode (10,0,0,1,128,77).
10/12 10:54:42.60 [2355] 4+1: ftp_conndata: connected 172.20.9.113:33580->www.mysite.com/10.0.0.1:32845 [19]
10/12 10:54:42.60 [2355] 4+1: KeepAlive[19] = 8
10/12 10:54:42.60 [2355] 4+1: I-SAY: CWD html/index_v2.htm
10/12 10:54:42.69 [2355] 4+1: FTP-SERVER-SAYS: 550 html/index_v2.htm: No such file or directory
10/12 10:54:42.69 [2355] 4+1: I-SAY: CWD html
10/12 10:54:42.78 [2355] 4+1: FTP-SERVER-SAYS: 550 html: No such file or directory
10/12 10:54:42.78 [2355] 4+1: I-SAY: RETR html/index_v2.htm
10/12 10:54:42.87 [2355] 4+1: FTP-SERVER-SAYS: 550 html/index_v2.htm: No such file or directory
10/12 10:54:42.87 [2355] 4+1: FTP/HTTP: negotiation with the server failed
10/12 10:54:42.87 [2355] 4+1: E-U: Unknown: pc4243:2570 => GET ftp://www.canalplus-technologies.com:21/html/index_v2.htm HTTP/1.0
10/12 10:54:42.87 [2355] 4+1: ####LS cannot open /usr/local/delegate/dgroot/act/delay/19/192.168.244.243:pc4243
10/12 10:54:42.87 [2355] 4+1: dirfopen(/usr/local/delegate/dgroot/act/errors/unknown/19/192.168.244.243:pc4243,r+): 15dd08 [19]
10/12 10:54:42.97 [2355] 4+1/1: HCKA:[1] closed -- g:gateway for: ftp
10/12 10:54:42.97 [2355] 4+1/1: LINGER: [24] 30 8{128,30}
10/12 10:54:42.97 [2355] 4+1/1: dirfopen(/usr/local/delegate/dgroot/act/clients/19/192.168.244.243:pc4243,r+): 15dca8 [15]
10/12 10:54:42.97 [2355] 4+1/1: disconnected [24] -@[192.168.244.243]pc4243:2570 (1.017s)(0)
10/12 10:54:42.97 [2355] 4+1: dirfopen(/usr/local/delegate/dgroot/act/pid/8021,r+): 15dc98 [12]
10/12 10:54:42.97 [2355] 4+1: dirfopen(/usr/local/delegate/dgroot/act/locks/PORT/8021.0,w+): 15dca8 [15]
10/12 10:54:42.97 [2355] 4+1: StickyServer: start accept()
10/12 10:54:56.98 [2319] 4+0: AcceptByMain: TIMEOUT(children=1, timeout=15)
10/12 10:55:12.98 [2355] 4+1: StickyServer done [acceptFailed] 1 req / 1 conn / 31 sec
10/12 10:55:12.98 [2319] 4+0: AcceptByMain: got Sticky REPORT 1/1
10/12 10:55:27.02 [2319] 4+0: (0) process [2355] dead

Now I think it's not a problem with authentification but maybe a problem with relative path.
Why delegate does not try to retrieve index_v2.htm instead of html/index_v2.htm ?
Delegate is already under the /htm directory at the time of connection,
so the html directory does not exist....

Thanks for all,

--
David FOURNIER
Direction Informatique
Service R駸eaux et T駘馗oms
Tel : (33) 1 71 71 50 28
Fax : (33) 1 71 71 55 77

CANAL+ Technologies
34, Place Raoul DAUTRY
75906 PARIS Cedex 15
www.canalplus-technologies.com



  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V