linweiyuan / go-chatgpt-api

一个尝试绕过 Cloudflare 来使用 ChatGPT 接口的程序
MIT License
1.43k stars 445 forks source link

chatgpt接口的health_check失败,导致platform接口也不能用。 #250

Closed crazyqin closed 1 year ago

crazyqin commented 1 year ago

这两个接口其实是独立的,chatgpt的health_check虽然失败,但是不影响platform的接口使用。 希望改一下。

linweiyuan commented 1 year ago

其实 platform 反而是附加的,因为完全可以直连官方

详细描述下你的使用场景,我看下是否合理,大概要怎么改

crazyqin commented 1 year ago

自己有4的api ,但是不能直连,所以需要这个接口部署到vps来中转… 试过几个中转的项目,只有这个能流式输出…

---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2023年09月05日 22:52 | | 收件人 | linweiyuan/go-chatgpt-api @.> | | 抄送人 | crazyqin @.>, Author @.> | | 主题 | Re: [linweiyuan/go-chatgpt-api] chatgpt接口的health_check失败,导致platform接口也不能用。 (Issue #250) |

其实 platform 反而是附加的,因为完全可以直连官方

详细描述下你的使用场景,我看下是否合理,大概要怎么改

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

linweiyuan commented 1 year ago

提示 Health check failed xxx?

crazyqin commented 1 year ago

Looks like you have bean blocked by OpenAI, please change to a new IP or have a try with WARP.

---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2023年09月05日 23:03 | | 收件人 | linweiyuan/go-chatgpt-api @.> | | 抄送人 | crazyqin @.>, Author @.> | | 主题 | Re: [linweiyuan/go-chatgpt-api] chatgpt接口的health_check失败,导致platform接口也不能用。 (Issue #250) |

提示 Health check failed xxx?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

linweiyuan commented 1 year ago

有什么顾虑不用 warp 吗

linweiyuan commented 1 year ago
services:
  go-chatgpt-api:
    container_name: go-chatgpt-api
    image: linweiyuan/go-chatgpt-api
    ports:
      - 8080:8080
    environment:
      - TZ=Asia/Shanghai
      - PROXY=socks5://chatgpt-proxy-server-warp:65535
    depends_on:
      - chatgpt-proxy-server-warp
    restart: unless-stopped

  chatgpt-proxy-server-warp:
    container_name: chatgpt-proxy-server-warp
    image: linweiyuan/chatgpt-proxy-server-warp
    restart: unless-stopped
crazyqin commented 1 year ago

wrap下次一定,现在我是删掉了health_check重新编译,挂载到容器里运行了。

---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2023年09月05日 23:10 | | 收件人 | linweiyuan/go-chatgpt-api @.> | | 抄送人 | crazyqin @.>, Author @.> | | 主题 | Re: [linweiyuan/go-chatgpt-api] chatgpt接口的health_check失败,导致platform接口也不能用。 (Issue #250) |

services: go-chatgpt-api: container_name: go-chatgpt-apiimage: linweiyuan/go-chatgpt-apiports:

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>