I have a hang that I am attempting to resolve.


1)
Using libcurl without a proxy, the verbose options shows "Trying ip address" and nothing else. If restricted to IPv4 it shows only one line. If IPv6 is permitted, I get a first response that network
is not reachable and then a second response "Trying ..." which hangs.

For example for trying bbc.co.uk with IPv4 yields   "*   Trying 151.101.64.81:PORT..."
where PORT is 80 or 443, depending on http:// or https://.

With IPv6 enabled I get, for example,

*   Trying 2a04:4e42:200::81:80...
* connect to 2a04:4e42:200::81 port 80 failed: Network unreachable
*   Trying 2a04:4e42::81:80...


2)
If I make libcurl use TOR as a socks5h proxy, I get through:

* SOCKS5 connect to bbc.co.uk:443 (remotely resolved)
* SOCKS5 request granted.
* Connected to 127.0.0.1 (127.0.0.1) port 9150 (#0)


3)
If I use curl.exe with no proxy, I do get through:

>curl -v bbc.co.uk
*   Trying 2a04:4e42:600::81:80...
* connect to 2a04:4e42:600::81 port 80 failed: Network unreachable
*   Trying 2a04:4e42::81:80...
* connect to 2a04:4e42::81 port 80 failed: Network unreachable
*   Trying 2a04:4e42:400::81:80...
* connect to 2a04:4e42:400::81 port 80 failed: Network unreachable
*   Trying 2a04:4e42:200::81:80...
* connect to 2a04:4e42:200::81 port 80 failed: Network unreachable
*   Trying 151.101.64.81:80...
* Connected to bbc.co.uk (151.101.64.81) port 80 (#0)
> GET / HTTP/1.1
> Host: bbc.co.uk

> User-Agent: curl/7.71.0-DEV


4)
The hang appears to not be firewall related, since it occurs even
with the firewall switched off (and the application using libcurl
is present in the firewall whitelist.)


Any suggestions for how I can diagonse a bit further, or guesses
about what may be going on?

With thanks in advance,

-- MS


-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to