You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2023-12-29 18:47:04,949][run_on_private_msg_0/INFO] PyCqBot: 发送信息: 晚上好!
[2023-12-29 18:47:06,401][run_on_private_msg_0/INFO] PyCqBot: 发送语音( 2023-12-29 18:47:06): 晚上好!
panic: runtime error: index out of range [0] with length 0
goroutine 174 [running]:
github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).nextAddr(0xc00058ef60?)
github.com/Mrs4s/[email protected]/client/internal/highway/highway.go:227 +0xfd
github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).selectConn(0xc4ad60?)
github.com/Mrs4s/[email protected]/client/internal/highway/highway.go:248 +0xe5
github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).uploadSingle(0xc0004082d0, {0x1a, {0x88b240, 0xc0005f0f60}, {0xc00001cd40, 0x10, 0x10}, 0x9f6, {0x0, 0x0, ...}, ...})
github.com/Mrs4s/[email protected]/client/internal/highway/bdh.go:39 +0x68
github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).Upload(0xc0004082d0, {0x1a, {0x88b240, 0xc0005f0f60}, {0xc00001cd40, 0x10, 0x10}, 0x9f6, {0x0, 0x0, ...}, ...})
github.com/Mrs4s/[email protected]/client/internal/highway/bdh.go:117 +0x425
github.com/Mrs4s/MiraiGo/client.(*QQClient).UploadVoice(0xc000424000, {0x50?, 0x0?, 0xc0005b3f10?}, {0x88d950?, 0xc0005f0f60})
github.com/Mrs4s/[email protected]/client/ptt.go:76 +0x358
github.com/Mrs4s/go-cqhttp/coolq.(*CQBot).uploadMedia.func2()
github.com/Mrs4s/go-cqhttp/coolq/bot.go:245 +0xff
github.com/Mrs4s/go-cqhttp/coolq.(*worker).do.func1()
github.com/Mrs4s/go-cqhttp/coolq/bot.go:142 +0x5a
created by github.com/Mrs4s/go-cqhttp/coolq.(*worker).do
github.com/Mrs4s/go-cqhttp/coolq/bot.go:140 +0x85
[2023-12-29 18:47:06,542][MainThread/WARNING] PyCqBot: no close frame received or sent
[2023-12-29 18:47:06,542][asyncHttp_loop/ERROR] PyCqBot: api 请求发生错误 Error: [WinError 64] 指定的网络名不再可用。
[2023-12-29 18:47:06,542][MainThread/WARNING] PyCqBot: 10秒后 重新连接 websocket 服务 (1/3)
[2023-12-29 18:47:06,542][asyncHttp_loop/ERROR] PyCqBot: [WinError 64] 指定的网络名不再可用。
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\pycqBot\asyncHttp.py", line 75, in link
async with self._session.post(url, data=data, allow_redirects=allow_redirects, proxy=proxy, headers=headers) as req:
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 1141, in aenter
self._resp = await self._coro
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 560, in _request
await resp.start(conn)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client_reqrep.py", line 899, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ClientOSError: [WinError 64] 指定的网络名不再可用。
[2023-12-29 18:47:06,545][asyncHttp_loop/WARNING] PyCqBot: cqAPI 响应: None / {}
[2023-12-29 18:47:08,892][run_on_private_msg_0/INFO] PyCqBot: 发送信息: 今天过得如何?
[2023-12-29 18:47:10,937][asyncHttp_loop/ERROR] PyCqBot: api 请求发生错误 Error: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
[2023-12-29 18:47:10,937][asyncHttp_loop/ERROR] PyCqBot: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 980, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1076, in create_connection
raise exceptions[0]
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1060, in create_connection
sock = await self._connect_sock(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 969, in _connect_sock
await self.sock_connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\proactor_events.py", line 709, in sock_connect
return await self._proactor.connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 826, in _poll
value = callback(transferred, key, ov)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 613, in finish_connect
ov.getresult()
ConnectionRefusedError: [WinError 1225] 远程计算机拒绝网络连接。
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\pycqBot\asyncHttp.py", line 75, in link
async with self._session.post(url, data=data, allow_redirects=allow_redirects, proxy=proxy, headers=headers) as req:
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 1141, in aenter
self._resp = await self._coro
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 536, in _request
conn = await self._connector.connect(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 540, in connect
proto = await self._create_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 901, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1206, in _create_direct_connection
raise last_exc
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 988, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连 接。]
[2023-12-29 18:47:10,941][asyncHttp_loop/WARNING] PyCqBot: cqAPI 响应: None / {}
[2023-12-29 18:47:13,168][run_on_private_msg_0/INFO] PyCqBot: 发送语音( 2023-12-29 18:47:13): 今天过得如何?
[2023-12-29 18:47:13,171][run_on_private_msg_0/INFO] PyCqBot: 发送信息: 有什么开心的事情要分享吗?
[2023-12-29 18:47:14,677][run_on_private_msg_0/INFO] PyCqBot: 发送语音( 2023-12-29 18:47:14): 有什么开心的事情要分享吗?
[2023-12-29 18:47:14,680][run_on_private_msg_0/INFO] PyCqBot: 结束回复
[2023-12-29 18:47:15,223][asyncHttp_loop/ERROR] PyCqBot: api 请求发生错误 Error: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
[2023-12-29 18:47:15,223][asyncHttp_loop/ERROR] PyCqBot: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 980, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1076, in create_connection
raise exceptions[0]
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1060, in create_connection
sock = await self._connect_sock(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 969, in _connect_sock
await self.sock_connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\proactor_events.py", line 709, in sock_connect
return await self._proactor.connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 826, in _poll
value = callback(transferred, key, ov)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 613, in finish_connect
ov.getresult()
ConnectionRefusedError: [WinError 1225] 远程计算机拒绝网络连接。
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\pycqBot\asyncHttp.py", line 75, in link
async with self._session.post(url, data=data, allow_redirects=allow_redirects, proxy=proxy, headers=headers) as req:
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 1141, in aenter
self._resp = await self._coro
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 536, in _request
conn = await self._connector.connect(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 540, in connect
proto = await self._create_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 901, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1206, in _create_direct_connection
raise last_exc
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 988, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连 接。]
[2023-12-29 18:47:15,225][asyncHttp_loop/WARNING] PyCqBot: cqAPI 响应: None / {}
[2023-12-29 18:47:15,226][asyncHttp_loop/ERROR] PyCqBot: api 请求发生错误 Error: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
[2023-12-29 18:47:15,226][asyncHttp_loop/ERROR] PyCqBot: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 980, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1076, in create_connection
raise exceptions[0]
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1060, in create_connection
sock = await self._connect_sock(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 969, in _connect_sock
await self.sock_connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\proactor_events.py", line 709, in sock_connect
return await self._proactor.connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 826, in _poll
value = callback(transferred, key, ov)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 613, in finish_connect
ov.getresult()
ConnectionRefusedError: [WinError 1225] 远程计算机拒绝网络连接。
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\pycqBot\asyncHttp.py", line 75, in link
async with self._session.post(url, data=data, allow_redirects=allow_redirects, proxy=proxy, headers=headers) as req:
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 1141, in aenter
self._resp = await self._coro
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 536, in _request
conn = await self._connector.connect(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 540, in connect
proto = await self._create_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 901, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1206, in _create_direct_connection
raise last_exc
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 988, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连 接。]
[2023-12-29 18:47:15,228][asyncHttp_loop/WARNING] PyCqBot: cqAPI 响应: None / {}
[2023-12-29 18:47:16,548][MainThread/INFO] PyCqBot: 正在连接 go-cqhttp websocket 服务
[2023-12-29 18:47:16,719][asyncHttp_loop/ERROR] PyCqBot: api 请求发生错误 Error: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
[2023-12-29 18:47:16,719][asyncHttp_loop/ERROR] PyCqBot: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 980, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1076, in create_connection
raise exceptions[0]
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1060, in create_connection
sock = await self._connect_sock(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 969, in _connect_sock
await self.sock_connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\proactor_events.py", line 709, in sock_connect
return await self._proactor.connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 826, in _poll
value = callback(transferred, key, ov)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 613, in finish_connect
ov.getresult()
ConnectionRefusedError: [WinError 1225] 远程计算机拒绝网络连接。
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\pycqBot\asyncHttp.py", line 75, in link
async with self._session.post(url, data=data, allow_redirects=allow_redirects, proxy=proxy, headers=headers) as req:
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 1141, in aenter
self._resp = await self._coro
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 536, in _request
conn = await self._connector.connect(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 540, in connect
proto = await self._create_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 901, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1206, in _create_direct_connection
raise last_exc
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 988, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连 接。]
[2023-12-29 18:47:16,722][asyncHttp_loop/WARNING] PyCqBot: cqAPI 响应: None / {}
[2023-12-29 18:47:18,605][MainThread/WARNING] PyCqBot: [WinError 1225] 远程计算机拒绝网络连接。
[2023-12-29 18:47:18,605][MainThread/WARNING] PyCqBot: 10秒后 重新连接 websocket 服务 (2/3)
[2023-12-29 18:47:28,611][MainThread/INFO] PyCqBot: 正在连接 go-cqhttp websocket 服务
[2023-12-29 18:47:30,667][MainThread/WARNING] PyCqBot: [WinError 1225] 远程计算机拒绝网络连接。
[2023-12-29 18:47:30,667][MainThread/WARNING] PyCqBot: 10秒后 重新连接 websocket 服务 (3/3)
[2023-12-29 18:47:40,670][MainThread/INFO] PyCqBot: 正在连接 go-cqhttp websocket 服务
[2023-12-29 18:47:42,728][MainThread/WARNING] PyCqBot: [WinError 1225] 远程计算机拒绝网络连接。
[2023-12-29 18:47:42,728][MainThread/WARNING] PyCqBot: 10秒后 重新连接 websocket 服务 (4/3)
[2023-12-29 18:47:52,739][MainThread/CRITICAL] PyCqBot: 无法连接 websocket 服务 host: ws://127.0.0.1:8080
(CyberWaifu) PS D:\run\CyberWaifu>
The text was updated successfully, but these errors were encountered:
[2023-12-29 18:47:04,949][run_on_private_msg_0/INFO] PyCqBot: 发送信息: 晚上好!
[2023-12-29 18:47:06,401][run_on_private_msg_0/INFO] PyCqBot: 发送语音( 2023-12-29 18:47:06): 晚上好!
panic: runtime error: index out of range [0] with length 0
goroutine 174 [running]:
github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).nextAddr(0xc00058ef60?)
github.com/Mrs4s/[email protected]/client/internal/highway/highway.go:227 +0xfd
github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).selectConn(0xc4ad60?)
github.com/Mrs4s/[email protected]/client/internal/highway/highway.go:248 +0xe5
github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).uploadSingle(0xc0004082d0, {0x1a, {0x88b240, 0xc0005f0f60}, {0xc00001cd40, 0x10, 0x10}, 0x9f6, {0x0, 0x0, ...}, ...})
github.com/Mrs4s/[email protected]/client/internal/highway/bdh.go:39 +0x68
github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).Upload(0xc0004082d0, {0x1a, {0x88b240, 0xc0005f0f60}, {0xc00001cd40, 0x10, 0x10}, 0x9f6, {0x0, 0x0, ...}, ...})
github.com/Mrs4s/[email protected]/client/internal/highway/bdh.go:117 +0x425
github.com/Mrs4s/MiraiGo/client.(*QQClient).UploadVoice(0xc000424000, {0x50?, 0x0?, 0xc0005b3f10?}, {0x88d950?, 0xc0005f0f60})
github.com/Mrs4s/[email protected]/client/ptt.go:76 +0x358
github.com/Mrs4s/go-cqhttp/coolq.(*CQBot).uploadMedia.func2()
github.com/Mrs4s/go-cqhttp/coolq/bot.go:245 +0xff
github.com/Mrs4s/go-cqhttp/coolq.(*worker).do.func1()
github.com/Mrs4s/go-cqhttp/coolq/bot.go:142 +0x5a
created by github.com/Mrs4s/go-cqhttp/coolq.(*worker).do
github.com/Mrs4s/go-cqhttp/coolq/bot.go:140 +0x85
[2023-12-29 18:47:06,542][MainThread/WARNING] PyCqBot: no close frame received or sent
[2023-12-29 18:47:06,542][asyncHttp_loop/ERROR] PyCqBot: api 请求发生错误 Error: [WinError 64] 指定的网络名不再可用。
[2023-12-29 18:47:06,542][MainThread/WARNING] PyCqBot: 10秒后 重新连接 websocket 服务 (1/3)
[2023-12-29 18:47:06,542][asyncHttp_loop/ERROR] PyCqBot: [WinError 64] 指定的网络名不再可用。
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\pycqBot\asyncHttp.py", line 75, in link
async with self._session.post(url, data=data, allow_redirects=allow_redirects, proxy=proxy, headers=headers) as req:
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 1141, in aenter
self._resp = await self._coro
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 560, in _request
await resp.start(conn)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client_reqrep.py", line 899, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ClientOSError: [WinError 64] 指定的网络名不再可用。
[2023-12-29 18:47:06,545][asyncHttp_loop/WARNING] PyCqBot: cqAPI 响应: None / {}
[2023-12-29 18:47:08,892][run_on_private_msg_0/INFO] PyCqBot: 发送信息: 今天过得如何?
[2023-12-29 18:47:10,937][asyncHttp_loop/ERROR] PyCqBot: api 请求发生错误 Error: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
[2023-12-29 18:47:10,937][asyncHttp_loop/ERROR] PyCqBot: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 980, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1076, in create_connection
raise exceptions[0]
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1060, in create_connection
sock = await self._connect_sock(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 969, in _connect_sock
await self.sock_connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\proactor_events.py", line 709, in sock_connect
return await self._proactor.connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 826, in _poll
value = callback(transferred, key, ov)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 613, in finish_connect
ov.getresult()
ConnectionRefusedError: [WinError 1225] 远程计算机拒绝网络连接。
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\pycqBot\asyncHttp.py", line 75, in link
async with self._session.post(url, data=data, allow_redirects=allow_redirects, proxy=proxy, headers=headers) as req:
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 1141, in aenter
self._resp = await self._coro
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 536, in _request
conn = await self._connector.connect(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 540, in connect
proto = await self._create_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 901, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1206, in _create_direct_connection
raise last_exc
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 988, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连 接。]
[2023-12-29 18:47:10,941][asyncHttp_loop/WARNING] PyCqBot: cqAPI 响应: None / {}
[2023-12-29 18:47:13,168][run_on_private_msg_0/INFO] PyCqBot: 发送语音( 2023-12-29 18:47:13): 今天过得如何?
[2023-12-29 18:47:13,171][run_on_private_msg_0/INFO] PyCqBot: 发送信息: 有什么开心的事情要分享吗?
[2023-12-29 18:47:14,677][run_on_private_msg_0/INFO] PyCqBot: 发送语音( 2023-12-29 18:47:14): 有什么开心的事情要分享吗?
[2023-12-29 18:47:14,680][run_on_private_msg_0/INFO] PyCqBot: 结束回复
[2023-12-29 18:47:15,223][asyncHttp_loop/ERROR] PyCqBot: api 请求发生错误 Error: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
[2023-12-29 18:47:15,223][asyncHttp_loop/ERROR] PyCqBot: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 980, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1076, in create_connection
raise exceptions[0]
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1060, in create_connection
sock = await self._connect_sock(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 969, in _connect_sock
await self.sock_connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\proactor_events.py", line 709, in sock_connect
return await self._proactor.connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 826, in _poll
value = callback(transferred, key, ov)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 613, in finish_connect
ov.getresult()
ConnectionRefusedError: [WinError 1225] 远程计算机拒绝网络连接。
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\pycqBot\asyncHttp.py", line 75, in link
async with self._session.post(url, data=data, allow_redirects=allow_redirects, proxy=proxy, headers=headers) as req:
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 1141, in aenter
self._resp = await self._coro
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 536, in _request
conn = await self._connector.connect(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 540, in connect
proto = await self._create_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 901, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1206, in _create_direct_connection
raise last_exc
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 988, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连 接。]
[2023-12-29 18:47:15,225][asyncHttp_loop/WARNING] PyCqBot: cqAPI 响应: None / {}
[2023-12-29 18:47:15,226][asyncHttp_loop/ERROR] PyCqBot: api 请求发生错误 Error: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
[2023-12-29 18:47:15,226][asyncHttp_loop/ERROR] PyCqBot: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 980, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1076, in create_connection
raise exceptions[0]
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1060, in create_connection
sock = await self._connect_sock(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 969, in _connect_sock
await self.sock_connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\proactor_events.py", line 709, in sock_connect
return await self._proactor.connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 826, in _poll
value = callback(transferred, key, ov)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 613, in finish_connect
ov.getresult()
ConnectionRefusedError: [WinError 1225] 远程计算机拒绝网络连接。
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\pycqBot\asyncHttp.py", line 75, in link
async with self._session.post(url, data=data, allow_redirects=allow_redirects, proxy=proxy, headers=headers) as req:
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 1141, in aenter
self._resp = await self._coro
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 536, in _request
conn = await self._connector.connect(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 540, in connect
proto = await self._create_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 901, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1206, in _create_direct_connection
raise last_exc
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 988, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连 接。]
[2023-12-29 18:47:15,228][asyncHttp_loop/WARNING] PyCqBot: cqAPI 响应: None / {}
[2023-12-29 18:47:16,548][MainThread/INFO] PyCqBot: 正在连接 go-cqhttp websocket 服务
[2023-12-29 18:47:16,719][asyncHttp_loop/ERROR] PyCqBot: api 请求发生错误 Error: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
[2023-12-29 18:47:16,719][asyncHttp_loop/ERROR] PyCqBot: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连接。]
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 980, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1076, in create_connection
raise exceptions[0]
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 1060, in create_connection
sock = await self._connect_sock(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\base_events.py", line 969, in _connect_sock
await self.sock_connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\proactor_events.py", line 709, in sock_connect
return await self._proactor.connect(sock, address)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 826, in _poll
value = callback(transferred, key, ov)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\asyncio\windows_events.py", line 613, in finish_connect
ov.getresult()
ConnectionRefusedError: [WinError 1225] 远程计算机拒绝网络连接。
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\pycqBot\asyncHttp.py", line 75, in link
async with self._session.post(url, data=data, allow_redirects=allow_redirects, proxy=proxy, headers=headers) as req:
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 1141, in aenter
self._resp = await self._coro
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\client.py", line 536, in _request
conn = await self._connector.connect(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 540, in connect
proto = await self._create_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 901, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1206, in _create_direct_connection
raise last_exc
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "C:\Users\VAST.conda\envs\CyberWaifu\lib\site-packages\aiohttp\connector.py", line 988, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 127.0.0.1:5700 ssl:default [远程计算机拒绝网络连 接。]
[2023-12-29 18:47:16,722][asyncHttp_loop/WARNING] PyCqBot: cqAPI 响应: None / {}
[2023-12-29 18:47:18,605][MainThread/WARNING] PyCqBot: [WinError 1225] 远程计算机拒绝网络连接。
[2023-12-29 18:47:18,605][MainThread/WARNING] PyCqBot: 10秒后 重新连接 websocket 服务 (2/3)
[2023-12-29 18:47:28,611][MainThread/INFO] PyCqBot: 正在连接 go-cqhttp websocket 服务
[2023-12-29 18:47:30,667][MainThread/WARNING] PyCqBot: [WinError 1225] 远程计算机拒绝网络连接。
[2023-12-29 18:47:30,667][MainThread/WARNING] PyCqBot: 10秒后 重新连接 websocket 服务 (3/3)
[2023-12-29 18:47:40,670][MainThread/INFO] PyCqBot: 正在连接 go-cqhttp websocket 服务
[2023-12-29 18:47:42,728][MainThread/WARNING] PyCqBot: [WinError 1225] 远程计算机拒绝网络连接。
[2023-12-29 18:47:42,728][MainThread/WARNING] PyCqBot: 10秒后 重新连接 websocket 服务 (4/3)
[2023-12-29 18:47:52,739][MainThread/CRITICAL] PyCqBot: 无法连接 websocket 服务 host: ws://127.0.0.1:8080
(CyberWaifu) PS D:\run\CyberWaifu>
The text was updated successfully, but these errors were encountered: