Print

Print


Sorry for my late reply.

I guess you meant `davix-put` right? `davix-copy` is strictly a TPC and so it expects 2 http/davs urls.
this is what I got:

client side
```
[root@e6ecf336b844 /]# davix-put --trace header  --capath /etc/grid-security/certificates/  --cert /tmp/x509up_u0 --key /tmp/x509up_u0 ./zero-bytes  davs://gftp-1.t2.ucsd.edu:1094/store/user/ddavila/newdir/zero-bytes
HTTP session to https://gftp-1.t2.ucsd.edu:1094 begins.
> PUT /store/user/ddavila/newdir/zero-bytes HTTP/1.1
> User-Agent: libdavix/0.7.6 neon/0.0.29
> Keep-Alive: 
> Connection: Keep-Alive
> TE: trailers
> Host: gftp-1.t2.ucsd.edu:1094
> Content-Length: 0
> 

Aborted request (-5): Could not read status line
(Davix::HttpRequest) Error: (Neon): Could not read status line: Secure connection truncated
```

server side:
```
210105 16:18:02 22628 sysXrdHttp: getDataOneShot BuffAvailable: 1048576 maxread: 1048576
210105 16:18:02 22628 sysXrdHttp: getDataOneShot sslavail: 1048576
210105 16:18:02 22628 sysXrdHttp: read 196 of 1048576 bytes
210105 16:18:02 22628 sysXrdHttp:  rc:52 got hdr line: PUT /store/user/ddavila/newdir/zero-bytes HTTP/1.1

210105 16:18:02 22628 sysXrdHttp:  Parsing first line: PUT /store/user/ddavila/newdir/zero-bytes HTTP/1.1

210105 16:18:02 22628 sysXrdHttp:  rc:40 got hdr line: User-Agent: libdavix/0.7.6 neon/0.0.29

210105 16:18:02 22628 sysXrdHttp:  rc:14 got hdr line: Keep-Alive: 

210105 16:18:02 22628 sysXrdHttp:  rc:24 got hdr line: Connection: Keep-Alive

210105 16:18:02 22628 sysXrdHttp:  rc:14 got hdr line: TE: trailers

210105 16:18:02 22628 sysXrdHttp:  rc:31 got hdr line: Host: gftp-1.t2.ucsd.edu:1094

210105 16:18:02 22628 sysXrdHttp:  rc:19 got hdr line: Content-Length: 0

210105 16:18:02 22628 sysXrdHttp:  rc:2 got hdr line: 

210105 16:18:02 22628 sysXrdHttp:  rc:2 detected header end.
210105 16:18:02 22628 XrootdBridge: ddavila.3:[log in to unmask] login as ddavila
210105 16:18:02 22628 ddavila.3:[log in to unmask] sysXrdHttp:  Process. lp:0x7f27040182a0 reqstate: 0
210105 16:18:02 22628 ddavila.3:[log in to unmask] sysXrdHttp: Process is exiting rc:1
File we will access: /cms/store/user/ddavila/newdir/zero-bytes
210105 16:18:02 22628 sysXrdHttp:  XrdHttpReq::Data! final=0
210105 16:18:02 22628 ddavila.3:[log in to unmask] sysXrdHttp: PostProcessHTTPReq req: 4 reqstate: 0
210105 16:18:02 22628 ddavila.3:[log in to unmask] sysXrdHttp: fhandle:0:0:0:0
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1365#issuecomment-754985988

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1