Coder Social home page Coder Social logo

flyingpot / chatgpt-proxy Goto Github PK

View Code? Open in Web Editor NEW
113.0 2.0 32.0 43 KB

A Cloudflare-bypass proxy for ChatGPT

Home Page: https://chatgpt-proxy-gamma.vercel.app

License: The Unlicense

Dockerfile 1.05% Go 98.95%
chatgpt chatgpt-api cloudflare-bypass

chatgpt-proxy's Introduction

flyintpot's github stats

chatgpt-proxy's People

Contributors

flyingpot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chatgpt-proxy's Issues

最新版运行了两天,报错:”openai:403“

两天前更新的最新版,第一次运行失败了,第二次又运行起来了,
直到今天上午,chat-web-share的后台突然报错openai:403,前端访问后端提示502
然后回退chatgpt-proxy的一个版本,就没问题了。

chatgpt-proxy的报错等一下贴出来。

vercel部署后有一堆错误

[31m2023/06/30 18:46:20 [Recovery] 2023/06/30 - 18:46:20 panic recovered:
interface conversion: *bridge.ResponseWriter is not http.Flusher: missing method Flush
/vercel/path0/.vercel/cache/golang/src/runtime/iface.go:92 (0x40c364)
/vercel/path0/.vercel/cache/golang/src/runtime/iface.go:429 (0x40d1dc)
/vercel/go/pkg/mod/github.com/gin-gonic/[email protected]/response_writer.go:123 (0xa70798)
/vercel/path0/api/handler.go:222 (0xa79d8f)
/vercel/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:174 (0xa7a2ca)
/vercel/path0/api/handler.go:258 (0xa7a2b1)
/vercel/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:174 (0xa6f5c1)
/vercel/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:102 (0xa6f5ac)
/vercel/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:174 (0xa6e6e6)
/vercel/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:240 (0xa6e6c9)
/vercel/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:174 (0xa6d74a)
/vercel/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:620 (0xa6d3d1)
/vercel/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:576 (0xa6cefc)
/vercel/path0/api/handler.go:124 (0xa78c75)
/vercel/path0/.vercel/cache/golang/src/net/http/server.go:2122 (0x6dcaee)
/vercel/go/pkg/mod/github.com/vercel/[email protected]/go/bridge/bridge.go:118 (0xa84047)
/vercel/go/pkg/mod/github.com/vercel/[email protected]/go/bridge/bridge.go:143 (0xa8490c)
/vercel/path0/.vercel/cache/golang/src/reflect/value.go:586 (0x4c1606)
/vercel/path0/.vercel/cache/golang/src/reflect/value.go:370 (0x4c08bb)
/vercel/go/pkg/mod/github.com/aws/[email protected]/lambda/handler.go:293 (0xa7e0fc)
/vercel/go/pkg/mod/github.com/aws/[email protected]/lambda/handler.go:198 (0xa7d17e)
/vercel/go/pkg/mod/github.com/aws/[email protected]/lambda/rpc_function.go:100 (0xa80469)
/vercel/path0/.vercel/cache/golang/src/reflect/value.go:586 (0x4c1606)
/vercel/path0/.vercel/cache/golang/src/reflect/value.go:370 (0x4c08bb)
/vercel/path0/.vercel/cache/golang/src/net/rpc/server.go:382 (0x958f05)
/vercel/path0/.vercel/cache/golang/src/runtime/asm_amd64.s:1598 (0x4699e0)
�[0m
[GIN] 2023/06/30 - 18:46:20 | 200 |  761.489733ms |                 | GET      "/api/models?history_and_training_disabled=false"

会话数据

建议拉取会话数据时,不要用流,网络不好时,会出现空白现象

建议

老哥有空可以建个V群,方便大家一起讨论

GPT-4 会提示 status:403 Forbidden

看日志提示:
2023/06/28 03:04:11 Request failed with status code: 403, status: Forbidden, body: {"detail":"Our systems have detected unusual activity from your system. Please try again later."}

请问这是不是OpenAi开始检测了?看日志发现很多403了,昨天还可以用的。

更新方法

  1. 刚看到大佬发布了新版本,而我是在一台Windows电脑上用go build部署的,请问如果我要更新到最新版,是不是需要重新下载解压出来文件夹,再进入文件夹,然后运行go build部署?
  2. 怎么指定端口呀?用cmd在文件夹里运行PORT=8080 ./chatgpt-proxy提示PORT不是命令

又开始了: Forbidden, body: {"detail":"Our systems have detected unusual activity from your system. Please try again later. 真是服了

2023/06/29 23:25:02 Request failed with status code: 403, status: Forbidden, body: {"detail":"Our systems have detected unusual activity from your system. Please try again later."}
[GIN] 2023/06/29 - 23:27:43 | 403 |  609.704191ms |   77.247.125.43 | POST     "/api/conversation"
2023/06/29 23:27:43 Request failed with status code: 403, status: Forbidden, body: {"detail":"Our systems have detected unusual activity from your system. Please try again later."}
2023/06/29 23:28:22 Request failed with status code: 403, status: Forbidden, body: {"detail":"Our systems have detected unusual activity from your system. Please try again later."}
[GIN] 2023/06/29 - 23:28:22 | 403 |  896.084821ms |   77.247.125.43 | POST     "/api/conversation"
2023/06/29 23:28:56 Request failed with status code: 403, status: Forbidden, body: {"detail":"Our systems have detected unusual activity from your system. Please try again later."}
[GIN] 2023/06/29 - 23:28:56 | 403 |  482.054491ms |   77.247.125.43 | POST     "/api/conversation"




2023/06/29 23:31:08 Request failed with status code: 403, status: Forbidden, body: {"detail":"Our systems have detected unusual activity from your system. Please try again later."}
[GIN] 2023/06/29 - 23:31:08 | 403 |  1.053896387s |  122.190.192.88 | POST     "/api/conversation"
image

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.