ramon-victor / freegpt-webui

GPT 3.5/4 with a Chat Web UI. No API key required.
https://freegpt-webui-chimera.ramonvc.repl.co
GNU General Public License v3.0
5.71k stars 1.29k forks source link

{"_action":"_ask","error":"an error occurred list index out of range","success":false} #167

Open MackyCoders opened 1 year ago

MackyCoders commented 1 year ago

I literally installed all the packages + I updated it + I did all i was suppose to but it just says this.

ramon-victor commented 1 year ago

Your connection has some blockage that is interfering with the connection with the API providers. You can try using proxy or vpn to solve the problem.

MackyCoders commented 1 year ago

oh

kostkol87 commented 1 year ago

after an hour usage I faced with the same issue =( I'm using latest docker image, really it seems like some network issue: container deletion doesn't help =(

alteralt commented 1 year ago

I have the same problem. It works fine from the Russian ip. On a remote server in the Netherlands, an error

I removed the except and found the error location image

Karabok-coder commented 1 year ago

Have you solved this problem yet? I am facing the same

alteralt commented 1 year ago

I have the same problem. It works fine from the Russian ip. On a remote server in the Netherlands, an error

I removed the except and found the error location image

To solve the problem, I use a proxy with a Russian IP address

ZYpS-leader commented 1 year ago

bros i've got the solution for this answer! just change your lang into "en_US" and then it was solved. it really works! And you can speak any languange within the english mode.

kostkol87 commented 1 year ago

The problem was solved by itself =) By the way, Russian IP is not the solution, cause I faced with this issue using last one.

letimvkocmoc commented 1 year ago

Anyone solved this problem? Everything worked and now I got this error all day.

NikitaLev commented 1 year ago

deployed and everything worked locally for several days, but then this error appeared. I will add that: "{"_action":"_ask","error":"an error occurred list index out of range","success":false}", is written by the chat itself. and in the console in parallel writes this error:

Using g4f.Provider.Providers.ChatgptAi provider list index out of range <traceback object at 0x000001D9589CBD00> 127.0.0.1 - - [11/Aug/2023 02:30:18] "POST /backend-api/v2/conversation HTTP/1.1" 400 -

I hope this helps in some way to find the problem.

krishangnaikar commented 1 year ago

Does Auto Proxy do anything?

Niilsa commented 1 year ago

You can change to GPT 3.5 from GPT 4, it works from me (from China with vpn)

bah223 commented 1 year ago

faced the same problem. error when using the GPT-4 model. vpn and updates don't work

bah223 commented 1 year ago

no vpn helps error:

Using g4f.Provider.Providers.ChatgptAi provider list index out of range <traceback object at 0x7f71ae992600> 127.0.0.1 - - [07/Sep/2023 22:08:46] "POST /backend-api/v2/conversation HTTP/1.1" 400 -

edichos commented 1 year ago

no vpn helps error:

Using g4f.Provider.Providers.ChatgptAi provider list index out of range <traceback object at 0x7f71ae992600> 127.0.0.1 - - [07/Sep/2023 22:08:46] "POST /backend-api/v2/conversation HTTP/1.1" 400 -

the same one :(