Another OS X upgrade – another Jetpack conflict
-
Well, it’s happened again. After upgrading to OS X 10.11 El Capitan/Server 5.0.4, all communication with Jetpack is terminated. Thanks again, Apple. Really.
WHAT I DID:
Wiped my development/staging (and eventually production) servers to bare metal and installed OS X 10.11 El Capitan/Server 5.04
Reinstalled Homebrew PHP 5.6.14
Reinstalled Homebrew MySQL 5.6.27
Reinstalled my WordPress instance(s) using BackupBuddyWHAT I EXPECTED:
Everything to work as it did under OS X 10.10/x Yosemite/Server 4.x
MoohaahaaaWHAT HAPPENED:
I noticed that Jetpack wasn’t adding related items to new WordPress Posts
WP-Admin > Jetpack > Debug reports the dreaded “It looks like your site can not communicate properly with Jetpack.”
SELF:
Array
(
[headers] => Array
(
[server] => nginx
[date] => Mon, 12 Oct 2015 00:12:08 GMT
[content-type] => text/plain;charset=utf-8
[connection] => close
[x-pingback] => https://jetpack.wordpress.com/xmlrpc.php
[expires] => Wed, 11 Jan 1984 05:00:00 GMT
[cache-control] => no-cache, must-revalidate, max-age=60
[pragma] => no-cache
[x-hacker] => Jetpack Test
[x-ac] => 3.ord _dca
)[body] => {“error”:”Communication error”,”error_description”:”We were unable to make an XML-RPC request to your website. Please make sure that XML-RPC is turned on and that Jetpack is installed, activated and connected with your WordPress.com account. If the error persists, try disconnecting and connecting Jetpack again.”}
[response] => Array
(
[code] => 400
[message] => Bad Request
)[cookies] => Array
(
)[filename] =>
)ASSUMPTIONS/GUESSES:
I'm almost certain that this isn't related to the OS X 10.10.x/Server 4.x problem of Apple deciding to protect us from ourselves and abandoning SSL in favor of OpenTransport (that's why I'm using Homebrew's PHP compiled with SSL support).I suspect this is somehow related to Apple's Server 5.04's mysterious new "feature" of configuring Apache to redirect port 80 to port 34580 and to redirect port 443 to port 34543:
jekyll:~ mfraase$ nmap -p 34580,34543 localhost
Starting Nmap 6.47 ( https://nmap.org ) at 2015-10-11 19:25 CDT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00021s latency).
PORT STATE SERVICE
34543/tcp open unknown
34580/tcp open unknownNmap done: 1 IP address (1 host up) scanned in 0.08 seconds
I was able to workaround this problem with phpMyAdmin redirecting to port 34580 simply by setting the PmaAbsoluteUri directive with a trailing slash for the phpMyAdmin subdirectory in the config.inc.php file:
$cfg['PmaAbsoluteUri'] = 'https://server.doman.com/phpmyadmin/';
Any ideas would be most appreciated.
- The topic ‘Another OS X upgrade – another Jetpack conflict’ is closed to new replies.