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

Expected HTTP 101 response but was '200 OK' #14

Closed
dokurorz opened this issue Jul 13, 2023 · 6 comments
Closed

Expected HTTP 101 response but was '200 OK' #14

dokurorz opened this issue Jul 13, 2023 · 6 comments
Assignees

Comments

@dokurorz
Copy link

dokurorz commented Jul 13, 2023

已经使用相同IP重新登录获取cookies,插件配置中的代理为空,测试过IP可以网页正常使用newbing
mirai和插件版本如下

 10:53:28 [INFO] Verifying "net.mamoe:mirai-console" v2.15.0
  10:53:29 [INFO] Verifying "net.mamoe:mirai-console-terminal"
 v2.15.0
  10:53:30 [INFO] Verifying "net.mamoe:mirai-core-all" v2.15.0
  10:53:31 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1
  10:53:31 [INFO] Verifying "net.mamoe:mirai-api-http" v2.9.1
  10:53:32 [INFO] Verifying "net.mamoe:chat-command" v0.6.0
  10:53:32 [INFO] Verifying "xyz.cssxsh.mirai:mirai-new-bing"
v0.4.3
  10:53:32 [INFO] Verifying "xyz.cssxsh.mirai:mirai-openai-plu
gin" v1.5.1
  10:53:33 [INFO] Verifying "xyz.cssxsh:bilibili-helper" v1.7.3

报错如下

2023-07-13 10:42:56 W/MiraiNewBingListener: MiraiNewBingListen
er with 全 局 代 理
java.net.ProtocolException: Expected HTTP 101 response but was
 '200 OK'
        at mirai-new-bing-0.4.3.mirai2.jar[private]//okhttp3.i
nternal.ws.RealWebSocket.checkUpgradeSuccess$okhttp(RealWebSoc
ket.kt:224)
        at mirai-new-bing-0.4.3.mirai2.jar[private]//okhttp3.i
nternal.ws.RealWebSocket$connect$1.onResponse(RealWebSocket.kt
:170)
        at mirai-new-bing-0.4.3.mirai2.jar[private]//okhttp3.i
nternal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
        at java.base/java.util.concurrent.ThreadPoolExecutor.r
unWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$W
orker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
@dokurorz dokurorz changed the title 构建Video信息失败 Expected HTTP 101 response but was '200 OK' Jul 13, 2023
@cssxsh
Copy link
Owner

cssxsh commented Jul 13, 2023

这排版,排了,但没完全排

@cssxsh
Copy link
Owner

cssxsh commented Jul 13, 2023

微软可能改东西了

@dokurorz
Copy link
Author

这排版,排了,但没完全排

手机发的,就这样了🤪

@1024bit
Copy link

1024bit commented Jul 14, 2023

同样的问题。

@tyxqc
Copy link

tyxqc commented Jul 28, 2023

这排版,排了,但没完全排

手机发的,就这样了🤪

请问你解决了吗,我也是同样的问题,还没解决,不知道怎么办了

cssxsh added a commit that referenced this issue Aug 9, 2023
@cssxsh cssxsh pinned this issue Aug 9, 2023
@cssxsh
Copy link
Owner

cssxsh commented Aug 9, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👌
Development

No branches or pull requests

4 participants