Support » Plugin: Jetpack - WP Security, Backup, Speed, & Growth » Jetpack 2.6 – 500 Internal Server Error with audio shortcode

  • Resolved dlong500

    (@dlong500)


    I’m getting 500 Internal Server Errors with any pages using audio shortcodes after upgrading to Jetpack 2.6 (just as in the thread here).

    I just spent several hours narrowing it down to Jetpack as the problem. There are no descriptive errors anywhere, and I don’t have access to the raw server logs. Even using Jetpack in developer mode and disabling every possible Jetpack feature doesn’t prevent the error, but with the Jetpack plugin entirely deactivated the error doesn’t occur. All other plugins don’t affect the issue (whether activated or not).

    <rant>
    This is obviously a very serious issue given that it makes pages unavailable. I’m starting to get tired of having popular plugins break the site when updating to new versions. Plugin updates are necessary to keep our sites secure, but now we have to do thorough checks every time any plugin is updated. I’ve had this type of thing happen a few times over the past couple months with several different plugins.
    </rant>

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Thanks for the feedback. I wasn’t able to reproduce on my end, unfortunately.

    As you may know, WordPress introduced its own audio shortcode in 3.7. If you run 3.7 or higher, Jetpack’s audio shortcode should not be loaded, and should be replaced by the core shortcode.

    Could you let me know what version of WordPress you’re running, and give me an example of a shortcode so I can give it a try and maybe understand the issue?

    Thanks!

    Thread Starter dlong500

    (@dlong500)

    We are using WordPress 3.7.1, but we’ve been using that for at least several weeks. The issue didn’t occur until sometime over the last few days after the Jetpack 2.6 upgrade.

    I just tested a page with literally only an audio shortcode and with Jetpack enabled it gives the 500 error but works fine with Jetpack disabled.

    Here is the shortcode I used:
    [audio src="https://dl.dropboxusercontent.com/u/154257140/Sermons/2013/Sermon_12012013.mp3"]

    If it is not a bug in Jetpack 2.6 then the only thing I can figure is that the plugin is corrupted. How do I completely uninstall and reinstall Jetpack including any database data?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I used that same shortcode on a test site of mine running 2.6 and 3.7.1, and couldn’t reproduce.

    Without knowing about the 500 error, and if you don’t have access to the error logs, I would indeed recommend that you reinstall Jetpack. You can do so by going to the Plugins menu, deactivating the plugin, deleting it, and then reinstall from scratch. As soon as you reactivate and reconnect to WordPress.com in the Jetpack menu, your data will be back.

    If that still doesn’t help, could you let me know if you use other plugins, or a specific theme that I could try to install to try to reproduce the issue on my end?
    If it’s a custom theme, could you try to switch to one of the default themes for a few minutes and let me know if it helps?

    Thread Starter dlong500

    (@dlong500)

    I’ve deleted the plugin and reinstalled, and it appears to be working so far, but I also still have almost every Jetpack component individually disabled, so I’ll test some more as I enable the components.

    Regarding the audio tag, are you saying that the new version of WordPress will override the Jetpack audio tag even if that component is enabled? Thanks.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Regarding the audio tag, are you saying that the new version of WordPress will override the Jetpack audio tag even if that component is enabled? Thanks.

    That’s correct. If you run WordPress 3.7 or higher, Jetpack’s audio shortcode is not loaded anymore (ref.).

    FYI, my son’s very basic site had an MP3 audio file from the media library on a page in WordPress v3.8 using the TwentyThirteen theme, using the [audio] shortcode, with no Jetpack installed, and it was working fine. I installed and activated Jetpack today to add it’s stats, and instantly, that audio page serves up a 500 Int Server Error. The other pages work fine. I deactivated the Short Code module in Jetpack, still errors. I deactivate Jetpack, error goes away.

    So, it’s still occuring, and it’s a minimal install.

    Thread Starter dlong500

    (@dlong500)

    Rob, I would try completely uninstalling Jetpack (making sure you have no remnants left) and then install from scratch again. My issue was resolved with this method. That being said, it does appear that the Jetpack plugin is “easily corrupted” and I’m hesitant to use it especially on critical sites until it’s been shown to remain stable (including upgrades) for quite some time.

    Yeah this was a fresh installation. I’ve deleted the folder too, and reinstalled, still happens. I’ve deactivated it now.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    @rob It might be useful if we could learn more about this 500 error. Could you check your server error logs around the time when the error happened? If you don’t know how to access your error logs, your hosting provider should be able to help.

    Thanks!

    Sure, I’d love to nail down the cause and help fix it.

    I’ve deleted the folder, then reinstalled Jetpack, and connected it to WordPress.com.

    The post with the post format of audio with an MP3 works fine still:
    http://nickmarlbroughauthor.com/i-dare/

    The page with an MP3 file embedded now no longer works:
    http://nickmarlbroughauthor.com/audio-test/

    Here’s the error log output

    root@vps1 logs]# tail /hsphere/local/home/wwwuse0/logs/nickmarlbroughauthor.com/error_log
    [Mon Jan 13 12:37:12 2014] [error] [client 192.80.3.219] (104)Connection reset by peer: FastCGI: comm with server “/hsphere/shared/php53/bin/php” aborted: read failed, referer: http://nickmarlbroughauthor.com/wp-admin/edit.php?post_type=page
    [Mon Jan 13 12:37:12 2014] [error] [client 192.80.3.219] FastCGI: incomplete headers (0 bytes) received from server “/hsphere/shared/php53/bin/php”, referer: http://nickmarlbroughauthor.com/wp-admin/edit.php?post_type=page

    If visited using an incognito window:

    [Mon Jan 13 12:40:26 2014] [error] [client 192.80.3.219] (104)Connection reset by peer: FastCGI: comm with server “/hsphere/shared/php53/bin/php” aborted: read failed
    [Mon Jan 13 12:40:26 2014] [error] [client 192.80.3.219] FastCGI: incomplete headers (0 bytes) received from server “/hsphere/shared/php53/bin/php”

    That’s all I see.

    If I deactivate Jetpack’s shortcodes completely, it still happens. If I deactivate the plugin, it works again.

    Ah, if I switch to FastCGI on PHP 5.2, it works ok. If using FastCGI on PHP v5.3, it errors out. It’s only a problem on v5.3.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Thanks for the extra details!

    What happens when you deactivate the Shortcodes module in Jetpack? Does the problem remain?

    Yes, I deactivated the Shortcodes module, and it still happened.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Could you deactivate other modules, one at a time, and elt me know if you find a conflict? You’ll want to start with the Sharing and the Publicize module.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Jetpack 2.6 – 500 Internal Server Error with audio shortcode’ is closed to new replies.