You are not logged in.
Pages: 1
Could someone explain the following behavior?
curl -6 -vvvvv aur.archlinux.org
* Rebuilt URL to: aur.archlinux.org/
* Trying 2a01:4f8:160:3033::2...
* TCP_NODELAY set
Nothing is happening for long time. But
ping 2a01:4f8:160:3033::2
PING 2a01:4f8:160:3033::2(2a01:4f8:160:3033::2) 56 data bytes
64 bytes from 2a01:4f8:160:3033::2: icmp_seq=1 ttl=53 time=35.4 ms
64 bytes from 2a01:4f8:160:3033::2: icmp_seq=2 ttl=53 time=35.5 ms
64 bytes from 2a01:4f8:160:3033::2: icmp_seq=3 ttl=53 time=32.0 ms
Though
curl -4 -vvvvv aur.archlinux.org
* Rebuilt URL to: aur.archlinux.org/
* Trying 5.9.250.164...
* TCP_NODELAY set
* Connected to aur.archlinux.org (5.9.250.164) port 80 (#0)
Last edited by ifif14 (2018-02-06 19:16:57)
Offline
Works fine here.
chris@gq ~ % curl -6 -vvvvv aur.archlinux.org
* Rebuilt URL to: aur.archlinux.org/
* Trying 2a01:4f8:160:3033::2...
* TCP_NODELAY set
* Connected to aur.archlinux.org (2a01:4f8:160:3033::2) port 80 (#0)
> GET / HTTP/1.1
> Host: aur.archlinux.org
> User-Agent: curl/7.58.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Server: nginx/1.12.2
< Date: Wed, 07 Feb 2018 08:23:12 GMT
< Content-Type: text/html
< Content-Length: 185
< Connection: keep-alive
< Location: https://aur.archlinux.org/
<
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.12.2</center>
</body>
</html>
* Connection #0 to host aur.archlinux.org left intact
Offline
Thanks severach.
Maybe somebody can suggest another way of debugging ipv6 in curl? It seems that it's the only program not working with ipv6. Very unlikely is the fact that a lot of other programs rely on this, like php.
Offline
You could use --trace(-ascii) to get a more verbose debug output:
output to stdout:
$ curl -6 --trace-ascii - aur.archlinux.org
output to file:
$ curl -6 --trace-ascii /tmp/curltrace aur.archlinux.org
If you have a custom config file (e.g. ~/.curlrc), try without or test different values when invoked:
no config
$ curl -q -6 --trace-ascii - aur.archlinux.org
take config values from stdin:
$ echo "trace-ascii -" | curl -K - -6 aur.archlinux.org
no config, take config values from stdin:
$ echo "trace-ascii -" | curl -q -K - -6 aur.archlinux.org
Do you use any proxy? Try without:
using config:
$ echo "trace-ascii -\nnoproxy aur.archlinux.org" | curl -K - -6 aur.archlinux.org
using environment vars:
$ echo "trace-ascii -" | NO_PROXY=aur.archlinux.org curl -K - -6 aur.archlinux.org
Offline
Pages: 1