02-15 12:38:41 [ERROR] nonebot_plugin_chatgpt | ChatGPT request failed: Error: Protocol error (Network.getResponseBody): Request "28628104511592" is not found getBase64EncodedResponse@chrome://juggler/content/NetworkObserver.js:830:13
getResponseBody@chrome://juggler/content/NetworkObserver.js:90:34
Network.getResponseBody@chrome://juggler/content/protocol/PageHandler.js:280:30
dispatch@chrome://juggler/content/protocol/Dispatcher.js:129:39
_dispatch@chrome://juggler/content/protocol/Dispatcher.js:69:36
receiveMessage@chrome://juggler/content/components/Juggler.js:118:20
Traceback (most recent call last):
File "", line 17, in
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot/init.py", line 273, in run
get_driver().run(*args, kwargs)
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot/drivers/fastapi.py", line 187, in run
uvicorn.run(
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/uvicorn/main.py", line 569, in run
server.run()
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/uvicorn/server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot/message.py", line 141, in _check_matcher
await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot/message.py", line 187, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot/internal/matcher/matcher.py", line 732, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot/internal/matcher/matcher.py", line 707, in simple_run
await handler(
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot/dependencies/init.py", line 108, in call
return await cast(Callable[..., Awaitable[R]], self.call)(values)
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot_plugin_chatgpt/init.py", line 66, in ai_chat
msg = await chat_bot(**session[event]).get_chat_response(text)
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot_plugin_chatgpt/chatgpt.py", line 175, in get_chat_response
lines = await response.text()
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/playwright/async_api/_generated.py", line 603, in text
return mapping.from_maybe_impl(await self._impl_obj.text())
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/playwright/_impl/_network.py", line 532, in text
content = await self.body()
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/playwright/_impl/_network.py", line 528, in body
binary = await self._channel.send("body")
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/playwright/_impl/_connection.py", line 44, in send
return await self._connection.wrap_api_call(
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/playwright/_impl/_connection.py", line 419, in wrap_api_call
return await cb()
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/playwright/_impl/_connection.py", line 79, in inner_send
result = next(iter(done)).result()
playwright._impl._api_types.Error: Protocol error (Network.getResponseBody): Request "28628104511592" is not found getBase64EncodedResponse@chrome://juggler/content/NetworkObserver.js:830:13
getResponseBody@chrome://juggler/content/NetworkObserver.js:90:34
Network.getResponseBody@chrome://juggler/content/protocol/PageHandler.js:280:30
dispatch@chrome://juggler/content/protocol/Dispatcher.js:129:39
_dispatch@chrome://juggler/content/protocol/Dispatcher.js:69:36
receiveMessage@chrome://juggler/content/components/Juggler.js:118:20
报告清单
影响版本
558389e
问题描述
复现步骤
使用过程中稳定复现
预期行为
No response
实际行为
No response
日志信息
02-15 12:38:41 [ERROR] nonebot_plugin_chatgpt | ChatGPT request failed: Error: Protocol error (Network.getResponseBody): Request "28628104511592" is not found getBase64EncodedResponse@chrome://juggler/content/NetworkObserver.js:830:13 getResponseBody@chrome://juggler/content/NetworkObserver.js:90:34 Network.getResponseBody@chrome://juggler/content/protocol/PageHandler.js:280:30 dispatch@chrome://juggler/content/protocol/Dispatcher.js:129:39 _dispatch@chrome://juggler/content/protocol/Dispatcher.js:69:36 receiveMessage@chrome://juggler/content/components/Juggler.js:118:20
Traceback (most recent call last): File "", line 17, in
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot/init.py", line 273, in run
get_driver().run(*args, kwargs)
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot/drivers/fastapi.py", line 187, in run
uvicorn.run(
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/uvicorn/main.py", line 569, in run
server.run()
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/uvicorn/server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot/message.py", line 141, in _check_matcher
await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot/message.py", line 187, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot/internal/matcher/matcher.py", line 732, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot/internal/matcher/matcher.py", line 707, in simple_run
await handler(
File "/opt/openai-bot/.venv/lib/python3.9/site-packages/nonebot/dependencies/init.py", line 108, in call
return await cast(Callable[..., Awaitable[R]], self.call)(values)
额外补充
No response