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

[Bug] 版本v3.4.32,添加gwchat,Web界面异常 #618

Open
2 tasks done
MilkTeaNo7 opened this issue Feb 27, 2025 · 1 comment
Open
2 tasks done

[Bug] 版本v3.4.32,添加gwchat,Web界面异常 #618

MilkTeaNo7 opened this issue Feb 27, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@MilkTeaNo7
Copy link

MilkTeaNo7 commented Feb 27, 2025

发生了什么

Image
真不知道该怎么描述,项目刚刚更具内部的提示进行了更新,当然我是ubuntu下的docker
但是这个页面长的不太对,我不知道是否要重新删了镜像重新拉取

如何复现?

  1. 根据文档完成部署,让web页面可以出现
  2. 在web页面看见更新,点一下

AstrBot 版本与部署方式

v3.4.32

操作系统

Windows

额外信息

截图入上图
报错如下
`[2025-02-27 02:12:10 +0000] [1] [INFO] Running on http://0.0.0.0:6185 (CTRL + C to quit)

[02:12:10] [ERROR] [manager.py:77]: ------- 任务 gwchat_platform 发生错误: Server disconnected

[02:12:10] [ERROR] [manager.py:79]: | Traceback (most recent call last):

[02:12:10] [ERROR] [manager.py:79]: | File "/AstrBot/astrbot/core/platform/manager.py", line 72, in _task_wrapper

[02:12:10] [ERROR] [manager.py:79]: | await task

[02:12:10] [ERROR] [manager.py:79]: | File "/AstrBot/astrbot/core/platform/sources/gewechat/gewechat_platform_adapter.py", line 75, in _run

[02:12:10] [ERROR] [manager.py:79]: | await self.client.login()

[02:12:10] [ERROR] [manager.py:79]: | File "/AstrBot/astrbot/core/platform/sources/gewechat/client.py", line 270, in login

[02:12:10] [ERROR] [manager.py:79]: | await self.get_token_id()

[02:12:10] [ERROR] [manager.py:79]: | File "/AstrBot/astrbot/core/platform/sources/gewechat/client.py", line 62, in get_token_id

[02:12:10] [ERROR] [manager.py:79]: | async with session.post(f"{self.base_url}/tools/getTokenId") as resp:

[02:12:10] [ERROR] [manager.py:79]: | File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 1425, in aenter

[02:12:10] [ERROR] [manager.py:79]: | self._resp: _RetType = await self._coro

[02:12:10] [ERROR] [manager.py:79]: | File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 730, in _request

[02:12:10] [ERROR] [manager.py:79]: | await resp.start(conn)

[02:12:10] [ERROR] [manager.py:79]: | File "/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 1059, in start

[02:12:10] [ERROR] [manager.py:79]: | message, payload = await protocol.read() # type: ignore[union-attr]

[02:12:10] [ERROR] [manager.py:79]: | File "/usr/local/lib/python3.10/site-packages/aiohttp/streams.py", line 672, in read

[02:12:10] [ERROR] [manager.py:79]: | await self._waiter

[02:12:10] [ERROR] [manager.py:79]: | aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected

[02:12:10] [ERROR] [manager.py:79]: |

[02:12:10] [ERROR] [manager.py:80]: -------

[2025-02-27 02:12:10 +0000] [1] [INFO] 192.168.10.21:10105 GET /api/stat/start-time 1.1 200 64 1697

[2025-02-27 02:12:10 +0000] [1] [INFO] 192.168.10.21:10105 GET /platforms 1.1 304 - 1253

[2025-02-27 02:12:10 +0000] [1] [INFO] 192.168.10.21:10111 GET /api/live-log 1.1 101 - 785

[2025-02-27 02:12:10 +0000] [1] [INFO] 192.168.10.21:10106 GET /api/stat/start-time 1.1 200 64 878

[2025-02-27 02:12:10 +0000] [1] [INFO] 192.168.10.21:10112 GET /api/stat/version 1.1 200 59 1069

[2025-02-27 02:12:10 +0000] [1] [INFO] 192.168.10.21:10113 GET /api/update/check 1.1 200 92 2068

[2025-02-27 02:12:10 +0000] [1] [INFO] 192.168.10.21:10114 GET /api/config/get 1.1 200 35935 2322

[2025-02-27 02:12:20 +0000] [1] [INFO] 192.168.10.21:10105 GET /api/update/check 1.1 200 205 10072774`

你愿意提交 PR 吗?

  • 是的,我愿意提交 PR!

Code of Conduct

@MilkTeaNo7 MilkTeaNo7 added the bug Something isn't working label Feb 27, 2025
@Soulter
Copy link
Owner

Soulter commented Feb 27, 2025

不需要重新部署,这是新版的页面

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants