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, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Improve XRootD HTTP error messages (#766)"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/766"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/766", "url": "https://github.com/xrootd/xrootd/issues/766", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Improve XRootD HTTP error messages (#766)", "sections": [ { "text": "", "activityTitle": "**Justas BalĨas**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@juztas", "facts": [ { "name": "Repository: ", "value": "xrootd/xrootd" }, { "name": "Issue #: ", "value": 766 } ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"xrootd/xrootd\",\n\"issueId\": 766,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"xrootd/xrootd\",\n\"issueId\": 766\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/xrootd/xrootd/issues/766" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 356464566\n}" } ], "themeColor": "26292E" } ]

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