Domanda

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.

È stato utile?

Soluzione

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!

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top