I have tested the patch, and it looks all good:

8-01-18 10:26:42.227838 +0000][Debug  ][PostMaster        ] Creating new channel to: hcc-marian.unl.edu:1094 1 stream(s)
[2018-01-18 10:26:42.227856 +0000][Debug  ][PostMaster        ] [hcc-marian.unl.edu:1094 #0] Stream parameters: Network Stack: IPAuto, Connection Window: 120, ConnectionRetry: 5, Stream Error Widnow: 1800
[2018-01-18 10:26:42.227938 +0000][Debug  ][TaskMgr           ] Registering task: "TickGeneratorTask for: hcc-marian.unl.edu:1094" to be run at: [2018-01-18 10:26:57 +0000]
[2018-01-18 10:26:42.227963 +0000][Dump   ][PostMaster        ] [hcc-marian.unl.edu:1094 #0] Sending message kXR_open (file: /tmp/test.1M, mode: 00, flags: kXR_open_read kXR_async kXR_retstat ) (0x21fd4c0) through substream 0 expecting answer at 0
[2018-01-18 10:26:42.228342 +0000][Debug  ][PostMaster        ] [hcc-marian.unl.edu:1094] Found 2 address(es): [2600:900:6:1301:5054:ff:fe1c:ccec]:1094, [::ffff:129.93.244.231]:1094
[2018-01-18 10:26:42.228367 +0000][Debug  ][AsyncSock         ] [hcc-marian.unl.edu:1094 #0.0] Attempting connection to [2600:900:6:1301:5054:ff:fe1c:ccec]:1094
[2018-01-18 10:26:42.228387 +0000][Error  ][AsyncSock         ] [hcc-marian.unl.edu:1094 #0.0] Unable to initiate the connection: [ERROR] Socket error: Network is unreachable
[2018-01-18 10:26:42.228399 +0000][Debug  ][AsyncSock         ] [hcc-marian.unl.edu:1094 #0.0] Attempting connection to [::ffff:129.93.244.231]:1094
[2018-01-18 10:26:42.228419 +0000][Debug  ][Poller            ] Adding socket 0x21fe140 to the poller
[2018-01-18 10:26:42.250404 +0000][Debug  ][AsyncSock         ] [hcc-marian.unl.edu:1094 #0.0] Async connection call returned
[2018-01-18 10:26:42.250455 +0000][Debug  ][XRootDTransport   ] [hcc-marian.unl.edu:1094 #0.0] Sending out the initial hand shake + kXR_protocol

I also added a new envar XRD_PREFERIPV4 (by default set to 0), if set the client will try first with IPv4.

I suppose I can close this one :-)


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":"@simonmichal in #644: I have tested the patch, and it looks all good:\r\n\r\n```\r\n8-01-18 10:26:42.227838 +0000][Debug ][PostMaster ] Creating new channel to: hcc-marian.unl.edu:1094 1 stream(s)\r\n[2018-01-18 10:26:42.227856 +0000][Debug ][PostMaster ] [hcc-marian.unl.edu:1094 #0] Stream parameters: Network Stack: IPAuto, Connection Window: 120, ConnectionRetry: 5, Stream Error Widnow: 1800\r\n[2018-01-18 10:26:42.227938 +0000][Debug ][TaskMgr ] Registering task: \"TickGeneratorTask for: hcc-marian.unl.edu:1094\" to be run at: [2018-01-18 10:26:57 +0000]\r\n[2018-01-18 10:26:42.227963 +0000][Dump ][PostMaster ] [hcc-marian.unl.edu:1094 #0] Sending message kXR_open (file: /tmp/test.1M, mode: 00, flags: kXR_open_read kXR_async kXR_retstat ) (0x21fd4c0) through substream 0 expecting answer at 0\r\n[2018-01-18 10:26:42.228342 +0000][Debug ][PostMaster ] [hcc-marian.unl.edu:1094] Found 2 address(es): [2600:900:6:1301:5054:ff:fe1c:ccec]:1094, [::ffff:129.93.244.231]:1094\r\n[2018-01-18 10:26:42.228367 +0000][Debug ][AsyncSock ] [hcc-marian.unl.edu:1094 #0.0] Attempting connection to [2600:900:6:1301:5054:ff:fe1c:ccec]:1094\r\n[2018-01-18 10:26:42.228387 +0000][Error ][AsyncSock ] [hcc-marian.unl.edu:1094 #0.0] Unable to initiate the connection: [ERROR] Socket error: Network is unreachable\r\n[2018-01-18 10:26:42.228399 +0000][Debug ][AsyncSock ] [hcc-marian.unl.edu:1094 #0.0] Attempting connection to [::ffff:129.93.244.231]:1094\r\n[2018-01-18 10:26:42.228419 +0000][Debug ][Poller ] Adding socket 0x21fe140 to the poller\r\n[2018-01-18 10:26:42.250404 +0000][Debug ][AsyncSock ] [hcc-marian.unl.edu:1094 #0.0] Async connection call returned\r\n[2018-01-18 10:26:42.250455 +0000][Debug ][XRootDTransport ] [hcc-marian.unl.edu:1094 #0.0] Sending out the initial hand shake + kXR_protocol\r\n```\r\n\r\nI also added a new envar XRD_PREFERIPV4 (by default set to 0), if set the client will try first with IPv4.\r\n\r\nI suppose I can close this one :-)"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/644#issuecomment-358605638"}}}

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