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

Zed cancels markdown-oxide LSP requests #43

Open
Feel-ix-343 opened this issue Apr 4, 2024 · 5 comments
Open

Zed cancels markdown-oxide LSP requests #43

Feel-ix-343 opened this issue Apr 4, 2024 · 5 comments

Comments

@Feel-ix-343
Copy link
Owner

No description provided.

@gabrielkoerich
Copy link

Happens here too. Works when zed starts, but after a while it stops. Need to restart to get it back working.

@Feel-ix-343
Copy link
Owner Author

Ahh sorry.

Will work on this one.

@gabrielkoerich
Copy link

Thank you. I'm out now but I can provide the logs when I come back.

@gabrielkoerich
Copy link

gabrielkoerich commented Jun 4, 2024

Some logs:

2024-06-04T10:36:33-03:00 [INFO] starting language servers for Markdown: markdown-oxide
2024-06-04T10:36:52-03:00 [INFO] Initializing default prettier with plugins {}
2024-06-04T10:36:52-03:00 [INFO] starting language servers for Markdown: markdown-oxide
2024-06-04T10:37:03-03:00 [INFO] Initializing default prettier with plugins {}
2024-06-04T10:37:03-03:00 [INFO] starting language servers for Markdown: markdown-oxide
2024-06-04T10:37:03-03:00 [INFO] skipping numeric progress token 1
2024-06-04T10:37:03-03:00 [INFO] skipping numeric progress token 1
2024-06-04T10:37:03-03:00 [INFO] Language server with id 3 sent unhandled notification workspace/semanticTokens/refresh:
null
2024-06-04T10:37:23-03:00 [INFO] Initializing default prettier with plugins {}
2024-06-04T10:37:23-03:00 [INFO] starting language servers for Markdown: markdown-oxide
2024-06-04T10:37:32-03:00 [INFO] Initializing default prettier with plugins {}
2024-06-04T10:37:32-03:00 [INFO] starting language servers for Markdown: markdown-oxide
2024-06-04T10:43:59-03:00 [INFO] skipping numeric progress token 1
2024-06-04T10:43:59-03:00 [INFO] skipping numeric progress token 1
2024-06-04T10:43:59-03:00 [INFO] Language server with id 3 sent unhandled notification workspace/semanticTokens/refresh:
null
2024-06-04T10:44:21-03:00 [INFO] skipping numeric progress token 1
2024-06-04T10:44:21-03:00 [INFO] skipping numeric progress token 1
2024-06-04T10:44:21-03:00 [INFO] Language server with id 3 sent unhandled notification workspace/semanticTokens/refresh:
null
2024-06-04T10:44:27-03:00 [INFO] skipping numeric progress token 1
2024-06-04T10:44:27-03:00 [INFO] skipping numeric progress token 1
2024-06-04T10:44:27-03:00 [INFO] Language server with id 3 sent unhandled notification workspace/semanticTokens/refresh:
null
2024-06-04T10:44:31-03:00 [INFO] Initializing default prettier with plugins {}
2024-06-04T10:44:31-03:00 [INFO] starting language servers for Markdown: markdown-oxide
2024-06-04T10:46:54-03:00 [ERROR] Cancelled LSP request task for "textDocument/codeAction" id 95 which took over 120s
2024-06-04T10:46:54-03:00 [WARN] Generic lsp request to markdown-oxide failed: LSP request timeout
2024-06-04T10:46:54-03:00 [ERROR] crates/project/src/project.rs:7172: LSP request timeout
2024-06-04T10:51:13-03:00 [INFO] Initializing default prettier with plugins {}
2024-06-04T10:51:13-03:00 [INFO] starting language servers for Markdown: markdown-oxide
2024-06-04T10:53:08-03:00 [ERROR] Cancelled LSP request task for "textDocument/codeAction" id 112 which took over 120s
2024-06-04T10:53:08-03:00 [WARN] Generic lsp request to markdown-oxide failed: LSP request timeout
2024-06-04T10:53:08-03:00 [ERROR] crates/project/src/project.rs:7172: LSP request timeout
2024-06-04T10:53:24-03:00 [ERROR] Cancelled LSP request task for "textDocument/codeAction" id 116 which took over 120s
2024-06-04T10:53:24-03:00 [WARN] Generic lsp request to markdown-oxide failed: LSP request timeout
2024-06-04T10:53:24-03:00 [ERROR] crates/project/src/project.rs:7172: LSP request timeout
2024-06-04T11:01:22-03:00 [ERROR] Cancelled LSP request task for "textDocument/codeAction" id 118 which took over 120s
2024-06-04T11:01:22-03:00 [WARN] Generic lsp request to markdown-oxide failed: LSP request timeout
2024-06-04T11:01:22-03:00 [ERROR] crates/project/src/project.rs:7172: LSP request timeout
2024-06-04T11:01:27-03:00 [ERROR] Cancelled LSP request task for "textDocument/codeAction" id 121 which took over 120s
2024-06-04T11:01:27-03:00 [WARN] Generic lsp request to markdown-oxide failed: LSP request timeout
2024-06-04T11:01:27-03:00 [ERROR] crates/project/src/project.rs:7172: LSP request timeout
2024-06-04T11:02:49-03:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-06-04T11:02:49-03:00 [INFO] set status on client 168430: ConnectionLost
2024-06-04T11:02:49-03:00 [INFO] set status on client 168430: Reauthenticating
2024-06-04T11:02:49-03:00 [INFO] set status on client 168430: Reconnecting
2024-06-04T11:02:51-03:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-06-04T11:02:51-03:00 [INFO] add connection to peer
2024-06-04T11:02:51-03:00 [INFO] add_connection;
2024-06-04T11:02:51-03:00 [INFO] waiting for server hello
2024-06-04T11:02:51-03:00 [INFO] got server hello
2024-06-04T11:02:51-03:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 1 }, peer id: PeerId { owner_id: 442, id: 388815 })
2024-06-04T11:02:51-03:00 [INFO] set status on client 168430: Connected { peer_id: PeerId { owner_id: 442, id: 388815 }, connection_id: ConnectionId { owner_id: 0, id: 1 } }
2024-06-04T11:03:52-03:00 [INFO] reload git repository ".git"
2024-06-04T11:03:54-03:00 [INFO] reload git repository ".git"
2024-06-04T11:03:54-03:00 [INFO] reload git repository ".git"
2024-06-04T11:03:57-03:00 [INFO] reload git repository ".git"
2024-06-04T11:10:52-03:00 [ERROR] Cancelled LSP request task for "textDocument/codeAction" id 122 which took over 120s
2024-06-04T11:10:52-03:00 [WARN] Generic lsp request to markdown-oxide failed: LSP request timeout
2024-06-04T11:10:52-03:00 [ERROR] crates/project/src/project.rs:7172: LSP request timeout
2024-06-04T11:20:04-03:00 [INFO] Initializing default prettier with plugins {}
2024-06-04T11:20:04-03:00 [INFO] starting language servers for Dockerfile: dockerfile-language-server

