Git Product home page Git Product logo

錯誤request error: SOCKSHTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSHTTPSConnection object at 0x7f1008623df0>: Failed to establish a new connection: [Errno 111] Connection refused')) about chatgpt-web HOT 14 OPEN

liangyang666 avatar liangyang666 commented on July 20, 2024
錯誤request error: SOCKSHTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))

from chatgpt-web.

Comments (14)

LiangYang666 avatar LiangYang666 commented on July 20, 2024

您好,

  1. 关于报错,是由于网络问题报的错,解释如4
  2. 关于端口,您需要进入flask_main文件中最下面的main函数,如下图,将5000改为80
    image
  3. 免费版有余额即可使用,我的也是免费账号,使用的赠送余额
  4. 大陆和**地区使用api都是需要代理的,代理地区我选择美国、日本、新加坡、韩国、德国都是可以使用的

from chatgpt-web.

ms2546088 avatar ms2546088 commented on July 20, 2024

LiangYang666 感謝大神您的回覆
請問您關於4.大陆和**地区使用api都是需要代理的,代理地区我选择美国、日本、新加坡、韩国、德国都是可以使用的.跪求您指路

from chatgpt-web.

LiangYang666 avatar LiangYang666 commented on July 20, 2024

LiangYang666 感謝大神您的回覆 請問您關於4.大陆和**地区使用api都是需要代理的,代理地区我选择美国、日本、新加坡、韩国、德国都是可以使用的.跪求您指路

这需要有一定的代理上网基础,需要购买节点,在大陆搞学术和上github等使用代理会比较方便,您如果在**的话可能没什么必要就不太了解,您麻烦留个邮箱,我把购买节点的网址发您

from chatgpt-web.

ms2546088 avatar ms2546088 commented on July 20, 2024

LiangYang666 再次感謝大神您的回覆
[email protected]
請問您 "我把购买节点的网址发您" 這個需要購買嗎?

from chatgpt-web.

LiangYang666 avatar LiangYang666 commented on July 20, 2024

LiangYang666 再次感謝大神您的回覆 [email protected] 請問您 "我把购买节点的网址发您" 這個需要購買嗎?

没有没有,不是大神
是需要购买的,因为代理上网的含义是通过位于其它国家的代理服务器上网,他们是需要付费的,我用的是付费的,当然也有免费的但不稳定,您可以自己去找一找,我把链接发给您了,您可以在网址上了解下

from chatgpt-web.

ms2546088 avatar ms2546088 commented on July 20, 2024

LiangYang666再次感謝您
我安裝到今天為止所有的github ChatGPT-Web 您寫這個版本真的很好
我可以用很多方法架設您的本版

from chatgpt-web.

LiangYang666 avatar LiangYang666 commented on July 20, 2024

LiangYang666再次感謝您
我安裝到今天為止所有的github ChatGPT-Web 您寫這個版本真的很好
我可以用很多方法架設您的本版

嘿嘿,谢谢,后面弄好了用的好的话点个star啦

from chatgpt-web.

ms2546088 avatar ms2546088 commented on July 20, 2024

LiangYang666再次感謝您 的指導
以點star

from chatgpt-web.

Tonywhitemin avatar Tonywhitemin commented on July 20, 2024

@LiangYang666 您好:
我是台灣的用戶,看到您這個專案覺得相當的不錯想參考
但執行時也有遇到這狀況...
Screenshot from 2023-04-17 23-02-05
請問我還有什麼方式可以調整嗎?謝謝您

from chatgpt-web.

LiangYang666 avatar LiangYang666 commented on July 20, 2024

因为**地区的ip也被openai禁了,因此需要代理

from chatgpt-web.

Tonywhitemin avatar Tonywhitemin commented on July 20, 2024

感謝 @LiangYang666 回覆,不過我使用ChatGPT跟使用openAI套件目前是正常的,還是我有所誤會您說的ip被禁止的意思...?

from chatgpt-web.

LiangYang666 avatar LiangYang666 commented on July 20, 2024

您好,如果能够正常使用的话,可以尝试将config.yaml中的HTTPS_PROXY那一行删除

from chatgpt-web.

Tonywhitemin avatar Tonywhitemin commented on July 20, 2024

可以了!! 感謝 @LiangYang666 大神!給星星一點小意思,但真心感謝您!!

from chatgpt-web.

WZ1223Liquid avatar WZ1223Liquid commented on July 20, 2024

感谢两位的对话,我也成功部署了API,感谢!

from chatgpt-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.