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]: 报错nil sign-server #2511

Open
4 tasks done
bobandbrony opened this issue Jan 17, 2024 · 0 comments
Open
4 tasks done

[Bug]: 报错nil sign-server #2511

bobandbrony opened this issue Jan 17, 2024 · 0 comments
Labels
bug? The issue author think this is a bug

Comments

@bobandbrony
Copy link

bobandbrony commented Jan 17, 2024

请确保您已阅读以上注意事项,并勾选下方的确认框。

  • 我已经仔细阅读上述教程和 "提问前需知"
  • 我已经使用 dev分支版本 测试过,问题依旧存在。
  • 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题的ISSUE。
  • 我已知晓并同意,此处仅用于汇报程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。(这些问题应当在 Discussion 板块提出。)

go-cqhttp 版本

1.2.0

运行环境

Windows (64)

运行架构

AMD64

连接方式

HTTP

使用协议

6 | aPad

重现步骤

机器人尝试发送消息时会出现
[WARNING]: nil sign-server

期望的结果是什么?

机器人正常发出消息

实际的结果是什么?

gocq没有发出消息,
日志有报错nil sign-server
image

简单的复现代码/链接(可选)

No response

日志记录(可选)

[2024-01-18 01:19:12] [INFO]: 网络诊断完成. 未发现问题
[2024-01-18 01:19:33] [INFO]: 收到好友 ---- 的消息: 1 (-14587375)
[2024-01-18 01:19:55] [INFO]: 接受 WebSocket 连接: [::1]:61294 (/)
[2024-01-18 01:20:06] [WARNING]: nil sign-server 
[2024-01-18 01:20:06] [INFO]: 检查签名服务器http://127.0.0.1:8080  (1/2)
[2024-01-18 01:20:06] [INFO]: 检查签名服务器-  (2/2)
[2024-01-18 01:20:06] [INFO]: 使用签名服务器 url=http://127.0.0.1:8080, key=114514, auth=
[2024-01-18 01:21:06] [INFO]: 注册QQ实例 31---623 成功: The QQ has already loaded an instance, so this time it is deleting the existing in
stance and creating a new one.
[2024-01-18 01:22:06] [WARNING]: 提交 callback 时出现错误: Get "http://127.0.0.1:8080/submit?uin=3175216623&cmd=trpc.o3.ecdh_access.EcdhAcce
ss.SsoSecureA2Establish&callback_id=1&buffer=0a8601c0794602d48d17a5ff321253ee9f1b2a99a30f07ee236c1bc78fb3f286b812f82f64f1b83bb0a939cbe036218
989bcb12f96fd58235714b2b790484300e525ed719ca507be6d46871959587e7f1d7a29387df42c21b19d88e21ecd3665ab3536b3beb75c0052494e80e52ab9a0d76279b454b
bb5645c0127cabb51832ce65b45523631ea6a621000": context deadline exceeded (Client.Timeout exceeded while awaiting headers). server: http://127
.0.0.1:8080 
[2024-01-18 01:22:06] [INFO]: 检查签名服务器-  (2/2)
[2024-01-18 01:22:06] [INFO]: 检查签名服务器http://127.0.0.1:8080  (1/2)
[2024-01-18 01:22:06] [INFO]: 使用签名服务器 url=http://127.0.0.1:8080, key=114514, auth=
[2024-01-18 01:22:06] [INFO]: 注册QQ实例 31---623 成功: The QQ has already loaded an instance, so this time it is deleting the existing in
stance and creating a new one.
[2024-01-18 01:23:06] [WARNING]: nil sign-server 
[2024-01-18 01:23:06] [INFO]: 检查签名服务器-  (2/2)
[2024-01-18 01:23:06] [INFO]: 检查签名服务器http://127.0.0.1:8080  (1/2)
[2024-01-18 01:23:06] [INFO]: 使用签名服务器 url=http://127.0.0.1:8080, key=114514, auth=

