acgnhiki / blrec

Bilibili Live Streaming Recorder 哔哩哔哩直播录制
GNU General Public License v3.0
595 stars 41 forks source link

blrec无法自动开始/停止录制 #261

Open CuteCat233 opened 8 months ago

CuteCat233 commented 8 months ago

报错 Failed to receive user authentication reply: 之后无法重新开始录制

在重启录播姬后添加的直播间除了正在直播的都消失了。

CuteCat233 commented 8 months ago

image 添加直播间后web界面一直转圈(但其实已经添加成功),刷新后显示正常

Sodapopoo commented 8 months ago

你好,能提供更多的信息吗? 是录播姬还是blrec,能否提供更完整的截图,文字描述以及日志等?

CuteCat233 commented 8 months ago

是blrec

2024-03-20 20:37:36.273 | DEBUG | blrec.bili.danmaku_client:_connect_websocket:167 | 27100800 - Connected WebSocket 2024-03-20 20:37:36.273 | DEBUG | blrec.bili.danmaku_client:_send_auth:182 | 27100800 - Sending user authentication... 2024-03-20 20:37:36.274 | DEBUG | blrec.bili.danmaku_client:_send_auth:189 | 27100800 - Sent user authentication 2024-03-20 20:37:36.274 | DEBUG | blrec.bili.danmaku_client:_recieve_auth_reply:192 | 27100800 - Receiving user authentication reply... 2024-03-20 20:37:36.316 | DEBUG | blrec.bili.danmaku_client:_recieve_auth_reply:198 | 27100800 - Failed to receive user authentication reply: ClientError(WSMessage(type=<WSMsgType.CLOSED: 257>, data=None, extra=None)) 2024-03-20 20:37:39.292 | DEBUG | blrec.bili.danmaku_client:_connect:136 | 5930497 - Connecting to server... 2024-03-20 20:37:39.292 | DEBUG | blrec.bili.danmaku_client:_connect_websocket:158 | 5930497 - Connecting WebSocket... wss://broadcastlv.chat.bilibili.com:2245/sub 2024-03-20 20:37:39.433 | DEBUG | blrec.bili.danmaku_client:_connect_websocket:167 | 5930497 - Connected WebSocket 2024-03-20 20:37:39.433 | DEBUG | blrec.bili.danmaku_client:_send_auth:182 | 5930497 - Sending user authentication... 2024-03-20 20:37:39.433 | DEBUG | blrec.bili.danmaku_client:_send_auth:189 | 5930497 - Sent user authentication 2024-03-20 20:37:39.433 | DEBUG | blrec.bili.danmaku_client:_recieve_auth_reply:192 | 5930497 - Receiving user authentication reply... 2024-03-20 20:37:39.475 | DEBUG | blrec.bili.danmaku_client:_recieve_auth_reply:198 | 5930497 - Failed to receive user authentication reply: ClientError(WSMessage(type=<WSMsgType.CLOSED: 257>, data=None, extra=None)) 2024-03-20 20:37:39.475 | DEBUG | blrec.bili.danmaku_client:_update_danmu_info:227 | 5930497 - Updating danmu info via web api... 2024-03-20 20:37:39.878 | DEBUG | blrec.bili.danmaku_client:_update_danmu_info:239 | 5930497 - Danmu info updated 2024-03-20 20:37:42.308 | DEBUG | blrec.bili.danmaku_client:_connect:136 | 26993723 - Connecting to server... 2024-03-20 20:37:42.308 | DEBUG | blrec.bili.danmaku_client:_connect_websocket:158 | 26993723 - Connecting WebSocket... wss://broadcastlv.chat.bilibili.com:2245/sub 2024-03-20 20:37:42.432 | DEBUG | blrec.bili.danmaku_client:_connect_websocket:167 | 26993723 - Connected WebSocket 2024-03-20 20:37:42.432 | DEBUG | blrec.bili.danmaku_client:_send_auth:182 | 26993723 - Sending user authentication... 2024-03-20 20:37:42.432 | DEBUG | blrec.bili.danmaku_client:_send_auth:189 | 26993723 - Sent user authentication 2024-03-20 20:37:42.433 | DEBUG | blrec.bili.danmaku_client:_recieve_auth_reply:192 | 26993723 - Receiving user authentication reply... 2024-03-20 20:37:42.470 | DEBUG | blrec.bili.danmaku_client:_recieve_auth_reply:198 | 26993723 - Failed to receive user authentication reply: ClientError(WSMessage(type=<WSMsgType.CLOSED: 257>, data=None, extra=None)) 2024-03-20 20:37:42.470 | DEBUG | blrec.bili.danmaku_client:_update_danmu_info:227 | 26993723 - Updating danmu info via web api... 2024-03-20 20:37:42.879 | DEBUG | blrec.bili.danmaku_client:_update_danmu_info:239 | 26993723 - Danmu info updated 2024-03-20 20:37:45.913 | DEBUG | blrec.bili.danmaku_client:_connect:136 | 27728375 - Connecting to server... 2024-03-20 20:37:45.913 | DEBUG | blrec.bili.danmaku_client:_connect_websocket:158 | 27728375 - Connecting WebSocket... wss://zj-cn-live-comet.chat.bilibili.com:2245/sub 2024-03-20 20:37:46.024 | DEBUG | blrec.bili.danmaku_client:_connect_websocket:167 | 27728375 - Connected WebSocket 2024-03-20 20:37:46.024 | DEBUG | blrec.bili.danmaku_client:_send_auth:182 | 27728375 - Sending user authentication... 2024-03-20 20:37:46.024 | DEBUG | blrec.bili.danmaku_client:_send_auth:189 | 27728375 - Sent user authentication 2024-03-20 20:37:46.024 | DEBUG | blrec.bili.danmaku_client:_recieve_auth_reply:192 | 27728375 - Receiving user authentication reply... 2024-03-20 20:37:46.050 | DEBUG | blrec.bili.danmaku_client:_recieve_auth_reply:198 | 27728375 - Failed to receive user authentication reply: ClientError(WSMessage(type=<WSMsgType.CLOSED: 257>, data=None, extra=None))

CuteCat233 commented 8 months ago

原本是有这几个直播间,关闭后再开就只剩下正在播的27100800这个直播间了。 而且显示“直播中”但没有自动开始直播,需要手动打开直播。

CuteCat233 commented 8 months ago

image 添加直播间的截图 image 能看见后面已经添加成功 image 过了一会后显示任务已添加

Sodapopoo commented 8 months ago

我还是看不懂你是什么问题,如果任务已存在,肯定已经添加成功了,我猜你是点了这里面的选项 image 如果房间添加失败就是api和cookie有问题,请尝试自行解决

CuteCat233 commented 8 months ago

api是B站的默认api cookie刚更新 blrec无法自动开始与停止录制 image

CuteCat233 commented 8 months ago

我还是看不懂你是什么问题,如果任务已存在,肯定已经添加成功了,我猜你是点了这里面的选项 image 如果房间添加失败就是api和cookie有问题,请尝试自行解决

还有这个,我极其确认我选择的是全部。而且设置里: image 所有直播间设置也全部消失,只剩下27100800直播间。(现在别的直播间是我重新加入的)

CuteCat233 commented 8 months ago

image image image image 等待4-5分钟后: image

CuteCat233 commented 8 months ago

录制完成后重启服务器,并再次更新cookie(之前的cookie为两天前更新,且点击测试时显示为有效cookie),暂时没有出现该问题。