WordPress.org

Support

Support » Plugins and Hacks » Wordbooker » [Resolved] 500 Internal Server Error for 2-3 minutes after FB Post

[Resolved] 500 Internal Server Error for 2-3 minutes after FB Post

  • So I just moved one of my blogs to a VPS and everything seems to be set up and working fine. However, I have noticed over the last couple days whenever I submit a post/page that has Wordbooker post on my personal and blog Facebook page it knocks out my server for 2-3 minutes about 15 seconds after I publish.

    It posts to both Facebook pages fine. And after a few minutes the server seems to come back but it is just odd. I hate the idea of it posting “look at the new post!” only to have it 500 on them for a few miniutes.

    Any ideas or suggestions? I love the plugin, I’m just trying to figure out this quirk.

    Here is the Wordbooker install info:
    Please provide the following information about your installation:

    Wordbooker: 2.1.32
    Wordbooker Code Base: 2.1.32 R00 – When a Warm Wind Blows Through the Grass
    Wordbooker ID: 254577506873
    Wordbooker Schema: 5.6
    WordPress: 3.5.1
    Table prefix: wp_
    PHP: 5.4.15
    PHP Memory Limit: 256M
    PHP Memory Usage (MB): 40
    JSON Encode: PHP
    JSON Decode: PHP
    Curl Status: Curl is available and can access Facebook – All is OK ( Response Time was : 0.279891967773 seconds )
    Curl Version: 7.24.0
    Wordbooker Server Access: Wordbooker Acccess OK
    JSON Version: 1.2.1
    SimpleXML library: 0.1 (provided by PHP)
    HTTP Output Character Encoding: No Multibyte support
    Internal PHP Character Encoding: No Multibyte support
    MySQL: 5.1.68-cll
    Database character_set_client : utf8
    Database character_set_connection : utf8
    Database character_set_database : latin1
    Database character_set_filesystem : binary
    Database character_set_results : utf8
    Database character_set_server : latin1
    Database character_set_system : utf8
    Database character_sets_dir : /usr/share/mysql/charsets/
    Database collation_connection : utf8_general_ci
    Database collation_database : latin1_swedish_ci
    Database collation_server : latin1_swedish_ci
    Server : Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
    Active Plugins :
    Ad Injection ( 1.2.0.16 )
    Akismet ( 2.5.7 )
    BackWPup ( 3.0.12 )
    Broken Link Checker ( 1.7.1 )
    CMS Tree Page View ( 1.2.12 )
    Easy Privacy Policy ( 1.02 )
    GD Star Rating ( 1.9.22 )
    Google Analytics for WordPress ( 4.3.3 )
    Google+ Plugin ( 1.3.3 )
    Mingle Forum ( 1.0.34 )
    NextGEN Gallery ( 1.9.12 )
    Nofollow Blogroll SEO ( 1.2 )
    NoFollow Link ( 1.0 )
    Nofollow Reciprocity ( 2.4 )
    Robots Meta ( 3.3.1 )
    Simple PW Ads ( 3.0.2 )
    Solve Media ( 1.1.4 )
    ELI’s Related Posts Footer Links and Widget ( 1.2.04.20 )
    W3 Total Cache ( 0.9.2.11 )
    WangGuard ( 1.5.4 )
    WordPress SEO ( 1.4.7 )
    WP Better Emails ( 0.2.5 )
    WP-Mail-SMTP ( 0.9.1 )
    WP Maintenance Mode ( 1.8.7 )
    WP-Optimize ( 0.9.4 )
    WP Report Error ( 1.6 )
    WP to Twitter ( 2.6.6 )

    Wordbooker Table Status :
    Table ‘wp_wordbooker_errorlogs’ is present and contains 0 rows
    Table ‘wp_wordbooker_postlogs’ is present and contains 8 rows
    Table ‘wp_wordbooker_userdata’ is present and contains 1 rows
    Table ‘wp_wordbooker_userstatus’ is present and contains 1 rows
    Table ‘wp_wordbooker_postcomments’ is present and contains 23 rows
    Table ‘wp_wordbooker_process_queue’ is present and contains 0 rows
    Table ‘wp_wordbooker_fb_friends’ is present and contains 0 rows
    Table ‘wp_wordbooker_fb_friend_lists’ is present and contains 0 rows

    Here is the apache log for the outage. (new to server admin so let me know if this is the wrong log)

    67.255.239.0 - - [30/May/2013:21:50:18 -0400] "GET //wp-content/gallery/kings-forest/ddmsrealm-ddo-the-kings-forest-dryad-mad.jpg HTTP/1.1" 200 1163192 "http://www.ddmsrealm.com/wp-content/uploads/imagerotator/imagerotator.swf" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"
    46.236.7.249 - - [30/May/2013:21:50:20 -0400] "GET /neverwinter-rpg-guides/classes/how-to-create-a-trickster-rogue/ HTTP/1.1" 200 122712 "-" "Mozilla/5.0 (compatible; TweetmemeBot/3.0; +http://tweetmeme.com/)"
    173.199.115.139 - - [30/May/2013:21:50:24 -0400] "GET /dungeons-and-dragons-quest-and-magic-item-database/~/dungeons-and-dragons-quest-and-magic-item-database/dungeons-and-dragons-online-magic-item-info?ddoRareItemID=2975&ddoQuestID=401&ddoSeriesID= HTTP/1.1" 500 - "-" "Mozilla/5.0 (compatible; AhrefsBot/4.0; +http://ahrefs.com/robot/)"
    66.220.152.115 - - [30/May/2013:21:50:26 -0400] "GET //wp-content/gallery/nw-rogue/thumbs/thumbs_ddmsrealm-neverwinter-rogue-daggers-out.jpg HTTP/1.1" 206 26743 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
    67.255.239.0 - - [30/May/2013:21:50:30 -0400] "GET //wp-content/gallery/kings-forest/ddmsrealm-ddo-the-kings-forest-dark-road.jpg HTTP/1.1" 200 853555 "http://www.ddmsrealm.com/wp-content/uploads/imagerotator/imagerotator.swf" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"
    71.196.214.228 - - [30/May/2013:21:50:40 -0400] "GET / HTTP/1.1" 500 - "http://www.ddmsrealm.com/neverwinter-rpg-guides/classes/how-to-create-a-trickster-rogue/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"
    69.171.234.113 - - [30/May/2013:21:50:41 -0400] "GET //wp-content/gallery/nw-rogue/thumbs/thumbs_ddmsrealm-neverwinter-rogue-daggers-out.jpg HTTP/1.1" 206 26743 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
    71.196.214.228 - - [30/May/2013:21:50:50 -0400] "GET / HTTP/1.1" 200 - "http://www.ddmsrealm.com/neverwinter-rpg-guides/classes/how-to-create-a-trickster-rogue/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"
    71.196.214.228 - - [30/May/2013:21:50:58 -0400] "GET / HTTP/1.1" 500 - "http://www.ddmsrealm.com/neverwinter-rpg-guides/classes/how-to-create-a-trickster-rogue/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"
    65.55.217.234 - - [30/May/2013:21:51:02 -0400] "GET /blog/wp-content/gallery/in-the-flesh/u9-in-the-flesh-art-2.jpg HTTP/1.1" 500 - "http://generatorwallpaper.blogspot.com/2011/07/disney-channel-games-2008-games-to-play.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534+ (KHTML, like Gecko) BingPreview/1.0b"
    66.249.74.118 - - [30/May/2013:21:51:03 -0400] "GET /the-druids-curse-quest-walkthrough/ HTTP/1.1" 200 27299 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
    65.55.217.207 - - [30/May/2013:21:51:05 -0400] "GET /blog/wp-content/gallery/in-the-flesh/u9-in-the-flesh-art-2.jpg HTTP/1.1" 500 - "http://generatorwallpaper.blogspot.com/2011/07/disney-channel-games-2008-games-to-play.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534+ (KHTML, like Gecko) BingPreview/1.0b"
    71.196.214.228 - - [30/May/2013:21:51:11 -0400] "GET / HTTP/1.1" 500 - "http://www.ddmsrealm.com/neverwinter-rpg-guides/classes/how-to-create-a-trickster-rogue/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"
    198.105.219.55 - - [30/May/2013:21:51:15 -0400] "HEAD / HTTP/1.1" 500 - "-" "checks.panopta.com"
    108.161.131.134 - - [30/May/2013:21:51:15 -0400] "HEAD / HTTP/1.1" 500 - "-" "checks.panopta.com"
    173.252.112.116 - - [30/May/2013:21:51:16 -0400] "GET //wp-content/gallery/nw-rogue/thumbs/thumbs_ddmsrealm-neverwinter-rogue-daggers-out.jpg HTTP/1.1" 206 26743 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
    64.134.146.239 - - [30/May/2013:21:51:20 -0400] "GET //wp-content/gallery/tor-korriban/ddmsrealm-korriban-beast-of-marka-ragnos.jpg HTTP/1.1" 200 1018023 "http://www.google.com/search?hl=en&redir_esc=&client=tablet-android-anydata&source=android-search-app&v=141400000&qsubts=1369963351404&q=korriban" "Mozilla/5.0 (Linux; Android 4.0.4; Next7P12-8G Build/IMM76I) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166  Safari/535.19"
    71.196.214.228 - - [30/May/2013:21:51:33 -0400] "GET / HTTP/1.1" 500 - "http://www.ddmsrealm.com/neverwinter-rpg-guides/classes/how-to-create-a-trickster-rogue/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"
    69.171.242.112 - - [30/May/2013:21:51:36 -0400] "GET //wp-content/gallery/nw-rogue/thumbs/thumbs_ddmsrealm-neverwinter-rogue-daggers-out.jpg HTTP/1.1" 206 26743 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
    69.171.224.113 - - [30/May/2013:21:51:37 -0400] "GET //wp-content/gallery/nw-gw-fighter/thumbs/thumbs_ddmsrealm-neverwinter-great-weapon-full-moon.jpg HTTP/1.1" 206 21187 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
    184.99.254.212 - - [30/May/2013:21:51:38 -0400] "GET /mb/forum.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (Linux; U; Android 4.2.2; en-us; Galaxy Nexus Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30"
    184.99.254.212 - - [30/May/2013:21:51:39 -0400] "GET /favicon.ico HTTP/1.1" 200 1150 "http://www.ddmsrealm.com/mb/forum.php" "Mozilla/5.0 (Linux; U; Android 4.2.2; en-us; Galaxy Nexus Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30"
    184.99.254.212 - - [30/May/2013:21:51:46 -0400] "GET /mb/forum.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (Linux; U; Android 4.2.2; en-us; Galaxy Nexus Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30"
    71.196.214.228 - - [30/May/2013:21:51:46 -0400] "GET / HTTP/1.1" 500 - "http://www.ddmsrealm.com/neverwinter-rpg-guides/classes/how-to-create-a-trickster-rogue/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"
    157.56.93.96 - - [30/May/2013:21:51:48 -0400] "GET /ddo/gear/IDetail.aspx?RareItemID=2532&SeriesID=43&QuestID=373 HTTP/1.1" 500 - "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"
    66.249.74.118 - - [30/May/2013:21:51:49 -0400] "GET /dungeons-and-dragons-database/item-info?ddoRareItemID=1251&ddoQuestID=348&ddoSeriesID= HTTP/1.1" 500 - "-" "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7 (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)"
    71.196.214.228 - - [30/May/2013:21:51:50 -0400] "POST /mb/ajax.php HTTP/1.1" 500 - "http://www.ddmsrealm.com/mb/showthread.php?3026-For-your-DDO-Forums-Patience-Free-XP-Elixir!" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"
    71.196.214.228 - - [30/May/2013:21:51:58 -0400] "GET / HTTP/1.1" 500 - "http://www.ddmsrealm.com/neverwinter-rpg-guides/classes/how-to-create-a-trickster-rogue/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"
    37.59.16.221 - - [30/May/2013:21:51:59 -0400] "HEAD /neverwinter-rpg-guides/classes/how-to-create-a-trickster-rogue/ HTTP/1.1" 200 - "-" "Mozilla/5.0 (compatible; PaperLiBot/2.1; http://support.paper.li/entries/20023257-what-is-paper-li)"
    173.199.115.139 - - [30/May/2013:21:51:59 -0400] "GET /dungeons-and-dragons-quest-and-magic-item-database/dungeons-and-dragons-online-magic-item-info?ddoRareItemID=767&ddoQuestID=222&ddoSeriesID HTTP/1.1" 500 - "-" "Mozilla/5.0 (compatible; AhrefsBot/4.0; +http://ahrefs.com/robot/)"
    37.59.16.158 - - [30/May/2013:21:52:00 -0400] "HEAD /neverwinter-rpg-guides/classes/how-to-create-a-great-weapon-fighter/ HTTP/1.1" 200 - "-" "Mozilla/5.0 (compatible; PaperLiBot/2.1; http://support.paper.li/entries/20023257-what-is-paper-li)"
    204.236.210.206 - - [30/May/2013:21:51:59 -0400] "GET /wp-content/gallery/lord-of-stone/u10-lord-of-stone-lava-room.jpg HTTP/1.1" 200 980454 "-" "Python-urllib/2.7"
    71.196.214.228 - - [30/May/2013:21:52:02 -0400] "GET / HTTP/1.1" 500 - "http://www.ddmsrealm.com/neverwinter-rpg-guides/classes/how-to-create-a-trickster-rogue/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"
    71.196.214.228 - - [30/May/2013:21:52:05 -0400] "GET / HTTP/1.1" 500 - "http://www.ddmsrealm.com/neverwinter-rpg-guides/classes/how-to-create-a-trickster-rogue/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"
    71.196.214.228 - - [30/May/2013:21:52:12 -0400] "GET / HTTP/1.1" 500 - "http://www.ddmsrealm.com/neverwinter-rpg-guides/classes/how-to-create-a-trickster-rogue/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"
    67.255.239.0 - - [30/May/2013:21:52:14 -0400] "GET //wp-content/gallery/kings-forest/ddmsrealm-ddo-the-kings-forest-choose-loot.jpg HTTP/1.1" 200 1688039 "http://www.ddmsrealm.com/wp-content/uploads/imagerotator/imagerotator.swf" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"

    http://wordpress.org/extend/plugins/wordbooker/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Steve

    @steveatty

    So when you click on the publish post button when does the 500 happen? Is there a pause and then it happens or does it happen later.

    Wordbooker kicks in and has to push stuff up to Facebook so it could be that if you have a low timeout on the max execution time then it might cause problems if the post contains a lot of data – especially images

    Can you set the post diagnostics up to Show Everything and then post the Wordbooker diagnostic messages for a post where this happens? If you’ve not cleared the logs then all the messages from the last post should be there.

    Sorry for the late reply on this. I finally got around to setting the debug messages up and now I can not get the error.

    What was happening is that I would publish and return to the edit page saying it published fine. Then clicking the view page now button got me the error. So a slight delay. Then anything I tried to do on the site gave me a 500 error. In a few minutes things were back up and happy.

    It was a little disheartening to publish to FB “hey come see this article” and have the website go down for a few minutes.

    Anyway it is working now so I can’t get you the errors. I am using the debug version you posted in another thread recently about not supporting multibit. Maybe something in there has helped.

    Plugin Author Steve

    @steveatty

    The multibyte fix was related to a bug in the cron code – not anything to do with publish.

    I suspect that it was something else that was causing the webserver process to error out. No-one else ever reported this so its just about impossible to say what was causing it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] 500 Internal Server Error for 2-3 minutes after FB Post’ is closed to new replies.
Skip to toolbar