Remote Observer repeatedly fails to write message to output file
Describe the bug Remote Observer repeatedly fails to write message to output file. To Reproduce Steps to reproduce the behavior:
- Start Robotframework Language Server
- Interact with any .robot file
Expected behavior This not happening
Versions:
- OS: [e.g. Windows 10]
- Robot Framework Version: [6.0.2]
- Robot Framework Language Server Version: [v1.11.0]
- Client Version: [VSCode 1.88,.0]
Logs remote_fs_observer: 2024-04-11 07:10:33 UTC pid: 9852 - Thread-4 - EXCEPTION - robocorp_ls_core.jsonrpc.streams Failed to write message to output file {'command': 'on_change', 'on_change_id': '15720 - 13 - 0.07305297257440047', 'src_path': 'c:\volvovicktz\tests\resources\robot_kw\sanity.resource'} - closed: False
Traceback (most recent call last): File "c:\Users\volvovicktz.vscode\extensions\robocorp.robotframework-lsp-1.11.0\src\robotframework_ls\vendored\robocorp_ls_core\jsonrpc\streams.py", line 229, in write stream.flush() File "C:\Python39\lib\socket.py", line 722, in write return self._sock.send(b) ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host remote_fs_observer: 2024-04-11 07:10:33 UTC pid: 9852 - Thread-4 - EXCEPTION - robocorp_ls_core.jsonrpc.streams Failed to write message to output file {'command': 'on_change', 'on_change_id': '15720 - 13 - 0.07305297257440047', 'src_path': 'c:\volvovicktz\tests\resources\robot_kw\healthcheck.resource'} - closed: False
Traceback (most recent call last): File "c:\Users\volvovicktz.vscode\extensions\robocorp.robotframework-lsp-1.11.0\src\robotframework_ls\vendored\robocorp_ls_core\jsonrpc\streams.py", line 229, in write stream.flush() File "C:\Python39\lib\socket.py", line 722, in write return self._sock.send(b) ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host remote_fs_observer: 2024-04-11 07:10:33 UTC pid: 9852 - Thread-4 - EXCEPTION - robocorp_ls_core.jsonrpc.streams Failed to write message to output file {'command': 'on_change', 'on_change_id': '15720 - 2 - 0.23588088722911804', 'src_path': 'c:\Python39\lib\socket.py'} - closed: False
Traceback (most recent call last): File "c:\Users\volvovicktz.vscode\extensions\robocorp.robotframework-lsp-1.11.0\src\robotframework_ls\vendored\robocorp_ls_core\jsonrpc\streams.py", line 229, in write stream.flush() File "C:\Python39\lib\socket.py", line 722, in write return self._sock.send(b) ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host remote_fs_observer: 2024-04-11 07:10:33 UTC pid: 9852 - Thread-4 - EXCEPTION - robocorp_ls_core.jsonrpc.streams Failed to write message to output file {'command': 'on_change', 'on_change_id': '15720 - 13 - 0.07305297257440047', 'src_path': 'c:\volvovicktz\health_check_tests\common\output_tests.robot'} - closed: False
Traceback (most recent call last): File "c:\Users\FMOLIN1.vscode\extensions\robocorp.robotframework-lsp-1.11.0\src\robotframework_ls\vendored\robocorp_ls_core\jsonrpc\streams.py", line 229, in write stream.flush() File "C:\Python39\lib\socket.py", line 722, in write return self._sock.send(b) ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
I have been clawing my hair out about this one for a year, nothing I do works and I don't even know what could remotely cause it. Would be great if I could get some troubleshooting assistance here.