Skip to content

Conversation

Will-ShaoHua
Copy link
Contributor

@Will-ShaoHua Will-ShaoHua commented Oct 3, 2025

Problem

amazonqLsp: Failed to start downloaded LSP, falling back to bundled LSP: Unable to download dependencies from https://aws-toolkit-language-servers.amazonaws.com/qAgenticChatServer/0/manifest.json. Check your network connectivity or firewall configuration and then try again.\
-09-29 14:07:00.075 [info] [2025-09-29T06:07:00.017Z] lserver: Chat configuration updated customizationArn to undefined\
2025-09-29 14:07:00.075 [info] [2025-09-29T06:07:00.017Z] lserver: Chat configuration telemetry preference to OPTIN\
2025-09-29 14:07:00.076 [info] [Info  - 2:07:00 PM] [2025-09-29T06:07:00.017Z] lserver: LSP on initialize for QCodeAnalysisServer\
2025-09-29 14:07:00.076 [info] [2025-09-29T06:07:00.018Z] lserver: Passing client for class Service to sdkInitializator (v2) for additional setup (e.g. proxy)\
2025-09-29 14:07:00.076 [info] [Warn  - 2:07:00 PM] Failed to read system certificates: <ref *1> Error: spawnSync c:\\Users\\??????????\\.vscode\\extensions\\amazonwebservices.amazon-q-vscode-1.88.0\\resources\\language-server\\servers\\roots.exe ENOENT\
    at Object.spawnSync (node:internal/child_process:1120:20)\
    at spawnSync (node:child_process:934:24)\
    at Object.execFileSync (node:child_process:977:15)\
    at Object.func [as execFileSync] (node:electron/js2c/node_init:2:2617)\
    at Object.i [as run] (c:\\Users\\I???????????????????????\\.vscode\\extensions\\amazonwebservices.amazon-q-vscode-1.88.0\\resources\\language-server\\servers\\aws-lsp-codewhisperer.js:2:9963605)\
    at n (c:\\Users\\?????????????????\\.vscode\\extensions\\amazonwebservices.amazon-q-vscode-1.88.0\\resources\\language-server\\servers\\aws-lsp-codewhisperer.js:2:3248719)\
    at t.readWindowsCertificates (c:\\Users\\????????????????\\.vscode\\extensions\\amazonwebservices.amazon-q-vscode-1.88.0\\resources\\language-server\\servers\\aws-lsp-codewhisperer.js:2:8634102)\
    at b.readSystemCertificates (c:\\Users\\???????????\\.vscode\\extensions\\amazonwebservices.amazon-q-vscode-1.88.0\\resources\\language-server\\servers\\aws-lsp-codewhisperer.js:2:9232551)\
    at b.getCertificates (c:\\Users\\???????????????\\.vscode\\extensions\\amazonwebservices.amazon-q-vscode-1.88.0\\resources\\language-server\\servers\\aws-lsp-codewhisperer.js:2:9232694)\
    at b.createSecureAgent (c:\\Users\\???????????????\\.vscode\\extensions\\amazonwebservices.amazon-q-vscode-1.88.0\\resources\\language-server\\servers\\aws-lsp-codewhisperer.js:2:9233463) \{\
  errno: -4058,\
  code: 'ENOENT',\
  syscall: 'spawnSync c:\\\\Users\\\???????????????????\\\\.vscode\\\\extensions\\\\amazonwebservices.amazon-q-vscode-1.88.0\\\\resources\\\\language-server\\\\servers\\\\roots.exe',\
  path: 'c:\\\\Users\\\\?????????????????\\\.vscode\\\\extensions\\\\amazonwebservices.amazon-q-vscode-1.88.0\\\\resources\\\\language-server\\\\servers\\\\roots.exe',\
  spawnargs: [ 'root', 'ca' ],\
  error: [Circular *1],\
  status: null,\
  signal: null,\
  output: null,\
  pid: 0,\
  stdout: undefined,\
  stderr: undefined\
\}\
2025-09-29 14:07:00.076 [info] Total certificates read: 150\
2025-09-29 14:07:00.077 [info] Removed expired certificates: 1\
2025-09-29 14:07:00.077 [info] Using certificates: 149\
2025-09-29 14:07:00.077 [info] [Warn  - 2:07:00 PM] os\uc0\u8209 proxy\u8209 config shim failed: The "path" argument must be of type string. Received type number (82779)\

Solution


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Will-ShaoHua Will-ShaoHua requested a review from a team as a code owner October 3, 2025 08:31
Copy link

⏳ I'm reviewing this pull request for security vulnerabilities and code quality issues. I'll provide an update when I'm done

Copy link

github-actions bot commented Oct 3, 2025

  • This pull request modifies code in src/* but no tests were added/updated.
    • Confirm whether tests should be added or ensure the PR description explains why tests are not required.

Copy link

✅ I finished the code review, and didn't find any security or code quality issues.

import { getLogger } from './logger'
const { HttpsProxyAgent } = require('https-proxy-agent')

const request = {
Copy link
Contributor Author

@Will-ShaoHua Will-ShaoHua Oct 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suspecting proxy is not applied to the language server download path

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Will-ShaoHua Will-ShaoHua marked this pull request as draft October 6, 2025 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant