Print

Print


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 or view it on GitHub:
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