Open Dragon1573 opened 1 week ago
Can you provide the Amazon Q logs?
Amazon Q: View Logs
. This reveals the Output panel with Amazon Q Logs
selected.Debug
, then click it again and choose Set As Default
.Logs are as follows. Private information (seems UUID or something like that) are replaced with *****MASKED*****
.
2024-11-06 20:26:14.005 [info] Log level: debug
2024-11-06 20:26:14.005 [debug] getClientId: determined clientId as: *****MASKED*****, process.env clientId was: undefined, stored clientId was: *****MASKED*****
2024-11-06 20:26:14.005 [debug] getClientId: setting clientId in process.env to: *****MASKED*****
2024-11-06 20:26:14.005 [debug] User agent: AmazonQ-For-VSCode/1.33.0 Visual-Studio-Code/1.95.1 ClientId/*****MASKED*****
2024-11-06 20:26:14.005 [info] Telemetry product: Amazon Q For VS Code
2024-11-06 20:26:14.005 [debug] Telemetry is enabled
2024-11-06 20:26:14.005 [debug] telemetry cache not found, skipping
2024-11-06 20:26:14.005 [debug] telemetry: session_start
2024-11-06 20:26:14.005 [info] Telemetry clientId: *****MASKED*****
2024-11-06 20:26:14.005 [info] Telemetry sessionId: *****MASKED*****
2024-11-06 20:26:14.005 [debug] firstStartup: This is not the users first use of the extension. Skipped showing Add Connections page.
2024-11-06 20:26:14.005 [debug] skipping: Settings migration ("aws.codeWhisperer.includeSuggestionsWithCodeReferences" -> "amazonQ.showInlineCodeSuggestionsWithCodeReferences"), (scope: workspaceValue), the old setting is not defined for this scope.
2024-11-06 20:26:14.005 [debug] skipping: Settings migration ("aws.codeWhisperer.includeSuggestionsWithCodeReferences" -> "amazonQ.showInlineCodeSuggestionsWithCodeReferences"), (scope: globalValue), the old setting is not defined for this scope.
2024-11-06 20:26:14.005 [debug] skipping: Settings migration ("aws.codeWhisperer.importRecommendation" -> "amazonQ.importRecommendationForInlineCodeSuggestions"), (scope: workspaceValue), the old setting is not defined for this scope.
2024-11-06 20:26:14.005 [debug] skipping: Settings migration ("aws.codeWhisperer.importRecommendation" -> "amazonQ.importRecommendationForInlineCodeSuggestions"), (scope: globalValue), the old setting is not defined for this scope.
2024-11-06 20:26:14.005 [debug] skipping: Settings migration ("aws.codeWhisperer.shareCodeWhispererContentWithAWS" -> "amazonQ.shareContentWithAWS"), (scope: workspaceValue), the old setting is not defined for this scope.
2024-11-06 20:26:14.005 [debug] skipping: Settings migration ("aws.codeWhisperer.shareCodeWhispererContentWithAWS" -> "amazonQ.shareContentWithAWS"), (scope: globalValue), the old setting is not defined for this scope.
2024-11-06 20:26:14.005 [debug] codewhisperer: new user login, activating inline tutorial. (autotriggerEnabled=undefined; inlineState=undefined)
2024-11-06 20:26:14.036 [debug] SSO token cache: loaded key: *****MASKED*****
2024-11-06 20:26:14.036 [info] current client registration id=*****MASKED*****
expires at Fri Jan 24 2025 17:04:21 GMT+0800 (中国标准时间)
key = *****MASKED*****
2024-11-06 20:26:14.036 [info] auth: Connection is valid: *****MASKED*****
2024-11-06 20:26:14.036 [info] auth: Updating connection state of *****MASKED***** to valid
2024-11-06 20:26:14.036 [debug] telemetry: auth_modifyConnection
2024-11-06 20:26:14.036 [info] codewhisperer: active connection changed
2024-11-06 20:26:14.036 [info] secondaryAuth: connectionId=*****MASKED*****, connectionStatus=valid
2024-11-06 20:26:14.036 [info] codewhisperer: connection states
connection isValid=true,
connection isValidCodewhispererCoreConnection=true,
connection isExpired=false,
secondaryAuth isExpired=false,
connection isUndefined=false
2024-11-06 20:26:14.370 [info] auth: Connection is valid: *****MASKED*****
2024-11-06 20:26:14.370 [info] auth: Updating connection state of *****MASKED***** to valid
2024-11-06 20:26:14.370 [info] codewhisperer: active connection changed
2024-11-06 20:26:14.373 [debug] auth: SSO registration cache: loaded key: {"startUrl":"https://view.awsapps.com/start","region":"us-east-1","scopes":["codewhisperer:completions","codewhisperer:analysis","codewhisperer:conversations","codewhisperer:transformations","codewhisperer:taskassist"]}
2024-11-06 20:26:14.373 [debug] telemetry: auth_modifyConnection
2024-11-06 20:26:14.376 [debug] amazonq: Fetching feature configs
2024-11-06 20:26:14.376 [debug] amazonq: Fetching feature configs
2024-11-06 20:26:14.376 [debug] command: running "aws.amazonq.refreshConnectionCallback" with arguments: []
2024-11-06 20:26:14.376 [debug] telemetry: vscode_executeCommand
2024-11-06 20:26:14.381 [info] using codewhispererService service configuration: default
2024-11-06 20:26:14.389 [info] auth: Connection is valid: *****MASKED*****
2024-11-06 20:26:14.389 [info] auth: Updating connection state of *****MASKED***** to valid
2024-11-06 20:26:14.391 [debug] auth: SSO registration cache: loaded key: {"startUrl":"https://view.awsapps.com/start","region":"us-east-1","scopes":["codewhisperer:completions","codewhisperer:analysis","codewhisperer:conversations","codewhisperer:transformations","codewhisperer:taskassist"]}
2024-11-06 20:26:14.391 [debug] telemetry: auth_userState
2024-11-06 20:26:14.427 [debug] CWCTelemetryHelper: Initialized new telemetry helper
2024-11-06 20:26:14.427 [info] initialized 'submitFeedback' command with default feedback id: Amazon Q
2024-11-06 20:26:14.429 [debug] command: running "aws.amazonq.viewLogs" with arguments: []
2024-11-06 20:26:14.429 [debug] telemetry: vscode_executeCommand
2024-11-06 20:26:14.430 [debug] telemetry: ide_heartbeat
2024-11-06 20:26:15.357 [debug] telemetry: aws_featureConfig
2024-11-06 20:26:15.357 [debug] telemetry: aws_featureConfig
2024-11-06 20:26:15.357 [debug] telemetry: aws_featureConfig
2024-11-06 20:26:15.357 [info] AB Testing Cohort Assignments [{"feature":"ProjectContextV2","variation":"CONTROL","value":{"stringValue":"CONTROL"}},{"feature":"ViewDiffInChat","variation":"DEFAULT","value":{"stringValue":"DEFAULT"}},{"feature":"NewAutoTriggerUX","variation":"DEFAULT","value":{"stringValue":"DEFAULT"}}]
2024-11-06 20:26:15.357 [debug] CodeWhisperer: Current feature configs: {ProjectContextV2: CONTROL, ViewDiffInChat: DEFAULT, NewAutoTriggerUX: DEFAULT}
2024-11-06 20:26:15.359 [debug] telemetry: aws_featureConfig
2024-11-06 20:26:15.359 [debug] telemetry: aws_featureConfig
2024-11-06 20:26:15.359 [debug] telemetry: aws_featureConfig
2024-11-06 20:26:15.359 [info] AB Testing Cohort Assignments [{"feature":"ProjectContextV2","variation":"CONTROL","value":{"stringValue":"CONTROL"}},{"feature":"ViewDiffInChat","variation":"DEFAULT","value":{"stringValue":"DEFAULT"}},{"feature":"NewAutoTriggerUX","variation":"DEFAULT","value":{"stringValue":"DEFAULT"}}]
2024-11-06 20:26:15.359 [debug] CodeWhisperer: Current feature configs: {ProjectContextV2: CONTROL, ViewDiffInChat: DEFAULT, NewAutoTriggerUX: DEFAULT}
2024-11-06 20:26:19.437 [info] LspController: LSP already installed
2024-11-06 20:26:20.071 [error] LspController: LSP failed to activate Error: Request initialize failed with message: Invalid argument: sessionOptions.intraOpNumThreads must be a number.
Problem
Steps to reproduce the issue
Expected behavior
There should be no notifications from this plugin.
System details (run
AWS: About
and/orAmazon Q: About
)