Comment 19 for bug 1586528

niedzielski (niedzielski) wrote :

I've had this issue constantly since upgrading to Ubuntu v17.04 (not a VM). It was unusably bad. Fortunately, disabling IPv6 has been a consistently successful workaround for me:

1 Add the following /etc/sysctl.conf:

  net.ipv6.conf.all.disable_ipv6 = 1
  net.ipv6.conf.default.disable_ipv6 = 1
  net.ipv6.conf.lo.disable_ipv6 = 1

2 Run `sudo sysctl -p` after rebooting, cycling Wi-Fi, or changing networks.

I feel silly writing this because I'm certain there's a better fix but it looks like other folks have tried similar workarounds.