ChatGPT-to-API icon indicating copy to clipboard operation
ChatGPT-to-API copied to clipboard

[ERR]api code 500

Open itzdrli opened this issue 1 year ago • 5 comments

I've set the ACCESS_TOKENS and PUID right, but when I'm trying to connect the api, retruns code 500:

[GIN] 2023/06/15 - 15:32:37 | 500 |  205.402537ms |       127.0.0.1 | POST     "/v1/chat/completions"

It was working when I was using 0.2.x ver of c-t-a and also 0.3.x, and someday how it started returning 500.
ChatGPT-to-API ver: latest go version: go version go1.20.5 linux/arm64 using self-built compiled binary file

itzdrli avatar Jun 15 '23 14:06 itzdrli

Happened today too. Need to look into it

Edit: Seems to be IP based.

acheong08 avatar Jun 15 '23 14:06 acheong08

It happened a few days ago, I changed the reverse proxy and it worked, but today it doesn’t work again. I want to deploy a reverse proxy myself, does anyone know how to do it?

fz68 avatar Jun 16 '23 01:06 fz68

https://github.com/acheong08/ChatGPT-Proxy-V4

But since this is IP based, it won't help much

acheong08 avatar Jun 16 '23 08:06 acheong08

Will using the http_proxy variable help with this? I set it up, but Open AI still returns my exact IP in the 500 code body response.

bi1101 avatar Jul 05 '23 10:07 bi1101

It happened a few days ago, I changed the reverse proxy and it worked, but today it doesn’t work again. I want to deploy a reverse proxy myself, does anyone know how to do it?

Were you able to bypass it?

bi1101 avatar Jul 06 '23 04:07 bi1101