When restarting the language server:

  
2024-06-04T11:36:46-03:00 [INFO] stopping language server markdown-oxide
2024-06-04T11:36:46-03:00 [WARN] Generic lsp request to markdown-oxide failed: oneshot canceled
2024-06-04T11:36:46-03:00 [WARN] Generic lsp request to markdown-oxide failed: oneshot canceled
2024-06-04T11:36:46-03:00 [WARN] Generic lsp request to markdown-oxide failed: oneshot canceled
2024-06-04T11:36:46-03:00 [WARN] Generic lsp request to markdown-oxide failed: oneshot canceled
2024-06-04T11:36:46-03:00 [WARN] Generic lsp request to markdown-oxide failed: oneshot canceled
2024-06-04T11:36:46-03:00 [WARN] Generic lsp request to markdown-oxide failed: oneshot canceled
2024-06-04T11:36:46-03:00 [ERROR] crates/lsp/src/lsp.rs:779: oneshot canceled
2024-06-04T11:36:46-03:00 [ERROR] crates/project/src/project.rs:7172: oneshot canceled
2024-06-04T11:36:46-03:00 [ERROR] crates/project/src/project.rs:7172: oneshot canceled
2024-06-04T11:36:46-03:00 [INFO] starting language servers for Markdown: markdown-oxide
2024-06-04T11:36:46-03:00 [INFO] starting language server "markdown-oxide", path: "/xxxxxxxxx/", id: 5
2024-06-04T11:36:46-03:00 [ERROR] crates/editor/src/hover_links.rs:155: oneshot canceled
2024-06-04T11:36:46-03:00 [ERROR] crates/editor/src/hover_links.rs:155: oneshot canceled
2024-06-04T11:36:46-03:00 [INFO] Ignoring repeated FindAllReferences invocation with the position of already running task
2024-06-04T11:36:46-03:00 [ERROR] crates/editor/src/hover_links.rs:155: oneshot canceled
2024-06-04T11:36:46-03:00 [INFO] Ignoring repeated FindAllReferences invocation with the position of already running task
2024-06-04T11:36:46-03:00 [ERROR] crates/editor/src/hover_links.rs:155: oneshot canceled
2024-06-04T11:36:46-03:00 [INFO] Ignoring repeated FindAllReferences invocation with the position of already running task
2024-06-04T11:36:47-03:00 [INFO] starting language server. binary path: "/xxxxxxxx/.cargo/bin/markdown-oxide", working directory: "/xxxxxxxx/Projects/b", args: []
2024-06-04T11:36:51-03:00 [INFO] Initializing default prettier with plugins {}
2024-06-04T11:36:51-03:00 [INFO] starting language servers for Markdown: markdown-oxide
2024-06-04T11:36:53-03:00 [INFO] Initializing default prettier with plugins {}
2024-06-04T11:36:53-03:00 [INFO] starting language servers for Markdown: markdown-oxide

@Feel-ix-343
Copy link
Owner Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants