{"id":2420,"date":"2022-03-03T11:56:10","date_gmt":"2022-03-03T10:56:10","guid":{"rendered":"https:\/\/ekiwi.de\/?p=2420"},"modified":"2022-03-03T15:19:21","modified_gmt":"2022-03-03T14:19:21","slug":"real-cookie-banner-fuer-wordpress-bad-request-bei-scan-vorgang","status":"publish","type":"post","link":"https:\/\/ekiwi.de\/index.php\/2420\/real-cookie-banner-fuer-wordpress-bad-request-bei-scan-vorgang\/","title":{"rendered":"Real Cookie Banner f\u00fcr WordPress: Bad request bei Scan Vorgang"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Inhalt<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ekiwi.de\/index.php\/2420\/real-cookie-banner-fuer-wordpress-bad-request-bei-scan-vorgang\/#Videoanleitung\" >Videoanleitung<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ekiwi.de\/index.php\/2420\/real-cookie-banner-fuer-wordpress-bad-request-bei-scan-vorgang\/#Keine_Panik\" >Keine Panik<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ekiwi.de\/index.php\/2420\/real-cookie-banner-fuer-wordpress-bad-request-bei-scan-vorgang\/#Update\" >Update<\/a><\/li><\/ul><\/nav><\/div>\n<p>Ich hatte hier vor kurzem das Cookie Plugin <a href=\"https:\/\/ekiwi.de\/index.php\/2408\/review-real-cookie-banner-von-devowl-io-fuer-wordpress\/\" target=\"_blank\" rel=\"noopener\">Real Cookie Banner vorgestellt<\/a>. Bei allen drei Webseiten gab es das gleiche Problem, nach einiger Zeit hing der Scan und es gab nur noch einen &#8222;Bad request&#8220; im Browser beim Aufruf der Webseite.<\/p>\n<p><!--more--><\/p>\n<p>Das &#8222;Real Cookie Banner Plugin&#8220; f\u00fcr WordPress hat bei mir bei drei Webseiten nach einiger Zeit das gleiche Problem verursacht. Ob es das Plugin ist, der Server Probleme macht oder der Firefox der Schuldige ist, kann ich nicht sagen.<\/p>\n<p>Der Scanner l\u00e4uft und bleibt irgendwann vermeintlich h\u00e4ngen. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/03\/bad_request_1.png\" alt=\"\" width=\"1001\" height=\"275\" class=\"alignnone size-full wp-image-2421\" srcset=\"\/wp-content\/uploads\/2022\/03\/bad_request_1.png 1001w, \/wp-content\/uploads\/2022\/03\/bad_request_1-300x82.png 300w, \/wp-content\/uploads\/2022\/03\/bad_request_1-768x211.png 768w\" sizes=\"auto, (max-width: 1001px) 100vw, 1001px\" \/><\/p>\n<p>Wird nun die Webseite aktualisiert oder in einem neuen Tab ge\u00f6ffnet, erscheint nur noch ein &#8222;Bad Request&#8220;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/03\/bad_request_2.png\" alt=\"\" width=\"459\" height=\"211\" class=\"alignnone size-full wp-image-2422\" srcset=\"\/wp-content\/uploads\/2022\/03\/bad_request_2.png 459w, \/wp-content\/uploads\/2022\/03\/bad_request_2-300x138.png 300w\" sizes=\"auto, (max-width: 459px) 100vw, 459px\" \/><\/p>\n<blockquote><p>\nBad Request<br \/>\nYour browser send a request that this server could not understand.<br \/>\nSize of a request header field exceeds server limit.\n<\/p><\/blockquote>\n<h2><span class=\"ez-toc-section\" id=\"Videoanleitung\"><\/span>Videoanleitung<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/brh5qupGgaM\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Keine_Panik\"><\/span>Keine Panik<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Im ersten Moment hatte ich zwar Panik, dass die Webseite nun nicht mehr geht, dies ist aber zum Gl\u00fcck nicht der Fall. Wird die Webseite mit einem anderen Browser oder in einem privaten Tab aufgerufen, funktioniert alles wieder. Es betrifft nur die aktuelle Session im Browser.<\/p>\n<p>Das Problem l\u00e4sst sich durch das Entfernen der Cookies f\u00fcr die betroffene Webseite beheben. In den Einstellungen gehen wir unter &#8222;Cookies und Website-Daten&#8220; auf &#8222;Daten verwalten&#8220;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/03\/bad_request_3.png\" alt=\"\" width=\"743\" height=\"186\" class=\"alignnone size-full wp-image-2423\" srcset=\"\/wp-content\/uploads\/2022\/03\/bad_request_3.png 743w, \/wp-content\/uploads\/2022\/03\/bad_request_3-300x75.png 300w\" sizes=\"auto, (max-width: 743px) 100vw, 743px\" \/><\/p>\n<p>Hier suchen wir nun die Cookies f\u00fcr die Webseite und entfernen diese.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/03\/bad_request_4.png\" alt=\"\" width=\"716\" height=\"601\" class=\"alignnone size-full wp-image-2424\" srcset=\"\/wp-content\/uploads\/2022\/03\/bad_request_4.png 716w, \/wp-content\/uploads\/2022\/03\/bad_request_4-300x252.png 300w\" sizes=\"auto, (max-width: 716px) 100vw, 716px\" \/><\/p>\n<p>Anschlie\u00dfend die gro\u00dfe Erleichterung, alles funktioniert wieder. Wie bereits gesagt, ob hier die Schuld am Plugin zu suchen ist oder am Firefox konnte ich bisher nicht herausfinden.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Update\"><\/span>Update<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Auch im Chrome trat bei mir inzwischen das Problem auf, scheint also doch eher am Plugin zu liegen.<\/p>","protected":false},"excerpt":{"rendered":"<p>Ich hatte hier vor kurzem das Cookie Plugin Real Cookie Banner vorgestellt. Bei allen drei Webseiten gab es das gleiche<\/p>\n","protected":false},"author":1,"featured_media":277,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[51],"tags":[207,85,30,52],"class_list":["post-2420","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-cookie","tag-firefox","tag-server","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/posts\/2420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/comments?post=2420"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/posts\/2420\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/media\/277"}],"wp:attachment":[{"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/media?parent=2420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/categories?post=2420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/tags?post=2420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}