Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnexpectedResponseError(error, server_response) #34

Open
phamxtien opened this issue Mar 19, 2024 · 1 comment
Open

UnexpectedResponseError(error, server_response) #34

phamxtien opened this issue Mar 19, 2024 · 1 comment

Comments

@phamxtien
Copy link

Today it return error, It seems bypass captcha is not working
........
File ".../re_gpt/sync_chatgpt.py", line 135, in chat
raise UnexpectedResponseError(error, server_response)
re_gpt.errors.UnexpectedResponseError: An unexpected error occurred. Error message: 'NoneType' object is not subscriptable.

This is what the server returned:

<style global> body { font-family: Arial, Helvetica, sans-serif; } .container { display: flex; width: 100%; height: 100%; justify-content: center; align-items: center; flex-direction: column; } @Keyframes enlarge-appear { from { opacity: 0; transform: scale(75%) rotate(-90deg); }
    to {
      opacity: 1;
      transform: scale(100%) rotate(0deg);
    }
  }

  .logo {
    color: #8e8ea0;
    padding-bottom: 1.5rem;
  }

  .scale-appear {
    animation: enlarge-appear 400ms ease-out;
  }

  @media (min-width: 768px) {
    .scale-appear {
      width: 48px;
      height: 48px;
    }
  }

  .data:empty {
    display: none;
  }

  .data {
    border-radius: 5px;
    color: #8e8ea0;
    text-align: center;
    width: 100%;
    max-width: 420px;
  }

  .data ul {
    list-style: none;
    padding: 0;
  }

  .blocked-icon {
    color: #ef4444;
  }

  .message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
  }

  .explanation {
    font-size: 0.9rem;
    opacity: 50%;
    width: 100%;
    max-width: 420px;
    text-align: center;
    line-height: 1.5;
  }

  .explanation a {
    color: black;
  }

  @media (prefers-color-scheme: dark) {
    body {
      background-color: #343541;
      color: #eee;
    }

    .logo {
      color: #acacbe;
    }

    .explanation a {
      color: white;
    }
  }
</style>

Unable to load site

Please try again later. If you are using a VPN, try turning it off. Check the status page for information on outages.
[IP:123.20.85.49 | Ray ID:8670e83eebf98521]
<script>(function(){if (!document.body) return;var js = "window['__CF$cv$params']={r:'8670e83eebf98521',t:'MTcxMDg4NzQyOC45NjYwMDA='};_cpo=document.createElement('script');_cpo.nonce='',_cpo.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js',document.getElementsByTagName('head')[0].appendChild(_cpo);";var _0xh = document.createElement('iframe');_0xh.height = 1;_0xh.width = 1;_0xh.style.position = 'absolute';_0xh.style.top = 0;_0xh.style.left = 0;_0xh.style.border = 'none';_0xh.style.visibility = 'hidden';document.body.appendChild(_0xh);function handler() {var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;if (_0xi) {var _0xj = _0xi.createElement('script');_0xj.innerHTML = js;_0xi.getElementsByTagName('head')[0].appendChild(_0xj);}}if (document.readyState !== 'loading') {handler();} else if (window.addEventListener) {document.addEventListener('DOMContentLoaded', handler);} else {var prev = document.onreadystatechange || function () {};document.onreadystatechange = function (e) {prev(e);if (document.readyState !== 'loading') {document.onreadystatechange = prev;handler();}};}})();</script>
@krishna2206
Copy link
Contributor

I am also getting this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants