• Resolved lmashton

    (@lmashton)


    This is on http://lmashton.com. Also, I have other wordpress blogs on the same server and they’re not experiencing jetpack problems.

    I started having problems with Jetpack about a week ago when I tried changing the facebook sharing setting. I then disconnected my wordpress.com account today and tried to reconnect it several times. It failed, giving me the 32700 error message saying something like something just went wrong that wasn’t supposed to.

    I then deactivated jetpack and deleted it, then tried installing it again through the plugin install manager. That failed. I logged in through ftp and removed the existing jetpack folder in the plugins folder, then uploaded a newly-downloaded and unzipped jetpack, latest version of course. And I activated that. I got the following error message:

    ——————-
    Your Jetpack has a glitch. Something went wrong that’s never supposed to happen. Guess you’re just lucky: xml_rpc-32700
    Try connecting again.

    Error Details: The Jetpack server could not communicate with your site’s XML-RPC URL. Please check to make sure http://lmashton.com/xmlrpc.php is working properly. It should show ‘XML‑RPC server accepts POST requests only.’ on a line by itself when viewed in a browser and should not have any blank links or extra output anywhere.
    ——————-

    I then deactivated all plugins and reactivated jetpack and tried connecting again. Same error message. I then changed the theme to twenty twelve and tried again. Same error message.

    So I’m sitting with only jetpack installed, no other plugins, and using 2012, and I still cannot connect to wordpress.com.

    When I type http://lmashton.com/xmlrpc.php into the browser, it comes back with the correct message, indicating xmlrpc theoretically works. When I go through the debugger at http://jetpack.me/support/debug/, it tells me “XML-RPC is not responding correctly ( 200 )”. When I run MarsEdit (a Mac app for blogging), it has no problem connecting, which seems to indicate that standard xmlrpc is working, but perhaps jetpack does something different? By the way, I ran MarsEdit for the first time *after* I did everything else I listed above.

    What now? Do I delete everything, install wordpress from scratch, and upload my database? Or is there something else I can do that will fix this?

    http://wordpress.org/plugins/jetpack/

Viewing 3 replies - 1 through 3 (of 3 total)
  • It looks like there is an issue with wp-config.php, plugin, or a theme on your site.

    If you go to http://lmashton.com/xmlrpc.php , you’ll see the message saying “XML-RPC server accepts POST requests only.” You are right, that’s the correct message.

    The problem is that there is extra whitespace above the message. This extra space is annoyingly important. It suggests that some plugin, theme, or wp-config.php file in your WordPress has extra “whitespace” (new lines, spaces, tabs, …) before the first “<?php” in the file. This problem is another symptom of a more common problem: the “Headers already sent” problem: http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    Can you check your wp-config.php, theme files, and plugins for any whitespace that might be causing the issue?

    Thank you!

    Thread Starter lmashton

    (@lmashton)

    The problem is now resolved. Here’s what happened for others who come after me.

    This problem was *not* caused by any themes or plugins. I had deactivated ALL plugins except Jetpack and changed the theme to twentytwelve and twentyten (I tried both) and Jetpack still did not connect to wordpress.com. That’s the state of my wordpress installation when I ran all those tests above.

    As Karen pointed out, there was whitespace before the “XML-RPC server accepts POST requests only.” when I ran http://lmashton.com/xmlrpc.php.

    So I went through the article Karen linked to http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    That article said to:
    Check that the very first characters are <?php
    Check that the very last characters are ?>

    So there should be no spaces, tabs, or empty lines before or after those characters. I had three empty lines at the very end of the file after the last ?>. I deleted those empty lines and tried connecting Jetpack again to wordpress.com (with my theme and plugins activated). It now works.

    Karen, thank you for linking to that article. I spent quite a bit of time yesterday hunting for information on how to resolve this issue and that article never showed up in any results nor was the space issue in the file hinted at in anything I read.

    Thanks for following up and I’m glad to hear the issue is resolved 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Jetpack doesn't connect to wordpress.com’ is closed to new replies.