With XRD_CONNECTIONWINDOW=600 xrdcp tries IPv4 connection, but without this option fails on IPv6 attempts.

$ XRD_CONNECTIONWINDOW=600 xrdcp -f -d2 root://xrootd-cms-redir-01.cr.cnaf.infn.it//store/test/xrootd/CMSSAM/store/mc/SAM/GenericTTbar/AODSIM/CMSSW_9_0_0_90X_mcRun1_realistic_v4-v1/10000/28B9D1FB-8B31-E711-AA4E-0025905B85B2.root /dev/null
[2017-11-17 18:00:51.033805 +0200][Debug ][Utility ] CopyProcess: 2 jobs to prepare
[2017-11-17 18:00:51.034279 +0200][Debug ][Utility ] Creating a classic copy job, from root://xrootd-cms-redir-01.cr.cnaf.infn.it:1094//store/test/xrootd/CMSSAM/store/mc/SAM/GenericTTbar/AODSIM/CMSSW_9_0_0_90X_mcRun1_realistic_v4-v1/10000/28B9D1FB-8B31-E711-AA4E-0025905B85B2.root to file:///dev/null
[2017-11-17 18:00:51.034523 +0200][Debug ][Utility ] Monitor library name not set. No monitoring
[2017-11-17 18:00:51.034771 +0200][Debug ][Utility ] Opening root://xrootd-cms-redir-01.cr.cnaf.infn.it:1094//store/test/xrootd/CMSSAM/store/mc/SAM/GenericTTbar/AODSIM/CMSSW_9_0_0_90X_mcRun1_realistic_v4-v1/10000/28B9D1FB-8B31-E711-AA4E-0025905B85B2.root for reading
[2017-11-17 18:00:51.035023 +0200][Debug ][File ] [0xa2e0bff0@root://xrootd-cms-redir-01.cr.cnaf.infn.it:1094//store/test/xrootd/CMSSAM/store/mc/SAM/GenericTTbar/AODSIM/CMSSW_9_0_0_90X_mcRun1_realistic_v4-v1/10000/28B9D1FB-8B31-E711-AA4E-0025905B85B2.root] Sending an open command
[2017-11-17 18:00:51.035526 +0200][Debug ][Poller ] Available pollers: built-in
[2017-11-17 18:00:51.035691 +0200][Debug ][Poller ] Attempting to create a poller according to preference: built-in
[2017-11-17 18:00:51.035840 +0200][Debug ][Poller ] Creating poller: built-in
[2017-11-17 18:00:51.035918 +0200][Debug ][Poller ] Creating and starting the built-in poller...
[2017-11-17 18:00:51.036192 +0200][Debug ][Poller ] Using 1 poller threads
[2017-11-17 18:00:51.036382 +0200][Debug ][TaskMgr ] Starting the task manager...
[2017-11-17 18:00:51.036449 +0200][Debug ][TaskMgr ] Task manager started
[2017-11-17 18:00:51.036625 +0200][Debug ][JobMgr ] Starting the job manager...
[2017-11-17 18:00:51.036741 +0200][Debug ][JobMgr ] Job manager started, 3 workers
[2017-11-17 18:00:51.036889 +0200][Debug ][TaskMgr ] Registering task: "FileTimer task" to be run at: [2017-11-17 18:00:51 +0200]
[2017-11-17 18:00:51.036944 +0200][Debug ][PostMaster ] Creating new channel to: xrootd-cms-redir-01.cr.cnaf.infn.it:1094 1 stream(s)
[2017-11-17 18:00:51.036979 +0200][Debug ][PostMaster ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0] Stream parameters: Network Stack: IPAuto, Connection Window: 600, ConnectionRetry: 5, Stream Error Widnow: 1800
[2017-11-17 18:00:51.037342 +0200][Debug ][TaskMgr ] Registering task: "TickGeneratorTask for: xrootd-cms-redir-01.cr.cnaf.infn.it:1094" to be run at: [2017-11-17 18:01:06 +0200]
[2017-11-17 18:00:51.043067 +0200][Debug ][PostMaster ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094] Found 2 address(es): [2001:760:4205:216::11]:1094, [::ffff:131.154.216.11]:1094
[2017-11-17 18:00:51.043160 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Attempting connection to [2001:760:4205:216::11]:1094
[2017-11-17 18:00:51.043227 +0200][Debug ][Poller ] Adding socket 0xa2e0bd90 to the poller
[2017-11-17 18:02:59.606669 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Async connection call returned
[2017-11-17 18:02:59.606763 +0200][Error ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Unable to connect: Connection timed out
[2017-11-17 18:02:59.606784 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Closing the socket
[2017-11-17 18:02:59.606806 +0200][Debug ][Poller ] <--> Removing socket from the poller
[2017-11-17 18:02:59.606902 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Attempting connection to [::ffff:131.154.216.11]:1094
[2017-11-17 18:02:59.607000 +0200][Debug ][Poller ] Adding socket 0xa2e0bd90 to the poller
[2017-11-17 18:02:59.678993 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Async connection call returned
[2017-11-17 18:02:59.679093 +0200][Debug ][XRootDTransport ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Sending out the initial hand shake + kXR_protocol
[2017-11-17 18:02:59.750959 +0200][Debug ][XRootDTransport ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Got the server hand shake response (type: manager [], protocol version 310)
[2017-11-17 18:02:59.751049 +0200][Debug ][XRootDTransport ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] kXR_protocol successful (type: manager [], protocol version 310)

Should this option be added every time?


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://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"PERSON","message":"@akurov in #625: With XRD_CONNECTIONWINDOW=600 xrdcp tries IPv4 connection, but without this option fails on IPv6 attempts.\r\n\r\n$ XRD_CONNECTIONWINDOW=600 xrdcp -f -d2 root://xrootd-cms-redir-01.cr.cnaf.infn.it//store/test/xrootd/CMSSAM/store/mc/SAM/GenericTTbar/AODSIM/CMSSW_9_0_0_90X_mcRun1_realistic_v4-v1/10000/28B9D1FB-8B31-E711-AA4E-0025905B85B2.root /dev/null\r\n[2017-11-17 18:00:51.033805 +0200][Debug ][Utility ] CopyProcess: 2 jobs to prepare\r\n[2017-11-17 18:00:51.034279 +0200][Debug ][Utility ] Creating a classic copy job, from root://xrootd-cms-redir-01.cr.cnaf.infn.it:1094//store/test/xrootd/CMSSAM/store/mc/SAM/GenericTTbar/AODSIM/CMSSW_9_0_0_90X_mcRun1_realistic_v4-v1/10000/28B9D1FB-8B31-E711-AA4E-0025905B85B2.root to file:///dev/null\r\n[2017-11-17 18:00:51.034523 +0200][Debug ][Utility ] Monitor library name not set. No monitoring\r\n[2017-11-17 18:00:51.034771 +0200][Debug ][Utility ] Opening root://xrootd-cms-redir-01.cr.cnaf.infn.it:1094//store/test/xrootd/CMSSAM/store/mc/SAM/GenericTTbar/AODSIM/CMSSW_9_0_0_90X_mcRun1_realistic_v4-v1/10000/28B9D1FB-8B31-E711-AA4E-0025905B85B2.root for reading\r\n[2017-11-17 18:00:51.035023 +0200][Debug ][File ] [0xa2e0bff0@root://xrootd-cms-redir-01.cr.cnaf.infn.it:1094//store/test/xrootd/CMSSAM/store/mc/SAM/GenericTTbar/AODSIM/CMSSW_9_0_0_90X_mcRun1_realistic_v4-v1/10000/28B9D1FB-8B31-E711-AA4E-0025905B85B2.root] Sending an open command\r\n[2017-11-17 18:00:51.035526 +0200][Debug ][Poller ] Available pollers: built-in\r\n[2017-11-17 18:00:51.035691 +0200][Debug ][Poller ] Attempting to create a poller according to preference: built-in\r\n[2017-11-17 18:00:51.035840 +0200][Debug ][Poller ] Creating poller: built-in\r\n[2017-11-17 18:00:51.035918 +0200][Debug ][Poller ] Creating and starting the built-in poller...\r\n[2017-11-17 18:00:51.036192 +0200][Debug ][Poller ] Using 1 poller threads\r\n[2017-11-17 18:00:51.036382 +0200][Debug ][TaskMgr ] Starting the task manager...\r\n[2017-11-17 18:00:51.036449 +0200][Debug ][TaskMgr ] Task manager started\r\n[2017-11-17 18:00:51.036625 +0200][Debug ][JobMgr ] Starting the job manager...\r\n[2017-11-17 18:00:51.036741 +0200][Debug ][JobMgr ] Job manager started, 3 workers\r\n[2017-11-17 18:00:51.036889 +0200][Debug ][TaskMgr ] Registering task: \"FileTimer task\" to be run at: [2017-11-17 18:00:51 +0200]\r\n[2017-11-17 18:00:51.036944 +0200][Debug ][PostMaster ] Creating new channel to: xrootd-cms-redir-01.cr.cnaf.infn.it:1094 1 stream(s)\r\n[2017-11-17 18:00:51.036979 +0200][Debug ][PostMaster ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0] Stream parameters: Network Stack: IPAuto, Connection Window: 600, ConnectionRetry: 5, Stream Error Widnow: 1800\r\n[2017-11-17 18:00:51.037342 +0200][Debug ][TaskMgr ] Registering task: \"TickGeneratorTask for: xrootd-cms-redir-01.cr.cnaf.infn.it:1094\" to be run at: [2017-11-17 18:01:06 +0200]\r\n[2017-11-17 18:00:51.043067 +0200][Debug ][PostMaster ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094] Found 2 address(es): [2001:760:4205:216::11]:1094, [::ffff:131.154.216.11]:1094\r\n[2017-11-17 18:00:51.043160 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Attempting connection to [2001:760:4205:216::11]:1094\r\n[2017-11-17 18:00:51.043227 +0200][Debug ][Poller ] Adding socket 0xa2e0bd90 to the poller\r\n[2017-11-17 18:02:59.606669 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Async connection call returned\r\n[2017-11-17 18:02:59.606763 +0200][Error ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Unable to connect: Connection timed out\r\n[2017-11-17 18:02:59.606784 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Closing the socket\r\n[2017-11-17 18:02:59.606806 +0200][Debug ][Poller ] \u003cx\u003e\u003c--\u003e\u003cx\u003e Removing socket from the poller\r\n[2017-11-17 18:02:59.606902 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Attempting connection to [::ffff:131.154.216.11]:1094\r\n[2017-11-17 18:02:59.607000 +0200][Debug ][Poller ] Adding socket 0xa2e0bd90 to the poller\r\n[2017-11-17 18:02:59.678993 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Async connection call returned\r\n[2017-11-17 18:02:59.679093 +0200][Debug ][XRootDTransport ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Sending out the initial hand shake + kXR_protocol\r\n[2017-11-17 18:02:59.750959 +0200][Debug ][XRootDTransport ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Got the server hand shake response (type: manager [], protocol version 310)\r\n[2017-11-17 18:02:59.751049 +0200][Debug ][XRootDTransport ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] kXR_protocol successful (type: manager [], protocol version 310)\r\n\r\nShould this option be added every time?"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/625#issuecomment-345286042"}}}

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