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

ERROR: [cws.api.routers.chat] <OpenaiWebException> OpenaiWebException: [403] #402

Open
JackyCai9527 opened this issue Mar 20, 2024 · 0 comments

Comments

@JackyCai9527
Copy link

webapi又变了吗,请求又不行了

        <p>Unable to load site</p>
      </div>
      <span class="explanation">
        Please try again later. If you are using a VPN, try turning it off.
        Check the
        <a href="https://status.openai.com/" target="_new">status page</a> for
        information on outages.
      </span>
      <br />
      <span class="explanation"> [IP:142.171.36.54 | Ray ID:8671ab66c8302aa7] </span>
    </div>
  <script>(function(){if (!document.body) return;var js = "window['__CF$cv$params']={r:'8671ab66c8302aa7',t:'MTcxMDg5NTQyMi41MzUwMDA='};_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></body>
</html>

traceback:
/app/backend/api/routers/chat.py:356 in chat
/app/backend/api/sources/openai_web.py:412 in complete
/app/backend/api/sources/openai_web.py:153 in _check_response
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

1 participant