Haas - CRITICAL twisted Unhandled Error

Hi,

Don’t know if related to yesterday’s HaaS endpoints’ update/maintenance
(Upcoming outage for Honeypot as a Service)
but the below error emerged since yesterday. I restarted haas-proxy after the notification that update/maintenance had been completed.

I found it was reported last year as well, but I m not convinced that it was harmless, this is obviously unhandled exception, which means exception is not caught and as a result proper action is not taken such as cleaning up resources etc.

Unhandled exceptions are simply a bug, not acceptable.
Moreover now logs filled up with these errors.

Jan 20 11:03:04 turris haas-proxy-start[17778]: 2022-01-20T12:03:04 CRITICAL twisted Unhandled Error
Jan 20 11:03:04 turris haas-proxy-start[17778]: Traceback (most recent call last):
Jan 20 11:03:04 turris haas-proxy-start[17778]:   File "/usr/lib/python3.7/site-packages/twisted/internet/tcp.py", line 243, in doRead
Jan 20 11:03:04 turris haas-proxy-start[17778]:     
Jan 20 11:03:04 turris haas-proxy-start[17778]:   File "/usr/lib/python3.7/site-packages/twisted/internet/tcp.py", line 249, in _dataReceived
Jan 20 11:03:04 turris haas-proxy-start[17778]:     
Jan 20 11:03:04 turris haas-proxy-start[17778]:   File "/usr/lib/python3.7/site-packages/twisted/conch/ssh/transport.py", line 703, in dataReceived
Jan 20 11:03:04 turris haas-proxy-start[17778]:     
Jan 20 11:03:04 turris haas-proxy-start[17778]:   File "/usr/lib/python3.7/site-packages/twisted/conch/ssh/transport.py", line 728, in dispatchMessage
Jan 20 11:03:04 turris haas-proxy-start[17778]:     
Jan 20 11:03:04 turris haas-proxy-start[17778]: --- <exception caught here> ---
Jan 20 11:03:04 turris haas-proxy-start[17778]:   File "/usr/lib/python3.7/site-packages/twisted/python/log.py", line 103, in callWithLogger
Jan 20 11:03:04 turris haas-proxy-start[17778]:     
Jan 20 11:03:04 turris haas-proxy-start[17778]:   File "/usr/lib/python3.7/site-packages/twisted/python/log.py", line 86, in callWithContext
Jan 20 11:03:04 turris haas-proxy-start[17778]:     
Jan 20 11:03:04 turris haas-proxy-start[17778]:   File "/usr/lib/python3.7/site-packages/twisted/python/context.py", line 122, in callWithContext
Jan 20 11:03:04 turris haas-proxy-start[17778]:     
Jan 20 11:03:04 turris haas-proxy-start[17778]:   File "/usr/lib/python3.7/site-packages/twisted/python/context.py", line 85, in callWithContext
Jan 20 11:03:04 turris haas-proxy-start[17778]:     
Jan 20 11:03:04 turris haas-proxy-start[17778]:   File "/usr/lib/python3.7/site-packages/twisted/conch/ssh/service.py", line 45, in packetReceived
Jan 20 11:03:04 turris haas-proxy-start[17778]:     
Jan 20 11:03:04 turris haas-proxy-start[17778]:   File "/usr/lib/python3.7/site-packages/twisted/conch/ssh/connection.py", line 308, in ssh_CHANNEL_CLOSE
Jan 20 11:03:04 turris haas-proxy-start[17778]:     
Jan 20 11:03:04 turris haas-proxy-start[17778]: builtins.KeyError: 0

Edit:
Checked the issue raised at gitlab, most likely the same bug, it is been year but still nothing done, don’t understand what is so difficult to fix?
Sorry if offending someone here.

Duplicate: Haas-proxy python Unhandled Error

You can find there even GitLab issue, where you can see the progress of this issue. You can check if you have new records on HaaS website.

Closing.