-
Notifications
You must be signed in to change notification settings - Fork 116
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
3.0-beta 版 bing 报错 #79
Comments
复现了,应该是加了验证 |
这个问题有解决办法吗? |
已更新,欢迎测验 |
docker能不能升级到3.0版? |
只有latest 建议自行构建, |
在bing或copilot登陆后F12网络面板处 没找到/common/oauth2/v2.0/token |
试试脚本获取: let token = '';
for (var i = 0; i < localStorage.length; i++) {
const key = localStorage.key(i);
if (token == '' && key.includes('login.windows.net-accesstoken')) {
const obj = JSON.parse(localStorage.getItem(key));
token += obj.clientId + '|' + obj.target.split('/')[0];
}
if (token != '' && key.includes('login.windows.net-refreshtoken')) {
const obj = JSON.parse(localStorage.getItem(key));
token += '|' + obj.secret;
}
}
console.log('token:', token); |
let token = '';
for (var i = 0; i < localStorage.length; i++) {
const key = localStorage.key(i);
if (token == '' && key.includes('login.windows.net-accesstoken') && key.includes('chatai.readwrite')) {
const obj = JSON.parse(localStorage.getItem(key));
token += obj.clientId + '|' + obj.target.split('/')[0];
}
}
for (var i = 0; i < localStorage.length; i++) {
const key = localStorage.key(i);
if (token != '' && key.includes('login.windows.net-refreshtoken')) {
const obj = JSON.parse(localStorage.getItem(key));
token += '|' + obj.secret;
}
}
console.log('token:', token); |
这是huggingface上部署的,你可以先到这里试试:https://huggingface.co/spaces/wIK5Ez2o/DEMO/blob/main/Dockerfile |
用你部署在huggingface上的服务没问题,棒~! 可能是因为我在甲骨文的arm上部署自己的docker镜像,发现chrome没有arm版就省略了 |
用这个取到的token,M.Cxxxxxx ,用了这个值,还是提示: {"error":{"message":"refresh token is unauthorized"}} |
你的账号是pro嘛?不是的话介意发给我排查一下 |
我知道原因了,你那个js取到的结果是:client_id | scope_id | refresh_token |
再请教一个问题,3.0版的bing是不是不能像之前那样有bing、bing-online、bing-vision三个版本?如果需要搜索功能的bing-online要怎么配置? |
成功部署3.0-beta,尝试了blackbox, cursor, lmsys,都很好,但是bing无法使用,一直报错 "websocket: close 1000 (normal)"。
vps环境:美国IP,套warp和裸连都试过;
accessToken:抓取header里面的Authrization: Bearer XXXXXX;
本地挂代理访问copilot.microsoft.com正常,chat正常;
具体报错如下:
docker的log 如下:
分别截图如下:
The text was updated successfully, but these errors were encountered: