Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot say "Sorry, you need to login first to access this service." #29

Closed
Am1nCmd opened this issue May 2, 2023 · 4 comments
Closed

Bot say "Sorry, you need to login first to access this service." #29

Am1nCmd opened this issue May 2, 2023 · 4 comments

Comments

@Am1nCmd
Copy link

Am1nCmd commented May 2, 2023

I already login and using new cookies but bot always response like that

here's the logs

[HAL] Prompt: hello [HAL] UnauthorizedRequest: Sorry, you need to login first to access this service. at BingAIClient.sendMessage (file:///root/node_modules/@waylaidwanderer/chatgpt-api/src/BingAIClient.js:188:31) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Object.send (file:///root/node_modules/utilitas/lib/hal.mjs:64:35) at async file:///root/node_modules/halbot/skills/60_chat.mjs:42:34 at async Promise.all (index 0) at async action (file:///root/node_modules/halbot/skills/60_chat.mjs:62:5) at async execute (/root/node_modules/telegraf/lib/composer.js:485:17) at async /root/node_modules/telegraf/lib/composer.js:486:21 at async execute (/root/node_modules/telegraf/lib/composer.js:485:17) at async /root/node_modules/telegraf/lib/composer.js:486:21 [60_CHAT] Error: Sorry, you need to login first to access this service. at newError (file:///root/node_modules/utilitas/lib/utilitas.mjs:17:49) at throwError (file:///root/node_modules/utilitas/lib/utilitas.mjs:18:50) at Object.send (file:///root/node_modules/utilitas/lib/hal.mjs:71:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///root/node_modules/halbot/skills/60_chat.mjs:42:34 at async Promise.all (index 0) at async action (file:///root/node_modules/halbot/skills/60_chat.mjs:62:5) at async execute (/root/node_modules/telegraf/lib/composer.js:485:17) at async /root/node_modules/telegraf/lib/composer.js:486:21 at async execute (/root/node_modules/telegraf/lib/composer.js:485:17) { status: 500 }

@Leask
Copy link
Owner

Leask commented May 2, 2023

Sometimes the Bing server can identify the hack of the way we use the token outside the website. We can only handle this issue once Bing opens a real API server to the developers. 😭
You can log in to the website again to get a new token and restart the bot. I hope it can help.

@Leask Leask closed this as completed May 2, 2023
@Am1nCmd
Copy link
Author

Am1nCmd commented May 2, 2023 via email

@Leask
Copy link
Owner

Leask commented May 2, 2023

Thanks for your info. I will reopen this issue and check on your link. Thanks!

@Leask Leask reopened this May 2, 2023
@Leask
Copy link
Owner

Leask commented Nov 30, 2023

Because the official OpenAI APIs are getting more and more powerful and controllable. I am going to fade out legacy Bing web-hacking. Sorry about this.

@Leask Leask closed this as completed Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants