yes, I removed timeout argument from the call. Here is a code now:
```
#!/usr/bin/env python
from XRootD import client
from XRootD.client.flags import OpenFlags
f=client.File()
redirector='root://cms-xrd-global.cern.ch'
#redirector='root://xrootd-cms.infn.it'
#redirector='root://cmsxrootd.fnal.gov'
fin='%s//store/data/Run2018C/Tau/NANOAOD/14Sep2018_ver3-v1/60000/6FA4CC7C-8982-DE4C-BEED-C90413312B35.root' % redirector
print(fin)
data=f.open(fin, OpenFlags.READ)
print("data", data)
```
and, I tried different redirectors.

My suspicious it is related to the node iptables settings, the node is on a
Internet2 and may be some settings should be applied to make requests pass
through. But I don't know what xrootd requires (if any).


On 0, Brian P Bockelman <[log in to unmask]> wrote:
> Hi @vkuznet -
>
> For the last log snippet, can you confirm that you decreased the timeout value to be below the amount of time you waited? It wasn't clear from your response whether this was so.
>
> Brian
>
> --
> You are receiving this because you were mentioned.
> Reply to this email directly or view it on GitHub:
> https://github.com/xrootd/xrootd/issues/836#issuecomment-427862413


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":"PERSON","message":"@vkuznet in #836: yes, I removed timeout argument from the call. Here is a code now:\n```\n#!/usr/bin/env python\nfrom XRootD import client\nfrom XRootD.client.flags import OpenFlags\nf=client.File()\nredirector='root://cms-xrd-global.cern.ch'\n#redirector='root://xrootd-cms.infn.it'\n#redirector='root://cmsxrootd.fnal.gov'\nfin='%s//store/data/Run2018C/Tau/NANOAOD/14Sep2018_ver3-v1/60000/6FA4CC7C-8982-DE4C-BEED-C90413312B35.root' % redirector\nprint(fin)\ndata=f.open(fin, OpenFlags.READ)\nprint(\"data\", data)\n```\nand, I tried different redirectors.\n\nMy suspicious it is related to the node iptables settings, the node is on a\nInternet2 and may be some settings should be applied to make requests pass\nthrough. But I don't know what xrootd requires (if any).\n\n\nOn 0, Brian P Bockelman \[log in to unmask]\u003e wrote:\n\u003e Hi @vkuznet -\n\u003e \n\u003e For the last log snippet, can you confirm that you decreased the timeout value to be below the amount of time you waited? It wasn't clear from your response whether this was so.\n\u003e \n\u003e Brian\n\u003e \n\u003e -- \n\u003e You are receiving this because you were mentioned.\n\u003e Reply to this email directly or view it on GitHub:\n\u003e https://github.com/xrootd/xrootd/issues/836#issuecomment-427862413\n"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/836#issuecomment-427865877"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/836#issuecomment-427865877", "url": "https://github.com/xrootd/xrootd/issues/836#issuecomment-427865877", "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": "Re: [xrootd/xrootd] python client hangs forever (#836)", "sections": [ { "text": "", "activityTitle": "**Valentin Kuznetsov**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@vkuznet", "facts": [ ] } ], "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\": 836,\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\": 836\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/xrootd/xrootd/issues/836#issuecomment-427865877" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 388716542\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