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] TypeError: unsupported operand type(s) for +: 'NoneType' and 'int' #153

Closed
Sig9h opened this issue Aug 14, 2023 · 0 comments
Closed
Assignees
Labels
BUG Something isn't working

Comments

@Sig9h
Copy link

Sig9h commented Aug 14, 2023

无法连接到web服务端

复现步骤

  1. docker里cat uwsgi.log

截图
请提供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

@Sig9h Sig9h added the BUG Something isn't working label Aug 14, 2023
FunnyWolf added a commit to FunnyWolf/viperpython that referenced this issue Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants