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

unexpected HTTP error createConversation 403 #40

Open
xhzth7091 opened this issue Jun 19, 2023 · 2 comments
Open

unexpected HTTP error createConversation 403 #40

xhzth7091 opened this issue Jun 19, 2023 · 2 comments

Comments

@xhzth7091
Copy link

xhzth7091 commented Jun 19, 2023

npx tsx d:\code\python\binggpt\bing-chat-main\demos\demo.ts
windows 11

✖ What are today’s top stories in the United States?
Error: unexpected HTTP error createConversation 403: Forbidden
at (d:\code\python\binggpt\bing-chat-main\src\bing-chat.ts:317:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at BingChat.sendMessage (d:\code\python\binggpt\bing-chat-main\src\bing-chat.ts:65:28)
at async oraPromise (file:///d:/code/python/binggpt/bing-chat-main/node_modules/ora/index.js:397:18)
at main (d:\code\python\binggpt\bing-chat-main\demos\demo.ts:20:15)

I can log in https://www.bing.com,Can chat normally
image

cookie
RDBBN1J1 @~%N2($M}0 E9J

1F)~% XG$XM5GZ7F`_%L HP

Why would you report 403?

@RaschidJFR
Copy link

Have you tried not using the cookie at all? I started getting 503 until I removed it.

@bestK
Copy link

bestK commented Jul 3, 2023

yarn add bing-chat-patch

#Create your bing proxy, see https://github.com/adams549659584/go-proxy-bingai

export BING_HOST=<your_bing_host> #Please do not include https/http.

usage

import { BingChat } from 'bing-chat-patch';
import dotenv from 'dotenv';
dotenv.config();

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

3 participants