ai-shifu / ChatALL

Concurrently chat with ChatGPT, Bing Chat, Bard, Alpaca, Vicuna, Claude, ChatGLM, MOSS, 讯飞星火, 文心一言 and more, discover the best answers
https://chatall.ai
Apache License 2.0
15.14k stars 1.63k forks source link

[BUG] TypeError: Cannot read properties of undefined (reading 'token') #905

Open Fossibaer opened 1 month ago

Fossibaer commented 1 month ago

Describe the bug / 描述问题

ChatGPT 3.5 shows this error for every search query: TypeError: Cannot read properties of undefined (reading 'token')

To Reproduce / 复现步骤

I'm logged in to ChatGPT; I ask a question and click send to. Then the error message appears.

Expected behavior / 期望行为

I expected an answer

Screenshots / 截图

Error

Devtools Info / 开发者工具信息

index.js:1 installing... 42index.js:1 doing fixed mapping App.vue:211 chat changed 58index.js:1 doing fixed mapping matomo.chatall.ai//matomo.js:1
Failed to load resource: net::ERR_CERT_DATE_INVALID 7index.js:1 doing fixed mapping vue-matomo.js:1 [vue-matomo] An error occurred trying to load https://matomo.chatall.ai//matomo.js. If the file exists you may have an ad- or trackingblocker enabled. (anonymous) @ vue-matomo.js:1 Show 1 more frame Show less App.vue:211 chat changed 23index.js:1 doing fixed mapping App.vue:211 chat changed 23index.js:1 doing fixed mapping App.vue:211 chat changed 16index.js:1 doing fixed mapping ChatGPTBot.js:106 Loading Arkose API Script GPT-3.5@ChatGPT 7index.js:1 doing fixed mapping ChatGPTBot.js:117 Arkose API Script loaded 6matomo.js:28 Matomo not loaded after waiting for 10000ms (anonymous) @ matomo.js:28 chatgpt.com/backend-api/sentinel/chat-requirements:1 Failed to load resource: the server responded with a status of 401 () ChatGPTBot.js:180 Error get chat-requirements token: de _sendPrompt @ ChatGPTBot.js:180 ChatGPTBot.js:181 ChatGPT response: ProgressEvent _sendPrompt @ ChatGPTBot.js:181 Bot.js:204 Error send prompt to GPT-3.5@ChatGPT: TypeError: Cannot read properties of undefined (reading 'token') at l._sendPrompt (ChatGPTBot.js:184:21) at async o (Bot.js:186:63) at async Bot.js:132:21 sendPrompt @ Bot.js:204 chatgpt.com/backend-api/sentinel/chat-requirements:1 Failed to load resource: the server responded with a status of 401 () ChatGPTBot.js:180 Error get chat-requirements token: de _sendPrompt @ ChatGPTBot.js:180 ChatGPTBot.js:181 ChatGPT response: ProgressEvent _sendPrompt @ ChatGPTBot.js:181 Bot.js:204 Error send prompt to GPT-3.5@ChatGPT: TypeError: Cannot read properties of undefined (reading 'token') at l._sendPrompt (ChatGPTBot.js:184:21) at async o (Bot.js:186:63) at async Bot.js:132:21 sendPrompt @ Bot.js:204 14index.js:1 doing fixed mapping App.vue:211 chat changed 30index.js:1 doing fixed mapping App.vue:211 chat changed 16index.js:1 doing fixed mapping App.vue:211 chat changed 198index.js:1 doing fixed mapping App.vue:211 chat changed 23index.js:1 doing fixed mapping chatgpt.com/backend-api/sentinel/chat-requirements:1 Failed to load resource: the server responded with a status of 401 () ChatGPTBot.js:180 Error get chat-requirements token: de _sendPrompt @ ChatGPTBot.js:180 ChatGPTBot.js:181 ChatGPT response: ProgressEvent _sendPrompt @ ChatGPTBot.js:181 Bot.js:204 Error send prompt to GPT-3.5@ChatGPT: TypeError: Cannot read properties of undefined (reading 'token') at l._sendPrompt (ChatGPTBot.js:184:21) at async o (Bot.js:186:63) at async Bot.js:132:21 sendPrompt @ Bot.js:204 App.vue:211 chat changed 16index.js:1 doing fixed mapping 2App.vue:211 chat changed 16index.js:1 doing fixed mapping App.vue:211 chat changed 16index.js:1 doing fixed mapping App.vue:211 chat changed 16index.js:1 doing fixed mapping App.vue:211 chat changed 16index.js:1 doing fixed mapping App.vue:211 chat changed 16index.js:1 doing fixed mapping App.vue:211 chat changed 16index.js:1 doing fixed mapping 5matomo.js:28 Matomo not loaded after waiting for 10000ms (anonymous) @ matomo.js:28 183index.js:1 doing fixed mapping 273Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox. index.js:1 doing fixed mapping

OS and version / 操作系统版本

Windows 10

ChatALL version / ChatALL 版本

v1.82.107

Network / 网络

No

Additional context / 其它相关信息

No response

OttisWang commented 2 hours ago

I also seeing this issue with my W11 build 22631 system. Even I've insert the API key but the ChatGPT3.5 always shows: TypeError: Cannot read properties of undefined (reading 'token')