WordPress IPv6 Issues

In recent days I noticed that my site, and other WordPress sites were failing to properly load. I've debugged the issue, and found that recent versions of Jetpack require this javascript file on every page load. This file is served from a WordPress content distribution network run by Edgecast. While Edgecast claim to support IPv6, in reality, they don't.

As shown below, they have major issues with MTU size on their IPv6 network. This is a major inconvenience and affects IPv6 users regardless of whether the site they are visiting is IPv6 enabled or not. In addition, it affects other Automattic sites hosted on Edgewall such as Gravatar and Akismet.

Ping6 works ok:

jmccrohan@lambda:~$ ping6 s0.wp.com
PING s0.wp.com(2606:2800:234:1922:15a7:17bf:bb7:f09) 56 data bytes
64 bytes from 2606:2800:234:1922:15a7:17bf:bb7:f09: icmp_seq=1 ttl=55 time=34.9 ms
64 bytes from 2606:2800:234:1922:15a7:17bf:bb7:f09: icmp_seq=2 ttl=55 time=21.6 ms
64 bytes from 2606:2800:234:1922:15a7:17bf:bb7:f09: icmp_seq=3 ttl=55 time=25.9 ms
64 bytes from 2606:2800:234:1922:15a7:17bf:bb7:f09: icmp_seq=4 ttl=55 time=21.7 ms
^C
--- s0.wp.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 21.600/26.050/34.968/5.438 ms

Wget over IPv6 fails:

jmccrohan@lambda:~$ wget -6 http://s0.wp.com/wp-content/js/devicepx-jetpack.js
--2012-11-12 01:05:08--  http://s0.wp.com/wp-content/js/devicepx-jetpack.js
Resolving s0.wp.com (s0.wp.com)... 2606:2800:234:1922:15a7:17bf:bb7:f09
Connecting to s0.wp.com (s0.wp.com)|2606:2800:234:1922:15a7:17bf:bb7:f09|:80... connected.
HTTP request sent, awaiting response... 

There is, however, a httpd listening on tcp6/80:

jmccrohan@lambda:~$ telnet s0.wp.com 80
Trying 2606:2800:234:1922:15a7:17bf:bb7:f09...
Connected to cs82.wac.edgecastcdn.net.
Escape character is '^]'.
GET /index.html HTTP/1.1
host: s0.wp.com

^]quit

telnet> quit
Connection closed.

This leads me to believe there is a MTU issue somewhere. Thankfully I'm not the only one who is experiencing this. It has been discussed here and here too. If you are having issues, please get in touch via the comments below. I'd like to compare traceroutes.

EDIT: Edgecast have gotten back to me and are investigating the issue.

EDIT 2: Edgecast have followed up via email to confirm that they have fixed the issue. Thanks Edgecast. :)

2 thoughts on “WordPress IPv6 Issues

  1. Great work, but I wonder if the problem has been resolved, I am struggling with WP site with Jetpack installed (2.9) and s0.wp.com is taking forever. I might dispense with Jetpack altogether if this continues! cheers

    • Hi Andrew,

      I believe so. I am not having any issues with s0.wp.com over IPv6 (see below).

      Cheers,
      Jon


      jmccrohan@lambda:~$ wget -6 http://s0.wp.com/i/noticons/noticons.css?ver=2.9.1-201410 -O - > /dev/null
      --2014-03-07 00:55:27-- http://s0.wp.com/i/noticons/noticons.css?ver=2.9.1-201410
      Resolving s0.wp.com (s0.wp.com)... 2606:2800:234:1922:15a7:17bf:bb7:f09
      Connecting to s0.wp.com (s0.wp.com)|2606:2800:234:1922:15a7:17bf:bb7:f09|:80... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 37448 (37K) [text/css]
      Saving to: ‘STDOUT’

      100%[===================================================================>] 37,448 --.-K/s in 0.06s

      2014-03-07 00:55:27 (615 KB/s) - written to stdout [37448/37448]


      jmccrohan@lambda:~$ wget -6 http://s0.wp.com/wp-content/js/devicepx-jetpack.js?ver=201410 -O - > /dev/null
      --2014-03-07 00:55:37-- http://s0.wp.com/wp-content/js/devicepx-jetpack.js?ver=201410
      Resolving s0.wp.com (s0.wp.com)... 2606:2800:234:1922:15a7:17bf:bb7:f09
      Connecting to s0.wp.com (s0.wp.com)|2606:2800:234:1922:15a7:17bf:bb7:f09|:80... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 9168 (9.0K) [application/x-javascript]
      Saving to: ‘STDOUT’

      100%[===================================================================>] 9,168 --.-K/s in 0.002s

      2014-03-07 00:55:37 (4.02 MB/s) - written to stdout [9168/9168]


      jmccrohan@lambda:~$ wget -6 http://s0.wp.com/wp-content/mu-plugins/notes/admin-bar-v2.css?ver=2.9.1-201410 -O - > /dev/null
      --2014-03-07 00:56:17-- http://s0.wp.com/wp-content/mu-plugins/notes/admin-bar-v2.css?ver=2.9.1-201410
      Resolving s0.wp.com (s0.wp.com)... 2606:2800:234:1922:15a7:17bf:bb7:f09
      Connecting to s0.wp.com (s0.wp.com)|2606:2800:234:1922:15a7:17bf:bb7:f09|:80... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 4726 (4.6K) [text/css]
      Saving to: ‘STDOUT’

      100%[===================================================================>] 4,726 --.-K/s in 0.001s

      2014-03-07 00:56:18 (4.80 MB/s) - written to stdout [4726/4726]

Leave a Reply