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
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
Job "MainMonitor.sub_heartbeat_thread (trigger: interval[0:00:01], next run at: 2023-08-15 06:38:03 CST)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/root/viper/./Lib/montior.py", line 179, in sub_heartbeat_thread
result = HeartBeat.get_heartbeat_result()
File "/root/viper/./WebSocket/Handle/heartbeat.py", line 81, in get_heartbeat_result
hosts_sorted, network_data = HeartBeat.list_hostandsession()
File "/root/viper/./WebSocket/Handle/heartbeat.py", line 176, in list_hostandsession
sessions = HeartBeat.list_sessions()
File "/root/viper/./WebSocket/Handle/heartbeat.py", line 456, in list_sessions
if Xcache.msfrpc_heartbeat_error_send():
File "/root/viper/./Lib/xcache.py", line 1071, in msfrpc_heartbeat_error_send
count = count + 1
The text was updated successfully, but these errors were encountered:
无法连接到web服务端
复现步骤
截图
请提供Bug出现时的截图.
@FunnyWolf
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
Job "MainMonitor.sub_heartbeat_thread (trigger: interval[0:00:01], next run at: 2023-08-15 06:38:03 CST)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/root/viper/./Lib/montior.py", line 179, in sub_heartbeat_thread
result = HeartBeat.get_heartbeat_result()
File "/root/viper/./WebSocket/Handle/heartbeat.py", line 81, in get_heartbeat_result
hosts_sorted, network_data = HeartBeat.list_hostandsession()
File "/root/viper/./WebSocket/Handle/heartbeat.py", line 176, in list_hostandsession
sessions = HeartBeat.list_sessions()
File "/root/viper/./WebSocket/Handle/heartbeat.py", line 456, in list_sessions
if Xcache.msfrpc_heartbeat_error_send():
File "/root/viper/./Lib/xcache.py", line 1071, in msfrpc_heartbeat_error_send
count = count + 1
The text was updated successfully, but these errors were encountered: