Skip to content

Initializing the extension failed #763

@Ashfaque1234

Description

@Ashfaque1234

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions