bitwarden / desktop

The desktop vault (Windows, macOS, & Linux).
https://bitwarden.com
GNU General Public License v3.0
3.55k stars 401 forks source link

Can't login to vault due to issues with Cloudflare Captcha #1466

Closed iholoviy closed 2 years ago

iholoviy commented 2 years ago

Steps To Reproduce

  1. Steps To Reproduce
  2. Go to Bitwarden in Chrome/Win10/iOS application
  3. Enter your credentials and click the "log in" button

Expected Result

Log in is successful;;

Actual Result

Log in failed with the following error:


"
<!DOCTYPE html>\n
<!--[if lt IE 7]> <html class=\"no-js ie6 oldie\" lang=\"en-US\"> <![endif]-->\n
<!--[if IE 7]>    <html class=\"no-js ie7 oldie\" lang=\"en-US\"> <![endif]-->\n
<!--[if IE 8]>    <html class=\"no-js ie8 oldie\" lang=\"en-US\"> <![endif]-->\n
<!--[if gt IE 8]><!-->
<html class=\"no-js\" lang=\"en-US\">
<!--<![endif]-->\n

<head>\n\n<title>Please Wait... | Cloudflare</title>\n \n
    <meta name=\"captcha-bypass\" id=\"captcha-bypass\" />\n
    <meta charset=\"UTF-8\" />\n
    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n
    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=Edge,chrome=1\" />\n
    <meta name=\"robots\" content=\"noindex, nofollow\" />\n
    <meta name=\"viewport\" content=\"width=device-width,initial-scale=1\" />\n
    <link rel=\"stylesheet\" id=\"cf_styles-css\" href=\"/cdn-cgi/styles/cf.errors.css\" type=\"text/css\"
        media=\"screen,projection\" />\n
    <!--[if lt IE 9]><link rel=\"stylesheet\" id='cf_styles-ie-css' href=\"/cdn-cgi/styles/cf.errors.ie.css\" type=\"text/css\" media=\"screen,projection\" /><![endif]-->\n
    <style type=\"text/css\">
        body {
            margin: 0;
            padding: 0
        }
    </style>\n\n\n
    <!--[if gte IE 10]><!-->\n
    <script>\n  if (!navigator.cookieEnabled) { \n    window.addEventListener('DOMContentLoaded', function () { \n      var cookieEl = document.getElementById('cookie-alert'); \n      cookieEl.style.display = 'block'; \n }) \n } \n</script>
    \n
    <!--<![endif]-->\n\n\n \n
    <script
        type=\"text/javascript\">\n    //<![CDATA[\n    (function(){\n      window._cf_chl_opt={\n        cvId: \"2\",\n        cType: \"managed\",\n        cNounce: \"69259\",\n        cRay: \"6ef57f116be45c56\",\n        cHash: \"88fe1ba120d8fd2\",\n        cUPMDTk: \"\\/accounts\\/prelogin?__cf_chl_tk=YV.HkD9J7GG0Z4Wa2Y1GQqN6Q44usZSO_lw653g02_c-1647853217-0-gaNycGzNB2U\",\n        cFPWv: \"b\",\n        cTTimeMs: \"1000\",\n        cLt: \"n\",\n        cRq: {\n          ru: \"aHR0cHM6Ly9hcGkuYml0d2FyZGVuLmNvbS9hY2NvdW50cy9wcmVsb2dpbg==\",\n          ra: \"TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzk2LjAuNDY2NC4xMTAgU2FmYXJpLzUzNy4zNg==\",\n          rm: \"UE9TVA==\",\n          d: \"zhjxYth8jDd0L3I3emoEgyVqztt+0oJ/KuoKu8SfOcDWno5NmWS81d3SHus219HN6GpOr3PavgLftgG/JuhmXuSeGrRZKx7U0+Xfsz8wSrgX8wsNTQKEP/+m0t+wl7XnX+CDJmS8hqh60vlwxDbJzGs5fqCAaErHPaEpw7+qlcJzjpJTqobbTIhZXQw41Q6tgH+56zBn3RjLxLnyd2FixcUZFRtsRdmXBpoE8uksspHIxtA84VGUS0Hx5BxYHeXXbeZHa67gXUHXUMmP/pzU0bLcuCMwn5cpHlp7r1X/aUAfggcE801R2ohRusFerCe23CprIfhWqTTHszmgazsIfScSL7rcqrhiUHbRW0h7LCG4tUYG84KR3U/ZkqR2k2rPoP5BVg2cBkVyGUMIx7vb0PZ1ThxTuzJz4iJKpUwo/STjeLdk8R4kd93jkbQtQGha4RRcCpYizhw51/DcgZBuSkQgF7Nz5Gu4ZuMutSU506CF+2Cd75YB84sGbBcD6a/QwaokUCxuRU4dS00oh3vKJo9oeU3zi5V1Chbrk1Sl5mvRNqAM0lV2qXKzCLvs5NsxhGWLdLlGIspffMLyq5w+3A==\",\n          t: \"MTY0Nzg1MzIxNy41MTAwMDA=\",\n          m: \"d81B/5MbiVcg4uy5rrrVNFxWdzTWBDi7cUxcOj/J9ZY=\",\n          i1: \"FUI1BEWGRC8+hUfOLkl4+w==\",\n          i2: \"5Zc86M7tb+9WqTkPUmJgew==\",\n          zh: \"Z0hAf/poTa0ncU8P7q+EZA8UB8cYR+r2xz+ftKdGMnM=\",\n          uh: \"1L4mCzO8j91nB2dDT1ItC5Iij00kZb5f2Gkn/fxnYq8=\",\n          hh: \"dZgA2dl81uD118oFYV3EephvZlFcBsfH7wSzHtfkX70=\",\n        }\n      };\n    }());\n    //]]>\n    </script>
    \n \n\n<style type=\"text/css\">
        \n #cf-wrapper #spinner {
            width: 69px;
            margin: auto;
        }

        \n #cf-wrapper #cf-please-wait {
            text-align: center
        }

        \n .attribution {
            margin-top: 32px;
        }

        \n .bubbles {
            background-color: #f58220;
            width: 20px;
            height: 20px;
            margin: 2px;
            border-radius: 100%;
            display: inline-block;
        }

        \n #cf-wrapper #challenge-form {
            padding-top: 25px;
            padding-bottom: 25px;
        }

        \n #cf-hcaptcha-container {
            text-align: center;
        }

        \n #cf-hcaptcha-container iframe {
            display: inline-block;
        }

        \n @keyframes fader {
            0% {
                opacity: 0.2;
            }

            50% {
                opacity: 1.0;
            }

            100% {
                opacity: 0.2;
            }
        }

        \n #cf-wrapper #cf-bubbles {
            width: 69px;
        }

        \n @-webkit-keyframes fader {
            0% {
                opacity: 0.2;
            }

            50% {
                opacity: 1.0;
            }

            100% {
                opacity: 0.2;
            }
        }

        \n #cf-bubbles>.bubbles {
            animation: fader 1.6s infinite;
        }

        \n #cf-bubbles>.bubbles:nth-child(2) {
            animation-delay: .2s;
        }

        \n #cf-bubbles>.bubbles:nth-child(3) {
            animation-delay: .4s;
        }

        \n
    </style>\n
