Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 651
jaxzin Avatar asked Nov 25 '22 05:11

jaxzin


1 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!

like image 88
Vincent van Leeuwen Avatar answered Nov 26 '22 20:11

Vincent van Leeuwen