Comments (3)
可以尝试自己下载 然后再发送 QQ自己的证书好像有点问题
from napcatqq.
如果仍然有问题请再reopen
from napcatqq.
我也遇到了这个问题
07-06 01:10:11 [ERROR] nonebot | Running Matcher(type='message', module=src.plugins.cave, lineno=40) failed.
Traceback (most recent call last):
File "/opt/mcsmanager/daemon/data/InstanceData/aa56675d84f54b42becf6e7b2f9d1225/bot.py", line 13, in <module>
nonebot.run()
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/__init__.py", line 335, in run
get_driver().run(*args, **kwargs)
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/drivers/fastapi.py", line 186, in run
uvicorn.run(
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/uvicorn/main.py", line 577, in run
server.run()
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/uvicorn/server.py", line 65, in run
return asyncio.run(self.serve(sockets=sockets))
File "/root/.pyenv/versions/3.12.3/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
File "/root/.pyenv/versions/3.12.3/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/message.py", line 476, in check_and_run_matcher
await _run_matcher(
> File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/message.py", line 428, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/internal/matcher/matcher.py", line 850, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/internal/matcher/matcher.py", line 825, in simple_run
await handler(
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/dependencies/__init__.py", line 94, in __call__
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "/opt/mcsmanager/daemon/data/InstanceData/aa56675d84f54b42becf6e7b2f9d1225/src/plugins/cave/__init__.py", line 150, in _
await cave_del.finish(
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/internal/matcher/matcher.py", line 582, in finish
await cls.send(message, **kwargs)
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/internal/matcher/matcher.py", line 566, in send
return await bot.send(event=event, message=_message, **kwargs)
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/adapters/onebot/v11/bot.py", line 228, in send
return await self.__class__.send_handler(self, event, message, **kwargs)
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/adapters/onebot/v11/bot.py", line 181, in send
return await bot.send_msg(**params)
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/internal/adapter/bot.py", line 122, in call_api
raise exception
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/internal/adapter/bot.py", line 97, in call_api
result = await self.adapter._call_api(self, api, **data)
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/adapters/onebot/v11/adapter.py", line 147, in _call_api
return handle_api_result(await self._result_store.fetch(seq, timeout))
File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/adapters/onebot/v11/utils.py", line 58, in handle_api_result
raise ActionFailed(**result)
nonebot.adapters.onebot.v11.exception.ActionFailed: ActionFailed(status='failed', retcode=1200, data=None, message='Error: 文件下载失败uri CD5BAAC7AEF9328AC0F4FCA3547AC376.jpg 解析失败,TypeError [ERR_INVALID_URL]: Invalid URL 可能CD5BAAC7AEF9328AC0F4FCA3547AC376.jpg不存在\n at handleOb11FileLikeMessage (file:///usr/src/app/napcat/napcat.mjs:25881:11)\n at async Object.image (file:///usr/src/app/napcat/napcat.mjs:25930:57)\n at async createSendElements (file:///usr/src/app/napcat/napcat.mjs:26048:24)\n at async SendMsg._handle (file:///usr/src/app/napcat/napcat.mjs:26330:9)\n at async SendMsg.websocketHandle (file:///usr/src/app/napcat/napcat.mjs:25755:23)\n at async ReverseWebsocket.onmessage (file:///usr/src/app/napcat/napcat.mjs:30685:28)\n at async WebSocket.<anonymous> (file:///usr/src/app/napcat/napcat.mjs:30724:7)', wording='Error: 文件下载失败uri CD5BAAC7AEF9328AC0F4FCA3547AC376.jpg 解析失败,TypeError [ERR_INVALID_URL]: Invalid URL 可能CD5BAAC7AEF9328AC0F4FCA3547AC376.jpg不存在\n at handleOb11FileLikeMessage (file:///usr/src/app/napcat/napcat.mjs:25881:11)\n at async Object.image (file:///usr/src/app/napcat/napcat.mjs:25930:57)\n at async createSendElements (file:///usr/src/app/napcat/napcat.mjs:26048:24)\n at async SendMsg._handle (file:///usr/src/app/napcat/napcat.mjs:26330:9)\n at async SendMsg.websocketHandle (file:///usr/src/app/napcat/napcat.mjs:25755:23)\n at async ReverseWebsocket.onmessage (file:///usr/src/app/napcat/napcat.mjs:30685:28)\n at async WebSocket.<anonymous> (file:///usr/src/app/napcat/napcat.mjs:30724:7)', echo='35')
from napcatqq.
Related Issues (20)
- 临时会话,单向好友等报错,无法读取QQ号等信息 HOT 4
- 可以增加ipv6访问支持吗?
- [Refactor] 针对 9.9.15 重构信息获取 HOT 1
- [功能请求] go-cqhttp API - 获取群文件资源链接 HOT 1
- [BUG] HOT 2
- [BUG] MCSManager面板内无法启动 HOT 1
- [BUG] 合并转发消息报错,一段时间后发送成功 HOT 2
- [BUG] 进入 web ui 报错 HOT 5
- [Question] 如何为不同的反向ws服务分别设置不同的token? HOT 1
- [BUG] `message_id`字段与OneBot11标准不符 HOT 4
- [BUG] 合并转发消息报错,一段时间后发送成功 HOT 5
- [BUG] 接收到多层合并消息后,调用`/get_forward_msg`API时报错`Error: 找不到相关的聊天记录Data Not Existed!` HOT 8
- Refactor 26740 重构
- [BUG] 发送语音出现错误 HOT 1
- [BUG] 无法发送图片 HOT 3
- [BUG] 禁言或踢出时报错:成员不存在 HOT 4
- [BUG] time out超时 HOT 4
- [疑问] 群文件API HOT 1
- [BUG] 私聊情况下输入状态会出现pydantic.error_wrappers.ValidationError错误 HOT 1
- [建议]建议对cmd输出美化 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from napcatqq.