NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Bug] unable_to_access

Open PEKEW opened this issue 3 years ago • 15 comments

Describe the bug

进行任意对话无法正常回复 返回 You are unable to access api.openai.com

To Reproduce

进行任意对话

Expected behavior

正常对话

Screenshots

image

Deployment

  • [ ] Docker
  • [x] Vercel
  • [ ] Server

Desktop (please complete the following information):

  • Win 11
  • Chrome
  • V2.9.4

Smartphone (please complete the following information):

  • None
  • None
  • None
  • None

Additional Logs



<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>Attention Required! | Cloudflare</title>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<script type="text/javascript" nonce="e963282cfadf4e298039f857116" src="//injections.adguard.org?ts=1700105587228&amp;type=content-script&amp;dmn=peike.phd&amp;url=https%3A%2F%2Fpeike.phd%2Fapi%2Fopenai%2Fv1%2Fchat%2Fcompletions&amp;app=chrome.exe&amp;css=3&amp;js=1&amp;rel=1&amp;rji=1&amp;sbe=1"></script>
<script type="text/javascript" nonce="e963282cfadf4e298039f857116" src="//injections.adguard.org?ts=1700105587228&amp;name=AdGuard%20Extra&amp;name=AdGuard%20Popup%20Blocker&amp;type=user-script"></script><link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" />
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" /><![endif]-->
<style>body{margin:0;padding:0}</style>


<!--[if gte IE 10]><!-->
<script>
  if (!navigator.cookieEnabled) {
    window.addEventListener('DOMContentLoaded', function () {
      var cookieEl = document.getElementById('cookie-alert');
      cookieEl.style.display = 'block';
    })
  }
</script>
<!--<![endif]-->


</head>
<body>
  <div id="cf-wrapper">
    <div class="cf-alert cf-alert-error cf-cookie-error" id="cookie-alert" data-translate="enable_cookies">Please enable cookies.</div>
    <div id="cf-error-details" class="cf-error-details-wrapper">
      <div class="cf-wrapper cf-header cf-error-overview">
        <h1 data-translate="block_headline">Sorry, you have been blocked</h1>
        <h2 class="cf-subheadline"><span data-translate="unable_to_access">You are unable to access</span> api.openai.com</h2>
      </div><!-- /.header -->

      <div class="cf-section cf-highlight">
        <div class="cf-wrapper">
          <div class="cf-screenshot-container cf-screenshot-full">
            
              <span class="cf-no-screenshot error"></span>
            
          </div>
        </div>
      </div><!-- /.captcha-container -->

      <div class="cf-section cf-wrapper">
        <div class="cf-columns two">
          <div class="cf-column">
            <h2 data-translate="blocked_why_headline">Why have I been blocked?</h2>

            <p data-translate="blocked_why_detail">This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.</p>
          </div>

          <div class="cf-column">
            <h2 data-translate="blocked_resolve_headline">What can I do to resolve this?</h2>

            <p data-translate="blocked_resolve_detail">You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.</p>
          </div>
        </div>
      </div><!-- /.section -->

      <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">
  <p class="text-13">
    <span class="cf-footer-item sm:block sm:mb-1">Cloudflare Ray ID: <strong class="font-semibold">826df96885e1109b</strong></span>
    <span class="cf-footer-separator sm:hidden">&bull;</span>
    <span id="cf-footer-item-ip" class="cf-footer-item hidden sm:block sm:mb-1">
      Your IP:
      <button type="button" id="cf-footer-ip-reveal" class="cf-footer-ip-reveal-btn">Click to reveal</button>
      <span class="hidden" id="cf-footer-ip">2a06:98c0:3600::103</span>
      <span class="cf-footer-separator sm:hidden">&bull;</span>
    </span>
    <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>
    
  </p>
  <script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>
</div><!-- /.error-footer -->


    </div><!-- /#cf-error-details -->
  </div><!-- /#cf-wrapper -->

  <script>
  window._cf_translation = {};
  
  
</script>

</body>
</html>

PEKEW avatar Nov 16 '23 07:11 PEKEW

me too

yimengyisheng avatar Nov 16 '23 07:11 yimengyisheng

me too

It works well now, but I don't know why

PEKEW avatar Nov 16 '23 08:11 PEKEW

me too

jaysonjh avatar Nov 16 '23 08:11 jaysonjh

me too

It works well now, but I don't know why

openai testing in production that's why hahahaha

H0llyW00dzZ avatar Nov 16 '23 08:11 H0llyW00dzZ

me too

It works well now, but I don't know why

openai testing in production that's why hahahaha

really?

gusizhu avatar Nov 16 '23 09:11 gusizhu

me too

It works well now, but I don't know why

openai testing in production that's why hahahaha

really?

no just kidding hahaha

H0llyW00dzZ avatar Nov 16 '23 09:11 H0llyW00dzZ

不知道什么情况,换了好多ip都不行

MengYingjie avatar Nov 16 '23 09:11 MengYingjie

Bot detected the issue body's language is not English, translate it automatically.


I don’t know what’s going on, but it doesn’t work after changing many IP addresses.

Issues-translate-bot avatar Nov 16 '23 09:11 Issues-translate-bot

Same for me.

I can access openai-api by the python lib openai with the same API-key and the same IP. Perhaps there's some bug in this repo?

syr-cn avatar Nov 16 '23 11:11 syr-cn

I meet this issue while reporting this problem, but now everything is okay, and I didn't do anything. And now, I can't reproduce this problem anymore. I tried changing the IP and routing rules, and everything is working fine

PEKEW avatar Nov 16 '23 11:11 PEKEW

https://github.com/Yidadaa/ChatGPT-Next-Web/issues/3286#issuecomment-1814727025

devyujie avatar Nov 16 '23 15:11 devyujie

same problem here

MrPeterJin avatar Nov 17 '23 01:11 MrPeterJin

i had the same problem on gpt4, but gpt3.5 works well

quantoh7162 avatar Nov 17 '23 01:11 quantoh7162

#3286

Yidadaa avatar Nov 17 '23 03:11 Yidadaa

Bot detected the issue body's language is not English, translate it automatically.


#3286

Issues-translate-bot avatar Nov 17 '23 03:11 Issues-translate-bot