Print

Print


Hi,

Just fired few tests with XRootD HTTPs write, and noticed that error messages are not very helpful:
```
Using simple proxy and mapped as cmsuser:cms
$ gfal-copy listing https://transfer-2.ultralight.org:1095//store/data/user/phedex.user/listing1 
Copying file:///afs/cern.ch/user/j/jbalcas/listing   [FAILED]  after 2s                                              
gfal-copy error: 17 (File exists) - TRANSFER  HTTP 409 : Conflict, File Exist 
Server:
80713 01:40:20 10300 XrootdBridge: cmsuser.40:[log in to unmask] login as cmsuser
180713 01:40:20 10300 cmsuser.40:[log in to unmask] sysXrdHttp: Process is exiting rc:1
180713 01:40:20 10300 cmsuser.40:[log in to unmask] ofs_open: 200-40664 fn=/store/data/user/phedex.user/listing1
180713 01:40:20 10300 ofs_open: cmsuser.40:[log in to unmask] Unable to create /store/data/user/phedex.user/listing1; permission denied
```
/store/data is owned by phedex:cmsdata and cmsuser's are not allowed to write there.

------------
If I try without proxy (p.s. file does not exist on storage):
```
$ gfal-copy listing https://transfer-2.ultralight.org:1095//store/temp/user/jjj.111/listing1
Copying file:///afs/cern.ch/user/j/jbalcas/listing   [FAILED]  after 2s                                              
gfal-copy error: 17 (File exists) - TRANSFER  HTTP 409 : Conflict, File Exist 
$ voms-proxy-info -all
Proxy not found: /tmp/x509up_u54594 (No such file or directory)
```
------------
Now if I try with a proxy, but without `cms` role:
```
$ gfal-copy listing https://transfer-2.ultralight.org:1095//store/temp/user/jjj.112/listing2
Copying file:///afs/cern.ch/user/j/jbalcas/listing   [FAILED]  after 1s                                              
gfal-copy error: 112 (Host is down) - DESTINATION OVERWRITE   Failure (Neon): Could not read status line: Secure connection truncated after 1 attempts
```
Would be great to have reasonable errors sent back to the user. Just to give more info, we use 4.8.3 release. Let me know if more information is needed. Thanks
@bbockelm 

-- 
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/766

########################################################################
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