gragland / chatgpt-chrome-extension

A ChatGPT Chrome extension. Integrates ChatGPT into every text box on the internet.
MIT License
2.88k stars 478 forks source link

ChatGPTAPI error 404 #24

Closed 2217092594 closed 1 year ago

2217092594 commented 1 year ago

My nodejs version: v18.13.0 My operating system: windows

Just a few hours ago, the system was running well, but when I used it again, the system reported this error, as follows:

√ Connecting to ChatGPT × Training ChatGPT (1 plugin rules) file:///D:/chatgpt/chatgpt-chrome-extension-main/node_modules/chatgpt/build/index.js:1598 const error = new ChatGPTError(result.error.message); ^

ChatGPTError: ChatGPTAPI error 404 at ChatGPTAPIBrowser.sendMessage (file:///D:/chatgpt/chatgpt-chrome-extension-main/node_modules/chatgpt/build/index.js:1598:23) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Conversation.sendMessage (file:///D:/chatgpt/chatgpt-chrome-extension-main/server.js:28:17) at async oraPromise (file:///D:/chatgpt/chatgpt-chrome-extension-main/node_modules/ora/index.js:368:18) at async start (file:///D:/chatgpt/chatgpt-chrome-extension-main/server.js:79:3) { statusCode: 404, statusText: '' }

Node.js v18.13.0

When I read the source code, I found that one of the connections could not be accessed https://chat.openai.com/backend-api/conversation

When I access this connection through a browser, the response is as follows:

{ "detail": "Method Not Allowed" }