Jetpack is a convenient wordpress plugin that restore WordPress.com’s stats view to your self-hosted workpress site. It’s my most-missed WordPress.com feature, so I really wanted to get it back.
When you install Jetpack, it asks you to authorize at wordpress.com to enable stats collection.
“name lookup timed out” is a frustrating error that means authorization isn’t working. The full error looks like this:
Jetpack could not contact WordPress.com:
token_http_request_failed. This usually means something is incorrectly configured on your web host.
name lookup timed out
To fix it, use the Core Control plugin to disable cURL as an HTTP transport.
Install Core Control in the usual way.
Go to Tools, Core Control, tick HTTP Access Module 1.0 and click Save Module Choices.
You’ll see a new “External HTTP Access” link at the top of the page. Click it to go to an HTTP debugging page.
Click “Disable Transport” next to cURL. The cURL row should turn orange.
Try again to authorize Jetpack. It should work now!