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
a bytes-like object is required, not 'str'
[*] 2022-01-03 13:55:39: Restarting Artillery Server...
Traceback (most recent call last):
File "restart_server.py", line 20, in
write_log("Restarting the Artillery Server process...",1)
File "/var/artillery/src/core.py", line 955, in write_log
syslog(alert, alerttype)
File "/var/artillery/src/core.py", line 911, in syslog
syslog_send(syslogmsg, host=remote_syslog, port=remote_port)
File "/var/artillery/src/core.py", line 901, in syslog_send
sock.sendto(data, (host, port))
TypeError: a bytes-like object is required, not 'str'
occurs after specifying a remote host for syslog and attempting to run restart_server.py
The text was updated successfully, but these errors were encountered:
sudo python3 restart_server.py
a bytes-like object is required, not 'str'
[*] 2022-01-03 13:55:39: Restarting Artillery Server...
Traceback (most recent call last):
File "restart_server.py", line 20, in
write_log("Restarting the Artillery Server process...",1)
File "/var/artillery/src/core.py", line 955, in write_log
syslog(alert, alerttype)
File "/var/artillery/src/core.py", line 911, in syslog
syslog_send(syslogmsg, host=remote_syslog, port=remote_port)
File "/var/artillery/src/core.py", line 901, in syslog_send
sock.sendto(data, (host, port))
TypeError: a bytes-like object is required, not 'str'
occurs after specifying a remote host for syslog and attempting to run restart_server.py
The text was updated successfully, but these errors were encountered: