Activating the JetPack WordPress plugin when running on Heroku?

I get the following error when attempting to activate the JetPack plugin on my WordPress instance I have running on Heroku.

Jetpack could not contact WordPress.com: register_http_request_failed. This usually means something is incorrectly configured on your web host. Operation timed out after 15000 milliseconds with 0 bytes received

I found a claim that Heroku blocks this type of business-to-business traffic but couldn't find any documentation to support the claim.

Answers


So far I've found two ways to solve this:

1) The quick and dirty way (worked for me, but more a hack than a solution): Push your Web Dynos on Heroku to 2, connect JetPack, and then put the Dynos back to 1 or 0.

2) On the official Jetpack site: customize httpd.conf to allow for more concurrent connections:

http://jetpack.me/support/getting-started-with-jetpack/troubleshooting-tips/jetpack-heroku/

Hope that helps!


Have your host modify your php.ini function 'ini_get' get it's data from 'php.ini' so I set 'max_execution_time' there to 60


Need Your Help

Transposing and Untransposing a String in java

java string transpose

I have been working on two methods that will Transpose and Untranspose a String respectively. The solutions that I have come up with both work to the best of my knowledge. I just want to know if I ...

python - delete item from list of tuple by index

python list numpy tuples

I want to delete elements from list of tuple with given index values.