Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

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

Open
MackyCoders opened this issue Aug 1, 2023 · 15 comments

Comments

@MackyCoders
Copy link

MackyCoders commented Aug 1, 2023

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

@ramon-victor
Copy link
Owner

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
Copy link
Author

oh

@kostkol87
Copy link

kostkol87 commented Aug 2, 2023

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
Copy link

alteralt commented Aug 3, 2023

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
Copy link

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

@alteralt
Copy link

alteralt commented Aug 4, 2023

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
Copy link

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
Copy link

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
Copy link

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

@NikitaLev
Copy link

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
Copy link

Does Auto Proxy do anything?

@Niilsa
Copy link

Niilsa commented Sep 7, 2023

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

@bah223
Copy link

bah223 commented Sep 7, 2023

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

@bah223
Copy link

bah223 commented Sep 7, 2023

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
Copy link

edichos commented Sep 8, 2023

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 :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests