acheong08/ChatGPT

6.7.3 version problem?

wqjuser opened this issue · 5 comments

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

When using the V1 API method, if I add configs ['SERVER_SIDE_ARKOSE ']=True and use the gpt-4 model, OpenAI will be returned: {"error": "captcha required"} (code: 500). If I do not add configs ['SERVER_SIDE_ARKOSE']=True, status code 400 will be returned

Steps to reproduce the problem

just use V1 api method to ask

What should have happened?

should return result

Version where the problem happens

6.7.3

What Python version are you running this with?

3.10.11

What is your operating system ?

Windows

Command Line Arguments

No

Console logs

Setting PUID (You are a Plus user!): user-oEzDTm0z0Lj8lfVtyzsXXXXX:1688187432-p853r09C7ZdKDW76lq1mliqdHxIFbYToy0lhqZ2QG80%3D
Error: OpenAI: {"error":"captcha required"} (code: 500)

Setting PUID (You are a Plus user!): user-oEzDTm0z0Lj8lfVtyzsXXXXX:1688187036-l5zTarXrNsTLGw5gLYA2QFuslXp%2BmsK7dGvFqU5xHZY%3D
status code 400
Error: status code 400

Additional information

No response

@acheong08 Seems like the URL for getting arkose is down.

@wqjuser Changing the get_arkose_token method to Pengzhile's is a temporary solution

The current default is now server side akrose + captcha. The environment variable is now pretty much meaningless.

The reason for the lack of client side arkose is due to the reverse engineering of captcha being written in Go

@acheong08 Seems like the URL for getting arkose is down.

Not sure why the reason for that is. Restarting the server fixed it

Thank you. I have tried it again and there are currently no issues