</head>\n

<body>\n <div id=\"cf-wrapper\">\n <div class=\"cf-alert cf-alert-error cf-cookie-error\" id=\"cookie-alert\"
            data-translate=\"enable_cookies\">Please enable cookies.</div>\n <div id=\"cf-error-details\"
            class=\"cf-error-details-wrapper\">\n <div class=\"cf-wrapper cf-header cf-error-overview\">\n \n <h1
                    data-translate=\"managed_challenge_headline\">Please wait...</h1>\n <h2 class=\"cf-subheadline\">
                    <span data-translate=\"managed_checking_msg\">We are checking your browser...</span>
                    api.bitwarden.com</h2>\n \n </div>\n \n <div class=\"cf-section cf-highlight cf-captcha-container\">
                \n <div class=\"cf-wrapper\">\n <div class=\"cf-columns two\">\n <div class=\"cf-column\">\n \n <div
                                class=\"cf-highlight-inverse cf-form-stacked\">\n <form class=\"challenge-form
                                    managed-form\" id=\"challenge-form\"
                                    action=\"/accounts/prelogin?__cf_chl_f_tk=YV.HkD9J7GG0Z4Wa2Y1GQqN6Q44usZSO_lw653g02_c-1647853217-0-gaNycGzNB2U\"
                                    method=\"POST\" enctype=\"application/x-www-form-urlencoded\">\n \n <div
                                        id='cf-please-wait'>\n <div id='spinner'>\n <div id=\"cf-bubbles\">\n <div
                                                    class=\"bubbles\"></div>\n <div class=\"bubbles\"></div>\n <div
                                                    class=\"bubbles\"></div>\n </div>\n </div>\n <p
                                            data-translate=\"please_wait\" id=\"cf-spinner-please-wait\">Please stand
                                            by, while we are checking your browser...</p>\n <p
                                            data-translate=\"redirecting\" id=\"cf-spinner-redirecting\"
                                            style=\"display:none\">Redirecting...</p>\n </div>\n \n <input
                                        type=\"hidden\" name=\"md\"
                                        value=\"WJ22zqF4ylss5mjFKpyEPuzrjazMWpFM0qEMFtSYp7g-1647853217-0-AU6RhZFEGuA31znWKO6aK9JjSAlMAK-w7aBBwC3mDHAl-Z0Hiv58EvBCnFBqLHmRbwUxndnGSYc43VckaQEFFs3ZCNSUvAZBMO169ZWNTNyj8RIty7JF2eBzBCEeXmaYk1p072dK0wsUhxUW4osWFNuZWhWywcEI9Ya2A7P4FTl2t-Q-X3-DRovFx0r0hNHVwqcPdmOm5pYAper93CNz1wd8ABu-CXuWl8PiIUAbQ_86BLTtCP-iZ9Tzg7UP6BHue_HhxCWIG7GTw-j9sW6UJVG7ZD-TW2w4sS8Kr0_AP2XKM92n4En60-q4U_H6GRg4B6xHXy6VCchU5m4NmfR_VYEZ27NwRozOwln6KZraoDp3tjcY_-HE1t5tWws1DQ1-LZGVf3kDp8giuBZrYmoRuBLPBVygiy3Ukh5D847H1j9Xaw-saqrU-WOBmR22XUtbX6BhabAcmZBC8oRaTQKOabLSc-h17sYU-iUzek7Wj20fMcDnKaESOcKl2AO6mr2_nab2ctAfk73_S_pdLvzNBnUnxC7UaHA5ccA50Opnb0_qTT5K5oJHQwI1o0KbQ4D2Z8L3dQci20tDVb2ElJxbC96bDbyAH8qWngtTf6uyJdL-JpBTJX7yPj5DAA0u8AfIhj3gZC5SESTuwDUY2EXKKce_Hx4g5zLsx0Rx-x5JAISAYdhCAGeiv7j_3c9UK9zY-sB0V0fKrfPAcg_EXa1jYWCVB41Yqi7BWkyBI-IPhlCfNDBsig5QDliNSIinCorAHzcH4nY-vzhdIrwhXK7QChqN0zalUtQq6AFQZawdflEL8TVL7h3BwYT5U_lfh8BlsoBaW88OjFq_UZEbBMMNE-g\" />\n
                                    <input type=\"hidden\" name=\"r\"
                                        value=\"Fw_3PLcYj1kUF1Ry.VUUI2Rpm9TjAkTxNBlNyJozJpA-1647853217-0-AVCI6jFG7/mkNoglsPrpkUJ5YZ/nshb2Y5SAdkArJ6JR3AaKFPGeP7grX3yTh21n1nMclW71M36048JDy0zAMAdx18n6IAkKgtQcacixnDZLoNAmC4S9SDA1tuL0iryJzV8ZCB+/50rizmlUNrUcLP8g8rb1W/z5+tPZqvL2e8quj3pysSAkmpHzz5aPIyPcuySaue5Hx0R/XMlJmzIAq7cx0Iw7nZr2Dyae/Nl/h7rAG8NBb2YbRJ9D1CW0m+DJpw2Sro9AZ443sD4S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ewUDdDgF+5+eXjRXX/bDLNXshoGjSbcRy/coIIK3HBgCNDRtWXLhRIls6wU8ftm7HsRM4EwHWGkj16TorZkrEcFf17t1ZdauoE03rfgXkdVjkeDiW0bwg6UN5xB29csFQ8sGxvGWAAOqB4HzRZzjM2otLpOoVlfBiCTodO5zpWoq8xEG1A53m7Jag8kxHMCmJXi0w+dkSr1Y+oeOf6D00fVXc9mYm8PvZ13vh1GYdiAUV+0L336BA76/91o8pgNKdM0fwkL+yw/E6KSTa8X+VGV/s3xVPGchX2MZey47UAbcqjm84PCd4gxT2wGWPNMPUQSyMZWDnodbEiHNYoM7o5n3GVXxX0AIUEOmD/QZYbbvQBLLoW1/vr5xfDd92eiT9RmglOf8698uTWubaLG29LYDjDY10RCi+Ks8W4pPhazCvPI204Z4TUHTEWTPSDr080MGEYq3cOYnl4k8XhVJeXv0FYbnI1zXGs0Z5J\">\n
                                    <input type=\"hidden\" name=\"vc\" value=\"d79243f3315f08cabcd54b35267b9aa3\">\n \n
                                    <noscript id=\"cf-captcha-bookmark\" class=\"cf-captcha-info\">\n <h1
                                            data-translate=\"turn_on_js\" style=\"color:#bd2426;\">Please turn
                                            JavaScript on and reload the page.</h1>\n </noscript>\n <div
                                        id=\"no-cookie-warning\" class=\"cookie-warning\"
                                        data-translate=\"turn_on_cookies\" style=\"display:none\">\n <p
                                            data-translate=\"turn_on_cookies\" style=\"color:#bd2426;\">Please enable
                                            Cookies and reload the page.</p>\n </div>\n
                                    <script
                                        type=\"text/javascript\">\n  //<![CDATA[\n    var a = function() {try{return !!window.addEventListener} catch(e) {return !1} },\n      b = function(b, c) {a() ? document.addEventListener(\"DOMContentLoaded\", b, c) : document.attachEvent(\"onreadystatechange\", b)};\n      b(function(){\n        var cookiesEnabled=(navigator.cookieEnabled)? true : false;\n        if(!cookiesEnabled){\n          var q = document.getElementById('no-cookie-warning');q.style.display = 'block';\n        }\n      });\n  //]]>\n  </script>
                                    \n <div id=\"trk_captcha_js\"
                                        style=\"background-image:url('/cdn-cgi/images/trace/captcha/nojs/h/transparent.gif?ray=6ef57f116be45c56')\">
                                    </div>\n
                                </form>\n \n
                                <script
                                    type=\"text/javascript\">\n    //<![CDATA[\n    (function(){\n        var isIE = /(MSIE|Trident\\/|Edge\\/)/i.test(window.navigator.userAgent);\n        var trkjs = isIE ? new Image() : document.createElement('img');\n        trkjs.setAttribute(\"src\", \"/cdn-cgi/images/trace/managed/js/transparent.gif?ray=6ef57f116be45c56\");\n        trkjs.id = \"trk_managed_js\";\n        trkjs.setAttribute(\"alt\", \"\");\n        document.body.appendChild(trkjs);\n        var cpo=document.createElement('script');\n        cpo.type='text/javascript';\n        cpo.src=\"/cdn-cgi/challenge-platform/h/b/orchestrate/managed/v1?ray=6ef57f116be45c56\";\n        \n        window._cf_chl_opt.cOgUQuery = location.search === '' && location.href.indexOf('?') !== -1 ? '?' : location.search;\n        window._cf_chl_opt.cOgUHash = location.hash === '' && location.href.indexOf('#') !== -1 ? '#' : location.hash;\n        if (window._cf_chl_opt.cUPMDTk && window.history && window.history.replaceState) {\n          var ogU = location.pathname + window._cf_chl_opt.cOgUQuery + window._cf_chl_opt.cOgUHash;\n          history.replaceState(null, null, \"\\/accounts\\/prelogin?__cf_chl_rt_tk=YV.HkD9J7GG0Z4Wa2Y1GQqN6Q44usZSO_lw653g02_c-1647853217-0-gaNycGzNB2U\" + window._cf_chl_opt.cOgUHash);\n          cpo.onload = function() {\n            history.replaceState(null, null, ogU);\n          };\n        }\n        \n        document.getElementsByTagName('head')[0].appendChild(cpo);\n    }());\n    //]]>\n    </script>
                                \n \n\n\n
                            </div>\n </div>\n\n <div class=\"cf-column\">\n <div class=\"cf-screenshot-container\">\n \n
                                <span class=\"cf-no-screenshot\"></span>\n \n </div>\n </div>\n </div>\n </div>\n </div>
            \n\n <div class=\"cf-section cf-wrapper\">\n <div class=\"cf-columns two\">\n <div class=\"cf-column\">\n
                        <h2 data-translate=\"why_captcha_headline\">Why do I have to complete a CAPTCHA?</h2>\n \n <p
                            data-translate=\"why_captcha_detail\">Completing the CAPTCHA proves you are a human and
                            gives you temporary access to the web property.</p>\n </div>\n\n <div class=\"cf-column\">\n
                        <h2 data-translate=\"resolve_captcha_headline\">What can I do to prevent this in the future?
                        </h2>\n \n\n <p data-translate=\"resolve_captcha_antivirus\">If you are on a personal
                            connection, like at home, you can run an anti-virus scan on your device to make sure it is
                            not infected with malware.</p>\n\n <p data-translate=\"resolve_captcha_network\">If you are
                            at an office or shared network, you can ask the network administrator to run a scan across
                            the network looking for misconfigured or infected devices.</p>\n \n \n <p
                            data-translate=\"resolve_captcha_privacy_pass\"> Another way to prevent getting this page in
                            the future is to use Privacy Pass. You may need to download version 2.0 now from the <a
                                rel=\"noopener noreferrer\"
                                href=\"https://chrome.google.com/webstore/detail/privacy-pass/ajhmfdgkijocedmfjonnpjfojldioehi\">Chrome
                                Web Store</a>.</p>\n \n \n </div>\n </div>\n </div>\n \n\n <div class=\"cf-error-footer
                cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0
                border-t border-gray-300\">\n <p class=\"text-13\">\n <span class=\"cf-footer-item sm:block
                        sm:mb-1\">Cloudflare Ray ID: <strong class=\"font-semibold\">6ef57f116be45c56</strong></span>\n
                    <span class=\"cf-footer-separator sm:hidden\">&bull;</span>\n <span class=\"cf-footer-item sm:block
                        sm:mb-1\"><span>Your IP</span>: 194.44.201.146</span>\n <span class=\"cf-footer-separator
                        sm:hidden\">&bull;</span>\n <span class=\"cf-footer-item sm:block sm:mb-1\"><span>Performance
                            &amp; security by</span> <a rel=\"noopener noreferrer\"
                            href=\"https://www.cloudflare.com/5xx-error-landing\" id=\"brand_link\"
                            target=\"_blank\">Cloudflare</a></span>\n \n </p>\n</div><!-- /.error-footer -->\n\n\n
        </div>\n </div>\n\n
    <script type=\"text/javascript\">\n  window._cf_translation = {};\n  \n  \n</script>\n\n\n
</body>\n

</html>\n"

Screenshots or Videos

2022-03-31_12-26-55

Additional Context

No response

Operating System

Windows

Operating System Version

10 x64

Installation method

Direct Download (from bitwarden.com)

Build Version

1.32

iholoviy commented 2 years ago

The similar issue was fixed last week: https://github.com/bitwarden/desktop/issues/1424

sneakernuts commented 2 years ago

@iholoviy looking into it

sneakernuts commented 2 years ago

@iholoviy are you still seeing the same errors today?

iholoviy commented 2 years ago

yes, here is the screenshot I have made one minute ago: image

sneakernuts commented 2 years ago

@iholoviy thanks for that, looking more into it now. FYI, you might want to anonymize some info from the initial post.

sneakernuts commented 2 years ago

@iholoviy are you still experiencing the same issue?

sharbet commented 2 years ago

Guys, I'm facing the similar issue. Don't know whether it's the Captcha, but the red message appears: unknown unknown

sneakernuts commented 2 years ago

hey @iholoviy, @sharbet Would you be able to contact us through https://bitwarden.com/contact/ and reference this issue? We will need more info to assist both of you. Closing this for now. Thanks!