debug模式日志
[2024-01-18 01:29:51] [INFO]: 开始诊断网络情况
[2024-01-18 01:29:52] [DEBUG]: 聊天服务器连接延迟: 55ms 
[2024-01-18 01:29:52] [DEBUG]: 聊天服务器丢包率: 0% 
[2024-01-18 01:29:52] [DEBUG]: 长消息服务器连接延迟: 48ms 
[2024-01-18 01:29:52] [DEBUG]: 长消息服务器响应延迟: 211ms 
[2024-01-18 01:29:52] [DEBUG]: 媒体服务器连接延迟: 0ms 
[2024-01-18 01:29:52] [DEBUG]: 媒体服务器丢包率: 0% 
[2024-01-18 01:29:52] [INFO]: 网络诊断完成. 未发现问题
[2024-01-18 01:30:09] [DEBUG]: HTTPServer接收到API调用: get_login_info 
[2024-01-18 01:30:09] [INFO]: 接受 WebSocket 连接: [::1]:61405 (/)
[2024-01-18 01:30:10] [DEBUG]: 向WS客户端推送Event: {"post_type":"meta_event","meta_event_type":"heartbeat","time":1705512610,"self_id":3175
216623,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"stat":{"packet_rec
eived":29,"packet_sent":22,"packet_lost":0,"message_received":0,"message_sent":0,"disconnect_times":0,"lost_times":0,"last_message_time":0}}
,"interval":5000}
 
[2024-01-18 01:30:15] [DEBUG]: 向WS客户端推送Event: {"post_type":"meta_event","meta_event_type":"heartbeat","time":1705512615,"self_id":3175
216623,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"stat":{"packet_rec
eived":29,"packet_sent":22,"packet_lost":0,"message_received":0,"message_sent":0,"disconnect_times":0,"lost_times":0,"last_message_time":0}}
,"interval":5000}
 
[2024-01-18 01:30:17] [DEBUG]: Protocol -> rev pkt: Heartbeat.Alive seq: 59006 
[2024-01-18 01:30:20] [DEBUG]: 向WS客户端推送Event: {"post_type":"meta_event","meta_event_type":"heartbeat","time":1705512620,"self_id":3175
216623,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"stat":{"packet_rec
eived":30,"packet_sent":23,"packet_lost":0,"message_received":0,"message_sent":0,"disconnect_times":0,"lost_times":0,"last_message_time":0}}
,"interval":5000}
 
[2024-01-18 01:30:25] [DEBUG]: 向WS客户端推送Event: {"post_type":"meta_event","meta_event_type":"heartbeat","time":1705512625,"self_id":3175
216623,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"stat":{"packet_rec
eived":30,"packet_sent":23,"packet_lost":0,"message_received":0,"message_sent":0,"disconnect_times":0,"lost_times":0,"last_message_time":0}}
,"interval":5000}
 
[2024-01-18 01:30:30] [DEBUG]: 向WS客户端推送Event: {"post_type":"meta_event","meta_event_type":"heartbeat","time":1705512630,"self_id":3175
216623,"interval":5000,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"st
at":{"packet_received":30,"packet_sent":23,"packet_lost":0,"message_received":0,"message_sent":0,"disconnect_times":0,"lost_times":0,"last_m
essage_time":0}}}
 
[2024-01-18 01:30:35] [DEBUG]: 向WS客户端推送Event: {"post_type":"meta_event","meta_event_type":"heartbeat","time":1705512635,"self_id":3175
216623,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"stat":{"packet_rec
eived":30,"packet_sent":23,"packet_lost":0,"message_received":0,"message_sent":0,"disconnect_times":0,"lost_times":0,"last_message_time":0}}
,"interval":5000}
 
[2024-01-18 01:30:40] [DEBUG]: 向WS客户端推送Event: {"post_type":"meta_event","meta_event_type":"heartbeat","time":1705512640,"self_id":3175
216623,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"stat":{"packet_rec
eived":30,"packet_sent":23,"packet_lost":0,"message_received":0,"message_sent":0,"disconnect_times":0,"lost_times":0,"last_message_time":0}}
,"interval":5000}
 
[2024-01-18 01:30:45] [DEBUG]: 向WS客户端推送Event: {"post_type":"meta_event","meta_event_type":"heartbeat","time":1705512645,"self_id":3175
216623,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"stat":{"packet_rec
eived":30,"packet_sent":23,"packet_lost":0,"message_received":0,"message_sent":0,"disconnect_times":0,"lost_times":0,"last_message_time":0}}
,"interval":5000}
 
[2024-01-18 01:30:47] [DEBUG]: Protocol -> rev pkt: Heartbeat.Alive seq: 59007 
[2024-01-18 01:30:50] [DEBUG]: 向WS客户端推送Event: {"post_type":"meta_event","meta_event_type":"heartbeat","time":1705512650,"self_id":3175
216623,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"stat":{"packet_rec
eived":31,"packet_sent":24,"packet_lost":0,"message_received":0,"message_sent":0,"disconnect_times":0,"lost_times":0,"last_message_time":0}}
,"interval":5000}
 
[2024-01-18 01:30:55] [DEBUG]: 向WS客户端推送Event: {"post_type":"meta_event","meta_event_type":"heartbeat","time":1705512655,"self_id":3175
216623,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"stat":{"packet_rec
eived":31,"packet_sent":24,"packet_lost":0,"message_received":0,"message_sent":0,"disconnect_times":0,"lost_times":0,"last_message_time":0}}
,"interval":5000}
 
[2024-01-18 01:31:00] [DEBUG]: 向WS客户端推送Event: {"post_type":"meta_event","meta_event_type":"heartbeat","time":1705512660,"self_id":3175
216623,"interval":5000,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"st
at":{"packet_received":31,"packet_sent":24,"packet_lost":0,"message_received":0,"message_sent":0,"disconnect_times":0,"lost_times":0,"last_m
essage_time":0}}}
 
[2024-01-18 01:31:05] [DEBUG]: 向WS客户端推送Event: {"post_type":"meta_event","meta_event_type":"heartbeat","time":1705512665,"self_id":3175
216623,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"stat":{"packet_rec
eived":31,"packet_sent":24,"packet_lost":0,"message_received":0,"message_sent":0,"disconnect_times":0,"lost_times":0,"last_message_time":0}}
,"interval":5000}
 
[2024-01-18 01:31:08] [DEBUG]: Protocol -> rev pkt: MessageSvc.PushNotify seq: -1830418558 
[2024-01-18 01:31:08] [DEBUG]: Protocol -> rev pkt: MessageSvc.PbGetMsg seq: 59008 
[2024-01-18 01:31:08] [INFO]: 收到好友 ----- 的消息: 你好 (-2010752377)
[2024-01-18 01:31:08] [DEBUG]: 向WS客户端推送Event: {"post_type":"message","message_type":"private","time":1705512668,"self_id":3175216623,"
sub_type":"friend","target_id":3175216623,"message":"你好","raw_message":"你好","font":0,"sender":{"age":0,"nickname":"-----
ω˙˂","sex":"unknown","user_id":3043146436},"message_id":-2010752377,"user_id":3043146436}
 
[2024-01-18 01:31:08] [DEBUG]: Protocol -> rev pkt: MessageSvc.PbDeleteMsg seq: 59009 
[2024-01-18 01:31:10] [DEBUG]: 向WS客户端推送Event: {"post_type":"meta_event","meta_event_type":"heartbeat","time":1705512670,"self_id":3175
216623,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"stat":{"packet_rec
eived":34,"packet_sent":26,"packet_lost":0,"message_received":1,"message_sent":0,"disconnect_times":0,"lost_times":0,"last_message_time":170
5512668}},"interval":5000}
 
[2024-01-18 01:31:14] [DEBUG]: HTTPServer接收到API调用: send_private_msg 
[2024-01-18 01:31:14] [INFO]: 发送好友 -----  的消息: 你好有什么问题可以 ... (-35083885)
[2024-01-18 01:31:14] [DEBUG]: Protocol -> rev pkt: MessageSvc.PbSendMsg seq: 59010 
[2024-01-18 01:31:15] [DEBUG]: 向WS客户端推送Event: {"post_type":"meta_event","meta_event_type":"heartbeat","time":1705512675,"self_id":3175
216623,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"stat":{"packet_rec
eived":35,"packet_sent":27,"packet_lost":0,"message_received":1,"message_sent":1,"disconnect_times":0,"lost_times":0,"last_message_time":170
5512668}},"interval":5000}
 
[2024-01-18 01:31:17] [DEBUG]: Protocol -> rev pkt: Heartbeat.Alive seq: 59011 
[2024-01-18 01:31:20] [DEBUG]: 向WS客户端推送Event: {"post_type":"meta_event","meta_event_type":"heartbeat","time":1705512680,"self_id":3175
216623,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"stat":{"packet_rec
eived":36,"packet_sent":28,"packet_lost":0,"message_received":1,"message_sent":1,"disconnect_times":0,"lost_times":0,"last_message_time":170
5512668}},"interval":5000}

补充说明(可选)

qsign是我自己在网上找来搭建的,可以正常登录,可接收消息

@bobandbrony bobandbrony added the bug? The issue author think this is a bug label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? The issue author think this is a bug
Projects
None yet
Development

No branches or pull requests

1 participant