Hi, xrdcp don't try to connect via IPv4 if IPv6 connection fails: $ 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-15 12:37:49.181283 +0200][Debug ][Utility ] CopyProcess: 2 jobs to prepare [2017-11-15 12:37:49.181433 +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-15 12:37:49.181473 +0200][Debug ][Utility ] Monitor library name not set. No monitoring [2017-11-15 12:37:49.181534 +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-15 12:37:49.181607 +0200][Debug ][File ] [0x27c18ff0@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-15 12:37:49.181648 +0200][Debug ][Poller ] Available pollers: built-in [2017-11-15 12:37:49.181667 +0200][Debug ][Poller ] Attempting to create a poller according to preference: built-in [2017-11-15 12:37:49.181684 +0200][Debug ][Poller ] Creating poller: built-in [2017-11-15 12:37:49.181701 +0200][Debug ][Poller ] Creating and starting the built-in poller... [2017-11-15 12:37:49.181846 +0200][Debug ][Poller ] Using 1 poller threads [2017-11-15 12:37:49.181867 +0200][Debug ][TaskMgr ] Starting the task manager... [2017-11-15 12:37:49.181917 +0200][Debug ][TaskMgr ] Task manager started [2017-11-15 12:37:49.181936 +0200][Debug ][JobMgr ] Starting the job manager... [2017-11-15 12:37:49.182048 +0200][Debug ][JobMgr ] Job manager started, 3 workers [2017-11-15 12:37:49.182069 +0200][Debug ][TaskMgr ] Registering task: "FileTimer task" to be run at: [2017-11-15 12:37:49 +0200] [2017-11-15 12:37:49.182105 +0200][Debug ][PostMaster ] Creating new channel to: xrootd-cms-redir-01.cr.cnaf.infn.it:1094 1 stream(s) [2017-11-15 12:37:49.182134 +0200][Debug ][PostMaster ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0] Stream parameters: Network Stack: IPAuto, Connection Window: 120, ConnectionRetry: 5, Stream Error Widnow: 1800 [2017-11-15 12:37:49.182258 +0200][Debug ][TaskMgr ] Registering task: "TickGeneratorTask for: xrootd-cms-redir-01.cr.cnaf.infn.it:1094" to be run at: [2017-11-15 12:38:04 +0200] [2017-11-15 12:37:49.183239 +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-15 12:37:49.183299 +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-15 12:37:49.183353 +0200][Debug ][Poller ] Adding socket 0x27c18d90 to the poller [2017-11-15 12:39:59.382636 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Async connection call returned [2017-11-15 12:39:59.382713 +0200][Error ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Unable to connect: Connection timed out [2017-11-15 12:39:59.382727 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Closing the socket [2017-11-15 12:39:59.382741 +0200][Debug ][Poller ] <x><--><x> Removing socket from the poller [2017-11-15 12:39:59.383409 +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-15 12:39:59.383450 +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-15 12:39:59.383500 +0200][Debug ][Poller ] Adding socket 0x27c18d90 to the poller [2017-11-15 12:42:10.454612 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Async connection call returned [2017-11-15 12:42:10.454686 +0200][Error ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Unable to connect: Connection timed out [2017-11-15 12:42:10.454698 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Closing the socket [2017-11-15 12:42:10.454713 +0200][Debug ][Poller ] <x><--><x> Removing socket from the poller [2017-11-15 12:42:10.455409 +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-15 12:42:10.455450 +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-15 12:42:10.455501 +0200][Debug ][Poller ] Adding socket 0x27c18d90 to the poller [2017-11-15 12:44:21.526595 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Async connection call returned [2017-11-15 12:44:21.526669 +0200][Error ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Unable to connect: Connection timed out [2017-11-15 12:44:21.526682 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Closing the socket [2017-11-15 12:44:21.526697 +0200][Debug ][Poller ] <x><--><x> Removing socket from the poller [2017-11-15 12:44:21.527422 +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-15 12:44:21.527464 +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-15 12:44:21.527517 +0200][Debug ][Poller ] Adding socket 0x27c18d90 to the poller [2017-11-15 12:46:32.598585 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Async connection call returned [2017-11-15 12:46:32.598652 +0200][Error ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Unable to connect: Connection timed out [2017-11-15 12:46:32.598665 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Closing the socket [2017-11-15 12:46:32.598680 +0200][Debug ][Poller ] <x><--><x> Removing socket from the poller [2017-11-15 12:46:32.599344 +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-15 12:46:32.599384 +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-15 12:46:32.599435 +0200][Debug ][Poller ] Adding socket 0x27c18d90 to the poller [2017-11-15 12:48:43.670588 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Async connection call returned [2017-11-15 12:48:43.670657 +0200][Error ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Unable to connect: Connection timed out [2017-11-15 12:48:43.670669 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Closing the socket [2017-11-15 12:48:43.670684 +0200][Debug ][Poller ] <x><--><x> Removing socket from the poller [2017-11-15 12:48:43.670741 +0200][Error ][PostMaster ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0] Unable to recover: [ERROR] Connection error. [2017-11-15 12:48:43.670756 +0200][Error ][XRootD ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094] Impossible to send message kXR_open (file: /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, mode: 00, flags: kXR_open_read kXR_async kXR_retstat ). Trying to recover. [2017-11-15 12:48:43.670773 +0200][Debug ][XRootD ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094] Handling error while processing kXR_open (file: /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, mode: 00, flags: kXR_open_read kXR_async kXR_retstat ): [FATAL] Connection error. [2017-11-15 12:48:43.670892 +0200][Debug ][File ] [0x27c18ff0@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] Open has returned with status [FATAL] Connection error [2017-11-15 12:48:43.670913 +0200][Debug ][File ] [0x27c18ff0@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] Error while opening at xrootd-cms-redir-01.cr.cnaf.infn.it:1094: [FATAL] Connection error [0B/0B][100%][==================================================][0B/s] Run: [FATAL] Connection error [2017-11-15 12:48:43.671128 +0200][Debug ][JobMgr ] Stopping the job manager... [2017-11-15 12:48:43.671530 +0200][Debug ][JobMgr ] Job manager stopped [2017-11-15 12:48:43.671567 +0200][Debug ][TaskMgr ] Stopping the task manager... [2017-11-15 12:48:43.671674 +0200][Debug ][TaskMgr ] Task manager stopped [2017-11-15 12:48:43.671692 +0200][Debug ][Poller ] Stopping the poller... [2017-11-15 12:48:43.671766 +0200][Debug ][TaskMgr ] Requesting unregistration of: "TickGeneratorTask for: xrootd-cms-redir-01.cr.cnaf.infn.it:1094" [2017-11-15 12:48:43.671789 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Closing the socket [2017-11-15 12:48:43.671810 +0200][Debug ][PostMaster ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0] Destroying stream [2017-11-15 12:48:43.671827 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Closing the socket In IPv4-only mode connection is possible: $ XRD_NETWORKSTACK=IPv4 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-15 12:38:23.513276 +0200][Debug ][Utility ] CopyProcess: 2 jobs to prepare [2017-11-15 12:38:23.513425 +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-15 12:38:23.513456 +0200][Debug ][Utility ] Monitor library name not set. No monitoring [2017-11-15 12:38:23.513520 +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-15 12:38:23.513588 +0200][Debug ][File ] [0x17e21ff0@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-15 12:38:23.513630 +0200][Debug ][Poller ] Available pollers: built-in [2017-11-15 12:38:23.513649 +0200][Debug ][Poller ] Attempting to create a poller according to preference: built-in [2017-11-15 12:38:23.513665 +0200][Debug ][Poller ] Creating poller: built-in [2017-11-15 12:38:23.513683 +0200][Debug ][Poller ] Creating and starting the built-in poller... [2017-11-15 12:38:23.513825 +0200][Debug ][Poller ] Using 1 poller threads [2017-11-15 12:38:23.513846 +0200][Debug ][TaskMgr ] Starting the task manager... [2017-11-15 12:38:23.513897 +0200][Debug ][TaskMgr ] Task manager started [2017-11-15 12:38:23.513915 +0200][Debug ][JobMgr ] Starting the job manager... [2017-11-15 12:38:23.514024 +0200][Debug ][JobMgr ] Job manager started, 3 workers [2017-11-15 12:38:23.514045 +0200][Debug ][TaskMgr ] Registering task: "FileTimer task" to be run at: [2017-11-15 12:38:23 +0200] [2017-11-15 12:38:23.514080 +0200][Debug ][PostMaster ] Creating new channel to: xrootd-cms-redir-01.cr.cnaf.infn.it:1094 1 stream(s) [2017-11-15 12:38:23.514110 +0200][Debug ][PostMaster ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0] Stream parameters: Network Stack: IPv4, Connection Window: 120, ConnectionRetry: 5, Stream Error Widnow: 1800 [2017-11-15 12:38:23.514236 +0200][Debug ][TaskMgr ] Registering task: "TickGeneratorTask for: xrootd-cms-redir-01.cr.cnaf.infn.it:1094" to be run at: [2017-11-15 12:38:38 +0200] [2017-11-15 12:38:23.515000 +0200][Debug ][PostMaster ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094] Found 1 address(es): [::ffff:131.154.216.11]:1094 [2017-11-15 12:38:23.515053 +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-15 12:38:23.515113 +0200][Debug ][Poller ] Adding socket 0x17e21d90 to the poller [2017-11-15 12:38:23.587247 +0200][Debug ][AsyncSock ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Async connection call returned [2017-11-15 12:38:23.587336 +0200][Debug ][XRootDTransport ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] Sending out the initial hand shake + kXR_protocol [2017-11-15 12:38:23.659449 +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-15 12:38:23.659520 +0200][Debug ][XRootDTransport ] [xrootd-cms-redir-01.cr.cnaf.infn.it:1094 #0.0] kXR_protocol successful (type: manager [], protocol version 310) Should xrdcp try IPv4 connection if IPv6 connection failed? Client version: xrootd-client-4.7.1-1.fc27.x86_64 -- 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/625 ######################################################################## 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