xqdoo00o / ChatGPT-to-API

Scalable unofficial ChatGPT API for production.
656 stars 129 forks source link

Error getting Arkose token: (0x1236ec0,0xc000406350) #70

Open bi1101 opened 3 months ago

bi1101 commented 3 months ago

Hi sir. This error happen recently, (updated with latest version, clean local ip)

Error getting Arkose token:  (0x1236ec0,0xc000406350)
[GIN] 2024/06/19 - 14:28:00 | 500 |  2.192051119s |  103.221.221.73 | POST     "/v1/chat/completions"
maxduke commented 3 months ago

Recently Arkose changed its CDN provider ( From Clouldflare to Amazon Cloudfront) and ipv6 access is not enabled yet. Maybe this could be a reason.

gaoasi commented 3 months ago

Hi sir. This error happen recently, (updated with latest version, clean local ip)

Error getting Arkose token:  (0x1236ec0,0xc000406350)
[GIN] 2024/06/19 - 14:28:00 | 500 |  2.192051119s |  103.221.221.73 | POST     "/v1/chat/completions"

same error: export these Environment variables solved problems : export UA='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' export CLIENT_PROFILE='chrome_124'

xqdoo00o commented 3 months ago

Is this arkose a login issue or chat issue?

bi1101 commented 3 months ago

Is this arkose a login issue or chat issue?

This seems to be a chat issue, the problem however has resolved it self without me touching anything.

xqdoo00o commented 3 months ago

OK

bi1101 commented 3 months ago

The issue is now back, interestingly, some HAR has this error while some don't

xqdoo00o commented 3 months ago

just re-export har file, maybe the har file which throw error is too outdate

bi1101 commented 3 months ago

The code doesn't recognize any arkose from new HAR. I tried multiple times

xqdoo00o commented 3 months ago

Could you open the har file and search the text 35536E1E-65B4-4D96-9D97-6ADB7EFF8147 ? If there is none, means you account gpt-4 don't need arkose, try other account.

catsimple commented 3 months ago
stderr: Error getting Arkose token:  (0xc0e8e0,0xc000762000)
stdout: [GIN] 2024/06/20 - 18:00:31 | 500 |  2.946622401s |    192.168.21.8 | POST     "/v1/chat/completions"
stderr: Error getting Arkose token:  (0xc0e8e0,0xc0002ca000)
stdout: [GIN] 2024/06/20 - 18:00:35 | 500 |  1.927039662s |    192.168.21.8 | POST     "/v1/chat/completions"
stderr: Error getting Arkose token:  (0xc0e8e0,0xc0002ca000)

your network is block by cloudflare

bi1101 commented 3 months ago

Could you open the har file and search the text 35536E1E-65B4-4D96-9D97-6ADB7EFF8147 ? If there is none, means you account gpt-4 don't need arkose, try other account.

It seens that none of my accounts can get chat arkose,

stderr: Error getting Arkose token:  (0xc0e8e0,0xc000762000)
stdout: [GIN] 2024/06/20 - 18:00:31 | 500 |  2.946622401s |    192.168.21.8 | POST     "/v1/chat/completions"
stderr: Error getting Arkose token:  (0xc0e8e0,0xc0002ca000)
stdout: [GIN] 2024/06/20 - 18:00:35 | 500 |  1.927039662s |    192.168.21.8 | POST     "/v1/chat/completions"
stderr: Error getting Arkose token:  (0xc0e8e0,0xc0002ca000)

your network is block by cloudflare

I did tried to turn on Warp 1.1.1.1 on my Local PC but seems no success.

zexry619 commented 3 months ago

Is it possible that if the following appears:

{
  "error": "Our systems have detected unusual activity coming from your system. Please try again later."
}

Then it will automatically regenerate into another account? Because this often happens and needs to be regenerated.

@xqdoo00o

bi1101 commented 3 months ago

I think it has something to do with the HAR, I tried multiple accounts Free, Team, and Plus but all failed to get arkose.

Jaspix commented 1 month ago

Is it possible that if the following appears:

{
  "error": "Our systems have detected unusual activity coming from your system. Please try again later."
}

Then it will automatically regenerate into another account? Because this often happens and needs to be regenerated.

I also get this error but only sometimes, retrying fixes it, but it makes it useless when you have to make multiple API calls

[GIN] 2024/08/22 - 03:58:41 | 200 |  3.285066546s |       127.0.0.1 | POST     "/v1/chat/completions"
Error getting Arkose token:  a valid HAR file which contains gpt-4 arkose is required
[GIN] 2024/08/22 - 03:59:13 | 500 |  2.540612515s |       127.0.0.1 | POST     "/v1/chat/completions"
[GIN] 2024/08/22 - 04:01:18 | 200 |  7.335115459s |       127.0.0.1 | POST     "/v1/chat/completions"