Initializing the extension failed

Open
#763 2 comments 0 reactions 1 assignee View on GitHub

@Heliozoa is already working on this.

Since Sep 17, 2025.

Assessment

This issue has not been assessed yet.

Description

Something went wrong while initializing the extension.
Failed to initialize tmc-langs: fetch failed: Error: Client network socket disconnected before secure TLS connection was established. Stack trace: TypeError: fetch failed at e.exports.fetch (c:\Users\hp.vscode\extensions\moocfi.test-my-code-3.4.2\dist\lib.js:2:421288) at processTicksAndRejections (node:internal/process/task_queues:105:5) at t.downloadFile (c:\Users\hp.vscode\extensions\moocfi.test-my-code-3.4.2\dist\lib.js:2:536536) at c:\Users\hp.vscode\extensions\moocfi.test-my-code-3.4.2\dist\lib.js:2:245685
This error may be caused by a proxy or firewall that is blocking network requests or by an antivirus program. This may also be caused by an antivirus program. You can try to resolve this issue by adding an exception to the directory at 'c:\Users\hp\AppData\Roaming\Code\User\globalStorage\moocfi.test-my-code\cli'.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'VSCode'

  2. Click on 'TMC.'

  3. See error

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • VSCode Version [e.g. 1.4.0]
  • TMC Extension Version [e.g. 0.8.1]
  • Other related extensions.

TMC Extension logs

Note: To open VSCode's Command Palette, you can select View in the top bar followed by the Command Palette... option, or use a keyboard shortcut (Ctrl+Shift+P on Windows or Linux, ⇧⌘P on MacOS, or F1 on either by default).

  1. Open the Command Palette, type in tmc.settings and press Enter to open the extension settings. In the settings, make sure the Log Level is set to Verbose.
  2. Open the Command Palette, type in tmc.debug and press Enter to open the extension logs.
  3. Reproduce the error.
  4. Copy the extension logs that opened in step 2. and paste them here.

Additional context
Add any other context about the problem here.

Dominant language
TypeScript
Stars
30
Forks
7
Avg merge
1h 16m
Merged PRs (30d)
1

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.

More from rage/tmc-vscode

All issues in rage/tmc-vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.