{"id":1954309,"date":"2022-10-03T14:51:24","date_gmt":"2022-10-03T18:51:24","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/?post_type=post&#038;p=1954309"},"modified":"2024-07-04T12:32:10","modified_gmt":"2024-07-04T16:32:10","slug":"key-validation-server-is-not-available","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/key-validation-server-is-not-available\/","title":{"rendered":"Solved: Key Validation Server is not Available"},"content":{"rendered":"\n<p>On occasion, when you enter your license key under the <strong>Events &gt; Settings &gt; Licenses<\/strong> tab for one of our plugins, you might get a notification that says:<\/p>\n\n\n\n<p>&#8220;Sorry, key validation server is not available.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/07\/image.png\" alt=\"\" class=\"wp-image-1955535\"\/><\/figure>\n\n\n\n<p>This usually happens when something is blocking the communication between your site and our license key validation server. In most cases, this could be caused by a security plugin, a firewall, or a security measure set up by your hosting provider.<\/p>\n\n\n\n<p>If you have a security plugin installed, start by temporarily deactivating it for a short time while you re-check the validation. If the validation succeeds, then you might need to fine-tune the settings of the security plugin to allow communication with our server.<\/p>\n\n\n\n<p>In case you are behind a firewall, try adding the following IP address to the firewall whitelist and see if that helps with the validation. This might be set up by your host, so you can reach out to them for assistance.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; gutter: false; title: ; quick-code: false; notranslate\" title=\"\">\nLicense Key Validation Server: 192.190.220.23\n<\/pre><\/div>\n\n\n<p>If that doesn&#8217;t work, you can try adding <code>*.theeventscalendar.com<\/code> to the WP_ACCESSIBLE_HOSTS constant, along with WP_HTTP_BLOCK_EXTERNAL (true).<\/p>\n\n\n\n<p>To do that add the following code to your wp-config.php file. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'WP_ACCESSIBLE_HOSTS', '*.theeventscalendar.com' );\ndefine( 'WP_HTTP_BLOCK_EXTERNAL', true );<\/code><\/pre>\n\n\n\n<p>If, after following these steps, you are still receiving the &#8220;Sorry, key validation server is not available.&#8221; message, then <a href=\"https:\/\/theeventscalendar.com\/support\/\" target=\"_blank\" rel=\"noreferrer noopener\">our support team<\/a> will be happy to assist you further. Please, go through the following steps to gather the information that helps us further:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Install and activate the\u00a0<a href=\"https:\/\/wordpress.org\/plugins\/log-http-requests\/\" target=\"_blank\" rel=\"noreferrer noopener\">Log HTTP Requests<\/a>\u00a0plugin.<\/li>\n\n\n\n<li>Go to the <em>Events > Settings > Licenses<\/em> page.<\/li>\n\n\n\n<li>Enter a valid license key and exit\/click away from the field so the validation request is sent.<\/li>\n\n\n\n<li>Wait for the response.<\/li>\n\n\n\n<li>Go to <em>Tools > Log HTTP Requests<\/em>. There should be a request to <code>https:\/\/pue.theeventscalendar.com\/api\/plugins\/v2\/license\/validate<\/code> (See screenshot below.) Click on it to open the details.<\/li>\n\n\n\n<li>Copy-paste the request and the response, and share it with our team.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-2 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/10\/http-requests.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1721\" height=\"233\" data-id=\"1961404\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/10\/http-requests.png\" alt=\"Screenshot of the WordPress admin dashboard showing a list of HTTP requests sent from a website\" class=\"wp-image-1961404\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/10\/http-requests.png 1721w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/10\/http-requests-300x41.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/10\/http-requests-1024x139.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/10\/http-requests-768x104.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/10\/http-requests-1536x208.png 1536w\" sizes=\"auto, (max-width: 1721px) 100vw, 1721px\" \/><\/a><figcaption class=\"wp-element-caption\">A list of HTTP requests sent from a website.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/10\/http-request-and-response.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1656\" height=\"651\" data-id=\"1961405\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/10\/http-request-and-response.jpg\" alt=\"Screenshot of an HTTP request header and response.\" class=\"wp-image-1961405\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/10\/http-request-and-response.jpg 1656w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/10\/http-request-and-response-300x118.jpg 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/10\/http-request-and-response-1024x403.jpg 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/10\/http-request-and-response-768x302.jpg 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/10\/http-request-and-response-1536x604.jpg 1536w\" sizes=\"auto, (max-width: 1656px) 100vw, 1656px\" \/><\/a><figcaption class=\"wp-element-caption\">The HTTP request header and the response.<\/figcaption><\/figure>\n<\/figure>\n","protected":false},"excerpt":{"rendered":"<p>On occasion, when you enter your license key under the Events &gt; Settings &gt; Licenses tab for one of our plugins, you might get a notification that says: &#8220;Sorry, key validation server is not available.&#8221; This usually happens when something is blocking the communication between your site and our license key validation server. In most&#8230;<\/p>\n","protected":false},"author":31,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[40],"tags":[85],"stellar-product-taxonomy":[161],"class_list":["post-1954309","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-support-resources","tag-testing","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":40,"label":"Get Help"}],"post_tag":[{"value":85,"label":"testing"}],"stellar-product-taxonomy":[{"value":161,"label":"The Events Calendar"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Guga Alves","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/gugatheeventscalendar-com\/"},"comment_info":0,"category_info":[{"term_id":40,"name":"Get Help","slug":"support-resources","term_group":0,"term_taxonomy_id":40,"taxonomy":"category","description":"","parent":0,"count":28,"filter":"raw","term_order":"0","cat_ID":40,"category_count":28,"category_description":"","cat_name":"Get Help","category_nicename":"support-resources","category_parent":0}],"tag_info":[{"term_id":85,"name":"testing","slug":"testing","term_group":0,"term_taxonomy_id":85,"taxonomy":"post_tag","description":"","parent":0,"count":11,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1954309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1954309"}],"version-history":[{"count":4,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1954309\/revisions"}],"predecessor-version":[{"id":1961406,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1954309\/revisions\/1961406"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1954309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1954309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1954309"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1954309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}