redhat-developer / redhat-developer/vscode-xml

`redhat.vscode-xml failed: Connection to server got closed` when running in developer mode

Open
#844 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
328
Forks
101
Avg merge
1d 17h
Merged PRs (30d)
7

Description

I am developing a vscode extension pretext-tools that lists redhat.vscode-xml as an extensionDependencies.

When I try to start this extension in debug mode, I am presented with:

ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)

I think this might be because vscode is trying to start two language servers on the same port, but I am not sure...

The branch I am working on is https://github.com/siefkenj/pretext-tools/tree/lsp in case that helps. @angelozerr I believe you were looking at pretext-tools lately. Are you able to help?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the pretext-tools lsp branch and its VS Code developer-mode setup, especially the extensionDependencies entry for redhat.vscode-xml. Reproduce the failure and trace the reported JDWP bind error and closed language-server connection; done means establishing the cause and confirming that the extension can start without the port conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.