tosher / StGitlab

Sublime text Gitlab manager
Other
12 stars 0 forks source link

Unable to perform any action - "Checking your browser before accessing" problem #7

Open jonrandy opened 3 years ago

jonrandy commented 3 years ago

When I try to perform any GitLab action, nothing happens. Looking in the console reveals the following:

Traceback (most recent call last):
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/base/../libs/gitlab/exceptions.py", line 267, in wrapped_f
    return f(*args, **kwargs)
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/base/../libs/gitlab/mixins.py", line 134, in list
    obj = self.gitlab.http_list(path, **data)
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/libs/gitlab/__init__.py", line 640, in http_list
    return list(GitlabList(self, url, query_data, **kwargs))
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/libs/gitlab/__init__.py", line 767, in __init__
    self._query(url, query_data, **kwargs)
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/libs/gitlab/__init__.py", line 772, in _query
    result = self._gl.http_request("get", url, query_data=query_data, **kwargs)
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/libs/gitlab/__init__.py", line 568, in http_request
    response_body=result.content,
gitlab.exceptions.GitlabHttpError: 503: <!DOCTYPE html>
<html>
<head>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport">
  <title>Checking your Browser - GitLab</title>
  <style>body{color:#666;text-align:center;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;margin:auto;font-size:14px;display:flex;flex-direction:column;align-items:center;justify-content:center}hr{max-width:800px;margin:18px auto;border:0;border-top:1px solid #eee;border-bottom:1px solid #fff}img{max-width:40vw}.container{margin:auto 20px}.cferror_details{list-style-type:none}.cf-error-details h1{color:#456;font-size:20px;font-weight:400;line-height:28px}</style>
  <meta http-equiv="refresh" content="12">
  <script type="text/javascript">
    //<![CDATA[
    (function(){

      window._cf_chl_opt={
        cvId: "2",
        cType: "non-interactive",
        cNounce: "77512",
        cRay: "628739d12e994b58",
        cHash: "7cd49153c8d582a",
        cFPWv: "g",
        cTTimeMs: "4000",
        cRq: {
          ru: "aHR0cHM6Ly9naXRsYWIuY29tL3VzZXJzL3NpZ25faW4=",
          ra: "cHl0aG9uLWdpdGxhYi8xLjE1LjA=",
          rm: "R0VU",
          d: "RUsgC+khX+n/IEJWuK0VLJpKTQQO3Kr11OhucMYM6G1NxW3p9LDO3nhv0hmKjouEVVEXyN1LOOcLcQ8g2LqqDa7TRbrg8RW2kXjPcTVGO4rfwVZGVQ9iIxpq+sgQzls2fRqk9NWtoh2aNOx+wnwrBTE6LVelhfDBHmwXIRNIxFsqWvIFRvjQ6IDlKccgCMvMUv1POtb4nxHbbVyaxFTCykQP+oPRoRmD6vF5C81idw36/QIvKNRtMhAHiMR/QB3Q2f/0jl7V4NRC6SCJqtan8fE0YqypPKxrLjrG3lvIA5OOB/F65GtGdtBscvKvoB6ceR8mUhlYfyayaaJVmpony6HRQQyE47/w1y/lCDWG2dxj0YdlMmjB2rIxGIsswBFHC/0r1YBdTea3vT8cQKxb3OPli87fHV6DOG8SgkHAwX8CfZBWJZfQanHaQajXsJzXQzTtfQK254yIkm3i6UL2gPcoqQ5qIRbQSOTGdBV6SiBlBdgUdg/Y+Qrk3KUu/OKqb4h2xVdd2KzHp1LucihgZKtDZBT8YweYbDY5zwNuRTimES0s7CyiPZd73uv2i3d2WmH524M/YK+SZxLYhIsa6cl+LzrbkNkiS9aSZWkyuGY=",
          t: "MTYxNDQ4NDY5Mi42NjgwMDA=",
          m: "bobPnQAyyBoTd9f+8EylQ++WsetAuZBGwCMw3RyAl7Y=",
          i1: "BIjavkXMbfr5R8i1GmKUjA==",
          i2: "gAqd+PRwXPD3Y2i9iaihUA==",
          uh: "2vPsMQFT+nU3nE+XTx/+UoSoTLm1e2whyq8ckl/SVgg=",
          hh: "lGQbzypQ55vDVgAzrKu7GNtEf1PrcZK3oqezycJ79vw=",
        }
      }
      window._cf_chl_enter = function(){window._cf_chl_opt.p=1};

    })();
    //]]>
  </script>

</head>

<body>
  <h1>
    <img src="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0zLjY4NSA3LjYwOCAwbDIzLjI3MiA3MS42MjV6IiBmaWxsPSIjZTI0MzI5Ii8+Cjwvc3ZnPgo=" alt="GitLab Logo" /><br />
  </h1>
  <div class="container">
    <div class="cf-browser-verification cf-im-under-attack">
  <noscript>
    <h1 data-translate="turn_on_js" style="color:#bd2426;">Please turn JavaScript on and reload the page.</h1>
  </noscript>
  <div id="cf-content" style="display:none">

    <div id="cf-bubbles">
      <div class="bubbles"></div>
      <div class="bubbles"></div>
      <div class="bubbles"></div>
    </div>
    <h1><span data-translate="checking_browser">Checking your browser before accessing</span> gitlab.com.</h1>

    <div id="no-cookie-warning" class="cookie-warning" data-translate="turn_on_cookies" style="display:none">
      <p data-translate="turn_on_cookies" style="color:#bd2426;">Please enable Cookies and reload the page.</p>
    </div>
    <p data-translate="process_is_automatic">This process is automatic. Your browser will redirect to your requested content shortly.</p>
    <p data-translate="allow_5_secs" id="cf-spinner-allow-5-secs" >Please allow up to 5 seconds&hellip;</p>
    <p data-translate="redirecting" id="cf-spinner-redirecting" style="display:none">Redirecting&hellip;</p>
  </div>

  <form class="challenge-form" id="challenge-form" action="/users/sign_in?__cf_chl_jschl_tk__=037cf8d59bba4a1bf75d8eb5088250dcac51a7c7-1614484692-0-Ade7tRkhMRadZRh50pu-nmgql3EesNx6Ktmo-m9C_4ZhD6qLLmUwXtyBIHlACsXZ2Skj_F2MucEdiJT__Ya5lLuxhsty9wMeoe8MUNlkb0PnXS_5sjwqWG_HFGfSDN_FTKg0SW_In_J15XS59rVV1HWNrt93KlHJLX72WwgRJKxiKcHsdZkswe60_SoISfkkL4I9jDiQvvPYbDCOVt57aBCnoIlvcnmWl24tm0OrCGUeTu0od9ZczesHvZHWwQxHvP9colo9fyB7igIFR5goWY3ECSDsGk2DaPKWw_1ZzI6rGOsGnBI1oiDtPsbdvt1-vh5JsHQmHinY2aZZnSmvKrrewu6CMliylfl-wRdoyaUsloqzowtFz8xZoPSk03dqzQ" method="POST" enctype="application/x-www-form-urlenco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cAqUTxmVs1yK/C2U+ZnI6NtmXzrLKmA2CvFHsJS8n+ZOxEWFldB3Kqf7bp5Kin9c90Ti8favA0FoATYU2/zp+rj4Nv5kJiWW4Ayiyz1MncnXNQQgElIqYgVuw9h6z2zsRsVeGB1RcN8DJZp6ipVqtHfIwXNgZBJ0ohh1fTHsVTrM3j4ZUqNS9B1Om01JFmkr3rHNb8IDahv71It29WR9ybq7P+Gfl4Dou7mCO+1yShnnhfQgz+hkP9E3GPvzXeN9NaZ+pfdSJUUmmTSXNJA9vIYMBT0+m7sSpbyA+d8iaOYcXGGWmkz73/aiHWrk8uXgGLkZlkR90eLb/IuB78l460VuLBHVlCNGvlbfoS7GAWajmyOFPQmrC9qJ34eGc8YGD1H6VnHRdkB8FSCV33f2nnizAMD4YX5ZZDapoILcSxGRdb1bg8Ula3C7ZUxlVWkOpyheDCwW8CcDaobnOSTgDhRRPBu3C6eVseBuy2ODAm9sdHJN4y2+1VBAcdpNyZKixoKPXIRLam5wlxFqXtfUik="/>
    <input type="hidden" value="4ec3f3f3c091e840bb5ad89aeedb4d13" id="jschl-vc" name="jschl_vc"/>
    <!-- <input type="hidden" value="" id="jschl-vc" name="jschl_vc"/> -->
    <input type="hidden" name="pass" value="1614484696.668-ig37ytZWQ/"/>
    <input type="hidden" id="jschl-answer" name="jschl_answer"/>
  </form>

    <script type="text/javascript">
      //<![CDATA[
      (function(){
          var a = document.getElementById('cf-content');
          a.style.display = 'block';
          var isIE = /(MSIE|Trident\/|Edge\/)/i.test(window.navigator.userAgent);
          var trkjs = isIE ? new Image() : document.createElement('img');
          trkjs.setAttribute("src", "/cdn-cgi/images/trace/jschal/js/transparent.gif?ray=628739d12e994b58");
          trkjs.id = "trk_jschal_js";
          trkjs.setAttribute("alt", "");
          document.body.appendChild(trkjs);
          var cpo=document.createElement('script');
          cpo.type='text/javascript';
          cpo.src="/cdn-cgi/challenge-platform/h/g/orchestrate/jsch/v1";
          document.getElementsByTagName('head')[0].appendChild(cpo);
        }());
      //]]>
    </script>

  <div id="trk_jschal_nojs" style="background-image:url('/cdn-cgi/images/trace/jschal/nojs/transparent.gif?ray=628739d12e994b58')"> </div>
</div>

    <hr />
  </div>
</body>
</html>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/base/stg_project.py", line 39, in get_project
    projects = gitlab.projects(all=True)
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/base/stg_gitlab.py", line 127, in projects
    self.cprojects = self.conn.projects.list(**kwargs)
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/base/../libs/gitlab/exceptions.py", line 269, in wrapped_f
    raise error(e.error_message, e.response_code, e.response_body)
gitlab.exceptions.GitlabListError: 503: <!DOCTYPE html>
<html>
<head>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport">
  <title>Checking your Browser - GitLab</title>
  <style>body{color:#666;text-align:center;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;margin:auto;font-size:14px;display:flex;flex-direction:column;align-items:center;justify-content:center}hr{max-width:800px;margin:18px auto;border:0;border-top:1px solid #eee;border-bottom:1px solid #fff}img{max-width:40vw}.container{margin:auto 20px}.cferror_details{list-style-type:none}.cf-error-details h1{color:#456;font-size:20px;font-weight:400;line-height:28px}</style>
  <meta http-equiv="refresh" content="12">
  <script type="text/javascript">
    //<![CDATA[
    (function(){

      window._cf_chl_opt={
        cvId: "2",
        cType: "non-interactive",
        cNounce: "77512",
        cRay: "628739d12e994b58",
        cHash: "7cd49153c8d582a",
        cFPWv: "g",
        cTTimeMs: "4000",
        cRq: {
          ru: "aHR0cHM6Ly9naXRsYWIuY29tL3VzZXJzL3NpZ25faW4=",
          ra: "cHl0aG9uLWdpdGxhYi8xLjE1LjA=",
          rm: "R0VU",
          d: "RUsgC+khX+n/IEJWuK0VLJpKTQQO3Kr11OhucMYM6G1NxW3p9LDO3nhv0hmKjouEVVEXyN1LOOcLcQ8g2LqqDa7TRbrg8RW2kXjPcTVGO4rfwVZGVQ9iIxpq+sgQzls2fRqk9NWtoh2aNOx+wnwrBTE6LVelhfDBHmwXIRNIxFsqWvIFRvjQ6IDlKccgCMvMUv1POtb4nxHbbVyaxFTCykQP+oPRoRmD6vF5C81idw36/QIvKNRtMhAHiMR/QB3Q2f/0jl7V4NRC6SCJqtan8fE0YqypPKxrLjrG3lvIA5OOB/F65GtGdtBscvKvoB6ceR8mUhlYfyayaaJVmpony6HRQQyE47/w1y/lCDWG2dxj0YdlMmjB2rIxGIsswBFHC/0r1YBdTea3vT8cQKxb3OPli87fHV6DOG8SgkHAwX8CfZBWJZfQanHaQajXsJzXQzTtfQK254yIkm3i6UL2gPcoqQ5qIRbQSOTGdBV6SiBlBdgUdg/Y+Qrk3KUu/OKqb4h2xVdd2KzHp1LucihgZKtDZBT8YweYbDY5zwNuRTimES0s7CyiPZd73uv2i3d2WmH524M/YK+SZxLYhIsa6cl+LzrbkNkiS9aSZWkyuGY=",
          t: "MTYxNDQ4NDY5Mi42NjgwMDA=",
          m: "bobPnQAyyBoTd9f+8EylQ++WsetAuZBGwCMw3RyAl7Y=",
          i1: "BIjavkXMbfr5R8i1GmKUjA==",
          i2: "gAqd+PRwXPD3Y2i9iaihUA==",
          uh: "2vPsMQFT+nU3nE+XTx/+UoSoTLm1e2whyq8ckl/SVgg=",
          hh: "lGQbzypQ55vDVgAzrKu7GNtEf1PrcZK3oqezycJ79vw=",
        }
      }
      window._cf_chl_enter = function(){window._cf_chl_opt.p=1};

    })();
    //]]>
  </script>

</head>

<body>
  <h1>
    <img src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEwIiBoZWlnaHQ9IjIxMCIgdmlld0JveD0iMCAwIDIxMCAyMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggZD0iTTEwNS4wNjE0IDIwMy42NTVsMzguNjQtMTE4LjkyMWgtNzcuMjhsMzguNjQgMTE4LjkyMXoiIGZpbGw9IiNlMjQzMjkiLz4KICA8cGF0aCBkPSJNMTA1LjA2MTQgMjAzLjY1NDhsLTM4LjY0LTExOC45MjFoLTU0LjE1M2w5Mi43OTMgMTE4LjkyMXoiIGZpbGw9IiNmYzZkMjYiLz4KICA8cGF0aCBkPSJNMTIuMjY4NSA4NC43MzQxbC0xMS43NDIgMzYuMTM5Yy0xLjA3MSAzLjI5Ni4xMDIgNi45MDcgMi45MDYgOC45NDRsMTAxLjYyOSA3My44MzgtOTIuNzkzLTExOC45MjF6IiBmaWxsPSIjZmNhMzI2Ii8+CiAgPHBhdGggZD0iTTEyLjI2ODUgODQuNzM0Mmg1NC4xNTNsLTIzLjI3My03MS42MjVjLTEuMTk3LTMuNjg2LTYuNDExLTMuNjg1LTcuNjA4IDBsLTIzLjI3MiA3MS42MjV6IiBmaWxsPSIjZTI0MzI5Ii8+CiAgPHBhdGggZD0iTTEwNS4wNjE0IDIwMy42NTQ4bDM4LjY0LTExOC45MjFoNTQuMTUzbC05Mi43OTMgMTE4LjkyMXoiIGZpbGw9IiNmYzZkMjYiLz4KICA8cGF0aCBkPSJNMTk3Ljg1NDQgODQuNzM0MWwxMS43NDIgMzYuMTM5YzEuMDcxIDMuMjk2LS4xMDIgNi45MDctMi45MDYgOC45NDRsLTEwMS42MjkgNzMuODM4IDkyLjc5My0xMTguOTIxeiIgZmlsbD0iI2ZjYTMyNiIvPgogIDxwYXRoIGQ9Ik0xOTcuODU0NCA4NC43MzQyaC01NC4xNTNsMjMuMjczLTcxLjYyNWMxLjE5Ny0zLjY4NiA2LjQxMS0zLjY4NSA3LjYwOCAwbDIzLjI3MiA3MS42MjV6IiBmaWxsPSIjZTI0MzI5Ii8+Cjwvc3ZnPgo=" alt="GitLab Logo" /><br />
  </h1>
  <div class="container">
    <div class="cf-browser-verification cf-im-under-attack">
  <noscript>
    <h1 data-translate="turn_on_js" style="color:#bd2426;">Please turn JavaScript on and reload the page.</h1>
  </noscript>
  <div id="cf-content" style="display:none">

    <div id="cf-bubbles">
      <div class="bubbles"></div>
      <div class="bubbles"></div>
      <div class="bubbles"></div>
    </div>
    <h1><span data-translate="checking_browser">Checking your browser before accessing</span> gitlab.com.</h1>

    <div id="no-cookie-warning" class="cookie-warning" data-translate="turn_on_cookies" style="display:none">
      <p data-translate="turn_on_cookies" style="color:#bd2426;">Please enable Cookies and reload the page.</p>
    </div>
    <p data-translate="process_is_automatic">This process is automatic. Your browser will redirect to your requested content shortly.</p>
    <p data-translate="allow_5_secs" id="cf-spinner-allow-5-secs" >Please allow up to 5 seconds&hellip;</p>
    <p data-translate="redirecting" id="cf-spinner-redirecting" style="display:none">Redirecting&hellip;</p>
  </div>

  <form class="challenge-form" id="challenge-form" action="/users/sign_in?__cf_chl_jschl_tk__=037cf8d59bba4a1bf75d8eb5088250dcac51a7c7-1614484692-0-Ade7tRkhMRadZRh50pu-nmgql3EesNx6Ktmo-m9C_4ZhD6qLLmUwXtyBIHlACsXZ2Skj_F2MucEdiJT__Ya5lLuxhsty9wMeoe8MUNlkb0PnXS_5sjwqWG_HFGfSDN_FTKg0SW_In_J15XS59rVV1HWNrt93KlHJLX72WwgRJKxiKcHsdZkswe60_SoISfkkL4I9jDiQvvPYbDCOVt57aBCnoIlvcnmWl24tm0OrCGUeTu0od9ZczesHvZHWwQxHvP9colo9fyB7igIFR5goWY3ECSDsGk2DaPKWw_1ZzI6rGOsGnBI1oiDtPsbdvt1-vh5JsHQmHinY2aZZnSmvKrrewu6CMliylfl-wRdoyaUsloqzowtFz8xZoPSk03dqzQ" method="POST" enctype="application/x-www-form-urlencoded">
    <input type="hidden" name="r" value="d38ccac87bae6250a8a69286f9ca9acdaa0ea93f-1614484692-0-AVVLibX9+83pGuzPivKhqLEFx55aJS9JghSck6nudkO9GwSbBxn7WqSnGGl1JdpjBpxHmxGkbIiTKTDpZwoATFe9ldDdKvqXXSU/nNtSZ0SECt8q0UnhAOs8Kz7UNIXzFtHpAD5KohLFFD26BgXzRfcLRhsiNVW/wYqtOLe2xZlKOdckyrplvZ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+1yShnnhfQgz+hkP9E3GPvzXeN9NaZ+pfdSJUUmmTSXNJA9vIYMBT0+m7sSpbyA+d8iaOYcXGGWmkz73/aiHWrk8uXgGLkZlkR90eLb/IuB78l460VuLBHVlCNGvlbfoS7GAWajmyOFPQmrC9qJ34eGc8YGD1H6VnHRdkB8FSCV33f2nnizAMD4YX5ZZDapoILcSxGRdb1bg8Ula3C7ZUxlVWkOpyheDCwW8CcDaobnOSTgDhRRPBu3C6eVseBuy2ODAm9sdHJN4y2+1VBAcdpNyZKixoKPXIRLam5wlxFqXtfUik="/>
    <input type="hidden" value="4ec3f3f3c091e840bb5ad89aeedb4d13" id="jschl-vc" name="jschl_vc"/>
    <!-- <input type="hidden" value="" id="jschl-vc" name="jschl_vc"/> -->
    <input type="hidden" name="pass" value="1614484696.668-ig37ytZWQ/"/>
    <input type="hidden" id="jschl-answer" name="jschl_answer"/>
  </form>

    <script type="text/javascript">
      //<![CDATA[
      (function(){
          var a = document.getElementById('cf-content');
          a.style.display = 'block';
          var isIE = /(MSIE|Trident\/|Edge\/)/i.test(window.navigator.userAgent);
          var trkjs = isIE ? new Image() : document.createElement('img');
          trkjs.setAttribute("src", "/cdn-cgi/images/trace/jschal/js/transparent.gif?ray=628739d12e994b58");
          trkjs.id = "trk_jschal_js";
          trkjs.setAttribute("alt", "");
          document.body.appendChild(trkjs);
          var cpo=document.createElement('script');
          cpo.type='text/javascript';
          cpo.src="/cdn-cgi/challenge-platform/h/g/orchestrate/jsch/v1";
          document.getElementsByTagName('head')[0].appendChild(cpo);
        }());
      //]]>
    </script>

  <div id="trk_jschal_nojs" style="background-image:url('/cdn-cgi/images/trace/jschal/nojs/transparent.gif?ray=628739d12e994b58')"> </div>
</div>

    <hr />
  </div>
</body>
</html>
tosher commented 3 years ago

Thanks, will check with gitlab.com version.

tosher commented 3 years ago

With settings:

    "gitlab_url": "https://gitlab.com",
    "api_token": "my-token-value",

All works fine, I'm able to open and edit my project's issues.

Which action you trying to do?

jonrandy commented 3 years ago

The above error was happening for all actions. However, I just tested again... and I'm seeing a totally different error for all actions:

Traceback (most recent call last):
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/base/stg_project.py", line 39, in get_project
    projects = gitlab.projects(all=True)
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/base/stg_gitlab.py", line 127, in projects
    self.cprojects = self.conn.projects.list(**kwargs)
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/base/../libs/gitlab/exceptions.py", line 267, in wrapped_f
    return f(*args, **kwargs)
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/base/../libs/gitlab/mixins.py", line 134, in list
    obj = self.gitlab.http_list(path, **data)
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/libs/gitlab/__init__.py", line 640, in http_list
    return list(GitlabList(self, url, query_data, **kwargs))
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/libs/gitlab/__init__.py", line 767, in __init__
    self._query(url, query_data, **kwargs)
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/libs/gitlab/__init__.py", line 772, in _query
    result = self._gl.http_request("get", url, query_data=query_data, **kwargs)
  File "/home/jon/.config/sublime-text-3/Packages/StGitlab/libs/gitlab/__init__.py", line 513, in http_request
    verb, url, json=json, data=data, params=params, files=files, **opts
TypeError: __init__() got an unexpected keyword argument 'json'