Title: Error: &quot;Get_logs: Key not set.&quot;
Last modified: August 24, 2016

---

# Error: "Get_logs: Key not set."

 *  Resolved [voneff](https://wordpress.org/support/users/voneff/)
 * (@voneff)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-get_logs-key-not-set/)
 * Hi,
 * I’ve been trying to activiate Sucuri on an existing wordpress-install but I keep
   getting the following error message:
 * `Get_logs: Key not set.`
 * I’ve generated two different API keys with two different admin-emails for this
   domain and tried all other solutions I found online but I can’t get it to work.
 * WordPress is running as 4.1.1 and it’s installed in the subfolder “/site”. The
   info in the big blue box to generate the key has been correct.
 * Any help would be greatly appreciated!
 * Cheers
 * Alex
 * [https://wordpress.org/plugins/sucuri-scanner/](https://wordpress.org/plugins/sucuri-scanner/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [yorman](https://wordpress.org/support/users/yorman/)
 * (@yorman)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-get_logs-key-not-set/#post-6012784)
 * If by any chance you are hosting your site in a Windows server then I have to
   tell you that we discovered an incompatibility between the plugin and the Curl
   extension installed in most IIS servers. Somehow _(I have not investigated this
   much)_ the server is removing the very last parameter in every HTTP request executed
   by the site, which in this specific case is the _“k”_ parameter that has the 
   API key, so when the request reaches the Sucuri server where the API service 
   is hosted the key is not present and it considers the action as invalid and consequently
   reports that error message _“Key not set”_.
 * In the other hand, if you are hosting your site in a different system _(Unix,
   BSD, MacOS, other)_ then this may be a generalized bug and I will have to investigated
   with more patience.
 * Right now we have no patch for this issue, but one of my co-workers _(who knows
   more about Windows than me)_ is investigating and trying to fix it, if he succeeds
   we will release an update with the new code. I will leave this ticket as un-resolved
   until we find the solution.
 *  Thread Starter [voneff](https://wordpress.org/support/users/voneff/)
 * (@voneff)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-get_logs-key-not-set/#post-6012796)
 * Hello Yorman,
 * thank you very much for getting back to me so quickly!
 * I checked back: Sucuri itself puts out the info under “Site Info” that the OS
   is “Linux (32 Bit)”.
 * Therefore, Windows can’t be the issue.
 * Thank you for looking into this. If you need more info from let me know!
 * Cheers
 * Alex
 *  [yorman](https://wordpress.org/support/users/yorman/)
 * (@yorman)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-get_logs-key-not-set/#post-6012832)
 * I see, it may be a generalized error, maybe something specific to the server 
   environment. I will start collecting information in some web servers that I own
   to see if I am able to reproduce the issue. I will update this ticket when I 
   have more information.
 *  [yorman](https://wordpress.org/support/users/yorman/)
 * (@yorman)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-get_logs-key-not-set/#post-6013038)
 * I finished working on this with changeset 1165881 [1] where I added an option
   in the settings page to test the ability of the site to send HTTP requests with
   valid data and get the expected response. This can be used to check if the issue
   is with the plugin itself or the HTTP transport protocol configured in the server.
 * [1] [https://plugins.trac.wordpress.org/changeset/1165881](https://plugins.trac.wordpress.org/changeset/1165881)
 *  [wp_hela](https://wordpress.org/support/users/wp_hela/)
 * (@wp_hela)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-get_logs-key-not-set/#post-6013075)
 * Get_logs: Key not set.
 * Same problem here.
 * Newest Wordpres & newest plugin versions
 * It obviousely brings the error messages only on a certain hoster (Hosteurope.
   de)
 * Sucuri: (1452195870) Get_logs: Key not set.. if Display audit report disabled
 * Sucuri: (1452200217) Get_logs: Key not set..
    Sucuri: (1452200219) Get_logs: 
   Key not set.. if Display audit report enabled
 * Sucuri: (1452200367) Get_logs: Key not set.. if Display audit report disabled
   again
 * Sucuri: (1452200422) Get_logs: Key not set..
    Sucuri: (1452200425) Get_logs: 
   Key not set.. if Display audit report enabled again
 * So obviousely the bracketed numbers come from a sequential numbering …
 * Linux wp349 3.15.8-xenu-static-x86_64-he+1 #6 SMP Wed Aug 20 13:24:06 UTC 2014
   x86_64
 * PHP Version 5.3.29
 * “This can be used to check if the issue is with the plugin itself or the HTTP
   transport protocol configured in the server.”
 * I can’t get it how to “check” or use this check?!?
 * br
    Heinz
 *  [wp_hela](https://wordpress.org/support/users/wp_hela/)
 * (@wp_hela)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-get_logs-key-not-set/#post-6013076)
 * btw
 * I’ve already removed the original api key.
 * Recovering it failod as I never got an email with the key.
 * So I generated a new one

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Error: "Get_logs: Key not set."’ is closed to new replies.

 * ![](https://ps.w.org/sucuri-scanner/assets/icon-256x256.png?rev=2875755)
 * [Sucuri Security - Auditing, Malware Scanner and Security Hardening](https://wordpress.org/plugins/sucuri-scanner/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sucuri-scanner/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sucuri-scanner/)
 * [Active Topics](https://wordpress.org/support/plugin/sucuri-scanner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sucuri-scanner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sucuri-scanner/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [api key](https://wordpress.org/support/topic-tag/api-key/)

 * 6 replies
 * 3 participants
 * Last reply from: [wp_hela](https://wordpress.org/support/users/wp_hela/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/error-get_logs-key-not-set/#post-6013076)
 * Status: resolved