Giter Club home page Giter Club logo

Comments (8)

Wanghh666 avatar Wanghh666 commented on May 29, 2024

看看你的open_ai_api_base的键值对 是不是正确的。

from chatgpt-on-wechat.

sugar-orange666 avatar sugar-orange666 commented on May 29, 2024

我也是这个问题

from chatgpt-on-wechat.

lukiugi avatar lukiugi commented on May 29, 2024

看看你的open_ai_api_base的键值对 是不是正确的。

我之前用的是docker部署,只配置了proxy,没配置base,现在用了个服务器域名来做base
2024-04-30 21:12:01 [WARNING][2024-04-30 13:12:01][chat_gpt_bot.py:150] - [CHATGPT] APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 400 Bad Request')))
又另外报错

from chatgpt-on-wechat.

lukiugi avatar lukiugi commented on May 29, 2024

这是我的docker配置文件

from chatgpt-on-wechat.

lukiugi avatar lukiugi commented on May 29, 2024
企业微信截图_17144857582472

from chatgpt-on-wechat.

lukiugi avatar lukiugi commented on May 29, 2024

chatgpt-on-wechat | [WARNING][2024-04-29 11:35:28][chat_gpt_bot.py:150] - [CHATGPT] APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f456ed49f30>: Failed to establish a new connection: [Errno 111] Connection refused')))
GPT: 这个警告说明在与 OpenAI 通信时,尝试连接代理时出现了连接拒绝的错误(Connection refused)。这可能是由于代理设置错误、代理服务器不可用或网络问题等原因导致的。
应该是代理的设置问题,但是不知道问题出现在哪里

from chatgpt-on-wechat.

sbcxk avatar sbcxk commented on May 29, 2024

我的docker配置如下,能够正常运行使用,可以试下把base最后后面的/去掉?
image

from chatgpt-on-wechat.

Neoisava avatar Neoisava commented on May 29, 2024

我也是这个问题,在open_ai_api_base改好了base_url,不管怎么弄都会转到api.openai.com上面去。

from chatgpt-on-wechat.

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.