"Assertion failed: Connection reset by peer": what could I do about it?


I am unable to use JupyterLab for more that a few hours.
The log files indicate an issue with a TCP connection used by Jupyter.
(for the details see: https://github.com/ipython/ipython/issues/11873 )

I was told that some application must be killing this TCP connection.
However, I have no idea about how to troubleshoot that.
Could you help me to find out the root cause or any practical solution?

Are there tools to find out why is this connection lost?
Are there alternative connection methods for Jupyter?
Are there ways to lock a connection?