Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Observer repeatedly fails to write message to output file #1060

Open
Volvovicktz opened this issue Apr 11, 2024 · 0 comments
Open

Remote Observer repeatedly fails to write message to output file #1060

Volvovicktz opened this issue Apr 11, 2024 · 0 comments
Labels
bug Something isn't working robotframework-ls

Comments

@Volvovicktz
Copy link

Describe the bug
Remote Observer repeatedly fails to write message to output file.
To Reproduce
Steps to reproduce the behavior:

  1. Start Robotframework Language Server
  2. 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.

@Volvovicktz Volvovicktz added bug Something isn't working robotframework-ls labels Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working robotframework-ls
Projects
None yet
Development

No branches or pull requests

1 participant