Print

Print


Well, I verified that all of the hosts listed in your script (including 
the ones that were commented out) are reachable via WAN. So, unless there 
is some strange iptables setting on the host where you trying this out, 
connectivity should not be an issue.

Hoever, cms-xrd-global.cern.ch has an IPv6 address and that address will 
be tried first if you are IPv6 enabled (that's an RFC requireent). If your 
IPv6 setup is broken then there will be a 2 minute delay before the next 
IPv6 address is tried (the host has two IPv6 addresses). Then the IPv4 
address will be tried. So, if this is the case it will take 4 minutes to 
establish a connection. This may be the problem.

Andy

On Mon, 8 Oct 2018, Valentin Kuznetsov wrote:

> 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 or view it on GitHub:
> https://github.com/xrootd/xrootd/issues/836#issuecomment-427865877


-- 
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/836#issuecomment-427886184

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