-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
使用Cookie设置用户后,无法正常聊天 #141
Comments
看看浏览器控制台有没有报错,自己部署的话,需要 https 和 域名的 |
|
通过nginx,使用了HTTPS,并绑定了域名,未登录状态可以正常聊天;只要输入了_U的值,就无法聊天。 |
我也遇到了同样的问题,请问有进展吗 |
暂时还没有呢😭😭😭 可以先用其他的在线部署,比如README中介绍的Railway等,实测用cookie设置用户后,可以正常聊天 |
map $http_upgrade $connection_upgrade { server { ssl_certificate xxxx.crt; # 证书地址 location / { nginx配置没写对,改一下就可以了,针对ws做一下区分 |
还是不行😂😂😂 |
这就不知道的,反正我的ok了 |
我用云函数没有nginx |
本地部署才要用nginx来反向代理,套个https |
这种情况可能是由于Cookie值不正确或已过期导致的。请确保您复制的是当前有效的Cookie值,并且在设置用户对话框中正确地粘贴了该值。如果Cookie值已过期,则需要更新Cookie值。
另外,有时候Bing聊天会出现一些临时的问题,导致无法正常工作。您可以尝试重新启动应用程序或稍后再尝试。
如果问题仍然存在,请尝试清除浏览器缓存和Cookie,然后重新登录并再次尝试。如果问题仍然无法解决,请联系Bing聊天的技术支持团队进行进一步的帮助。
获取Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: HWinZnieJ ***@***.***>
Sent: Tuesday, June 13, 2023 3:19:02 PM
To: adams549659584/go-proxy-bingai ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [adams549659584/go-proxy-bingai] 使用Cookie设置用户后,无法正常聊天 (Issue #141)
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
listen 443 ssl;
server_name bing.xxx.com;
ssl_certificate xxxx.crt; # 证书地址
ssl_certificate_key xxxxx.key; # 秘钥地址
location / {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
}
}
nginx配置没写对,改一下就可以了,针对ws做一下区分
还是不行😂😂😂 但是现在不提示“让我们重新开始”了,而是卡在“正在尝试连接,请稍候”,刷新网页也还是显示这个😐😐😐
这就不知道的,反正我的ok了
我用云函数没有nginx
本地部署才要用nginx来反向代理,套个https
—
Reply to this email directly, view it on GitHub<#141 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A6QGHOJ266HPIQAJ6EYZTG3XLAH6NANCNFSM6AAAAAAYYH2L5U>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
已修复,#282 |
不使用Cookie,直接与Bing聊天,可以正常对话;
![image](https://private-user-images.githubusercontent.com/42741874/242882135-15680aec-7b77-41aa-b31e-65044dcffa8a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NDQ5NzQsIm5iZiI6MTczOTQ0NDY3NCwicGF0aCI6Ii80Mjc0MTg3NC8yNDI4ODIxMzUtMTU2ODBhZWMtN2I3Ny00MWFhLWIzMWUtNjUwNDRkY2ZmYThhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDExMDQzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMzODk3ZDgxYTc2ZDJiOTBjNjA4MWQxNWMwMGIyODVhOWNjNjBkMzRmZjI3NzYxNTlmYTNmOTBiMjQ0YTg4MDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.1Fy7fmzDClKzeUHP1ZbAOoP9JJpY6vLicIui-xkH_UU)
复制Cookie中_U的值,粘贴到 设置用户 对话框,保存,并点击扫把按钮重置对话:
无论发送什么,都一直提示“很抱歉,似乎出现错误。让我们重新开始吧。”
但画图可用。
The text was updated successfully, but these errors were encountered: