Closed hiifeng closed 1 year ago
same here with the docker img
同样的问题
same question
same question
same error
I think it is blocked by OpenAI. It doesn't want to be used too much.
Same issue here. Something changed on the OpenAI side in the last day or so.
@dhilman Any updates on this? Going to try and run it on a vm tomorrow but I am getting the same error on M1
The error is coming from line 148 of chatgpt.go - "failed to decode response: invalid character '<' looking for beginning of value" suggests that the response received from the OpenAI API when the bot attempts to retrieve an access token is not a valid JSON object, but instead contains an HTML page or other invalid content. This could be caused by a number of issues, such as a misconfigured server or endpoint, a network connectivity problem, or an issue with the bot's code or configuration.
so how can we solve this problem?
那么我们如何解决这个问题呢?
It's caused by the addition of cloudflare protection
同样的问题
+1
Just a few hours ago, OpenAI integrated Cloudflare security into their system.
Same issue.
Maybe we should plug in here, then. https://beta.openai.com/playground
:)
you can this
It seems to be the problem of Cloudflare Captcha
. How about adding browser plugin?
Aside from Cloudflare, ChatGPT no longer outputs long-form content, if you hit the limit, it will throw a network error, or the CLI Response not in correct format! peer closed connection without sending complete message body (incomplete chunked read)
Aside from Cloudflare, ChatGPT no longer outputs long-form content, if you hit the limit, it will throw a network error, or the CLI Response not in correct format! peer closed connection without sending complete message body (incomplete chunked read)
Yes, you are quite right. I also found this problem, when I use https://chat.openai.com/chat, "network error" also occurs. I am not familiar with the go language, is there a solution?
you are quite right ,inside cf_cf_clearance token
get refreshAccessToken is 403 forbidden,because open ai does man-machine validation on the request,i thought we should find a way to around it
Closing in favor of #69 to keep everything in one place
Aside from Cloudflare, ChatGPT no longer outputs long-form content, if you hit the limit, it will throw a network error, or the CLI Response not in correct format! peer closed connection without sending complete message body (incomplete chunked read)
Yes, you are quite right. I also found this problem, when I use https://chat.openai.com/chat, "network error" also occurs. I am not familiar with the go language, is there a solution?
I'm not very familiar with Go either but I have built bots in the past and gotten past Cloudflare with Puppeteer-extra I don't think this is a Cloudflare problem though rather the incomplete chunked read that @llegomark mentioned above
Using the latest v0.2.4 version, the bot replies: Error: Couldn't get access token: failed to decode response: invalid character '<' looking for beginning of value Does anyone know what is the reason? Is it because OpenAI added cloudflare?