0xacx / chatGPT-shell-cli

Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required.
https://gptshell.cc
MIT License
1.05k stars 151 forks source link

curl: (35) error:0A000126:SSL routines::unexpected eof while reading #72

Closed haso2007 closed 1 year ago

haso2007 commented 1 year ago

I can use the cli week ago, but now when I try to prompt in the shell, it show above error. It look like the curl error itself, and I try "curl https://api.openai.com/v1/chat/completions" in the shell, it show the same error. How I can try to debug the error. Or the opneAi api alread change something to block the access from "curl"?

haso2007 commented 1 year ago

It looks my IP is block by the openai, if I change use a openai api proxy to replace the api.openai.com, then it works again.