Too many redirects error with Jetpack

I’m trying to connect the WWW version of my site with the Jetpack but getting Too Many Redirect error. If the primary domain is set to top-level domain, all is well.