It should: respond once, with the correct data.
It actually: responds twice. The first response contains the correct data. The second response contains no body (zero bytes of response string).
Example responses:
Code: Select all
>>> /config get password
dbg: sending command with id 1
Responses:
Container:
id = 1
type = 0
body = u"The server currently doesn't hav"... (truncated, total 46)
Container:
id = 1
type = 0
body = u'' (total 0)
I have not observed this duplication behaviour with any other command.
Server log is clear apart from notifications of new RCON connections, which are expected.
System configuration: Ubuntu 18.04 64bit / Factorio 0.18.31 headless (can also reproduce with 0.17.79)