Exception filling logs
Today I've noticed that haas log has several gigabytes (I rotate it daily) and it's filled with following errors:
2018-04-25T05:35:02+0200 [SSHService b'ssh-connection' on SSHServerTransport,1412,201.217.144.106] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/twisted/internet/tcp.py", line 208, in doRead
return self._dataReceived(data)
File "/usr/lib/python3/dist-packages/twisted/internet/tcp.py", line 214, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/lib/python3/dist-packages/twisted/conch/ssh/transport.py", line 727, in dataReceived
self.dispatchMessage(messageNum, packet[1:])
File "/usr/lib/python3/dist-packages/twisted/conch/ssh/transport.py", line 752, in dispatchMessage
messageNum, payload)
--- <exception caught here> ---
File "/usr/lib/python3/dist-packages/twisted/python/log.py", line 103, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python3/dist-packages/twisted/python/log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
File "/usr/lib/python3/dist-packages/twisted/conch/ssh/service.py", line 45, in packetReceived
return f(packet)
File "/usr/lib/python3/dist-packages/twisted/conch/ssh/connection.py", line 231, in ssh_CHANNEL_DATA
channel = self.channels[localChannel]
builtins.KeyError: 0