Title: Random 500 errors on Chrome
Last modified: August 31, 2016

---

# Random 500 errors on Chrome

 *  [MarioKnight](https://wordpress.org/support/users/marioknight/)
 * (@marioknight)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/random-500-errors-on-chrome/)
 * Over the past couple of weeks, I have been getting reports of different people
   getting random 500 errors on a couple of sites. At the time, I believe it to 
   just be Chrome, and even put in a ticket at [https://bugs.chromium.org/p/chromium/issues/detail?id=607572](https://bugs.chromium.org/p/chromium/issues/detail?id=607572)
   about it. In attempts to troubleshoot what I could on my end, I have been able
   to determine that there is something within iThemes Security causing this.
 * I have kept the non-working tab open to properly test. When deactivating iThemes
   on a different machine and refreshing the non-working tab on my laptop, the page
   loads with no issues. Reactivating the plugin and refreshing on my laptop, the
   500 error returns. I have had colleagues and clients come to me before I got 
   this confirmed, and I see the common links between the sites are that they run
   up to date WordPress installs with up to date active iThemes Security and active
   Comet Cache Pro. After doing the above, I also deactivated Comet Cache Pro, got
   the site back, but on re-activation, the site did not return to 500.
 * In searching for any sort of potential previous reports of the issue, I came 
   across this thread – [https://wordpress.org/support/topic/ithemes-security-throwing-semi-random-internal-server-500-error?replies=13](https://wordpress.org/support/topic/ithemes-security-throwing-semi-random-internal-server-500-error?replies=13)–
   with no real resolution, despite a fair amount of research and information. Continuing
   on from that thread, these sites have not had the file change detection function
   active at any point. The .htaccess files of all contain the stock WordPress code,
   the iThemes add-ons, and some basic redirect rules.
 * For server logs, the apache error logs for the reported sites only show blocks
   as such:
 *     ```
       [Tue May 03 13:04:32 2016] [error] [client 162.158.126.23] Premature end of script headers: index.php
       [Tue May 03 13:13:19 2016] [error] [client 162.158.126.23] Premature end of script headers: index.php
       [Tue May 03 13:13:49 2016] [error] [client 162.158.126.23] Premature end of script headers: index.php
       [Tue May 03 13:14:04 2016] [error] [client 162.158.126.23] Premature end of script headers: index.php
       ```
   
 * The access logs also don’t really show detail:
 *     ```
       162.158.126.23 - - [03/May/2016:13:13:18 -0400] "GET / HTTP/1.1" 500 632
       162.158.126.23 - - [03/May/2016:13:13:47 -0400] "GET / HTTP/1.1" 500 632
       ```
   
 * I’m not sure what else I can really check at this point. The logs sadly did not
   give much information. It seems that something is happening with the combination
   of the two plugins but I don’t really have the know-how to put together the final
   pieces in this. Any assistance would be greatly appreciated (though now that 
   my confirmed unworking tab is working, I don’t know how well I can test), and
   if there’s anything i can do on my end to help further, please let me know.
 * [https://wordpress.org/plugins/better-wp-security/](https://wordpress.org/plugins/better-wp-security/)

Viewing 1 replies (of 1 total)

 *  [toulouse](https://wordpress.org/support/users/toulouse/)
 * (@toulouse)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/random-500-errors-on-chrome/#post-7345846)
 * Hey,
 * [This post](https://wordpress.org/support/topic/premature-end-of-script-headers-indexphp?replies=20)
   also had a `Premature end of script headers: index.php` error. There it was a
   problem with the setup of the server, the memory limit was reached. Could this
   be the problem?
 * [This post](http://stackoverflow.com/questions/4336757/500-server-error-premature-end-of-script-headers)
   also had a problem with the setup of the server, but with the timeout set.
 * Are you able to debug the server further, enable a higher level of logging?
 * Disclaimer: I’m not an expert, just saw your post and wanted to help 🙂

Viewing 1 replies (of 1 total)

The topic ‘Random 500 errors on Chrome’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=2980272)
 * [Solid Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [toulouse](https://wordpress.org/support/users/toulouse/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/random-500-errors-on-chrome/#post-7345846)
 * Status: not resolved