Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Chat & console Errors

Open iamisaacalexander opened this issue 10 months ago • 3 comments

Before opening, please confirm:

Operating System

darwin

Kiro Version

0.8.86

Bug Description

Hi y'all. I love Kiro so much and I've made so much progress, but the last three weeks have been infuriating. I have not been able to work on my project. I've already submitted a bug report about the chat window producing errors and doubling my entries & Kiro doubling responses leading chats erroring out. Entire chat sessions have been lost. This is so frustrating. I'm trying to work and I can't get any help. There's no one to email. Please respond. Below are the errors I'm seeing. There's errors in the console (I guess it would be the "workbench").

While I understand what I'm building with Kiro architecturally, I am not a code engineer.

Hence why I love Kiro for the progress it's helped me make while being a n00b. Please respond. Please advise. Please help. ETC...

Steps to Reproduce

Within the first couple queries in a chat window Kiro enters my text twice, then begins responding twice simultaneously.

Expected Behavior

A prompt/query then 1 answer with no errors

Conversation ID

c036726b-f170-4a29-a134-1da9881724c2

Additional Context

workbench.desktop.main.js:2378 Got token path with schema file and path /Users/isaacalexander/.aws/sso/cache/kiro-auth-token.json workbench.desktop.main.js:11682 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing. mountTo @ workbench.desktop.main.js:11682 workbench.desktop.main.js:34 INFO Started local extension host with pid 827. workbench.desktop.main.js:34 INFO [perf] Render performance baseline is 20ms workbench.desktop.main.js:11480 Failed to connect to MCP server "git": MCP error -32000: Connection closed c @ workbench.desktop.main.js:11480 workbench.desktop.main.js:523 [Extension Host] rejected promise not handled within 1 second: McpError: MCP error -32000: Connection closed fbs @ workbench.desktop.main.js:523 workbench.desktop.main.js:523 [Extension Host] stack trace: McpError: MCP error -32000: Connection closed at Client._onclose (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:145586:24) at _transport.onclose (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:145556:16) at ChildProcess. (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:152942:79) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1101:16) at Socket. (node:internal/child_process:456:11) at Socket.emit (node:events:519:28) at Pipe. (node:net:346:12) at Pipe.callbackTrampoline (node:internal/async_hooks:130:17) fbs @ workbench.desktop.main.js:523 workbench.desktop.main.js:547 [kiro.kiroAgent]MCP error -32000: Connection closed $onExtensionRuntimeError @ workbench.desktop.main.js:547 workbench.desktop.main.js:547 McpError: MCP error -32000: Connection closed at Client._onclose (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:145586:24) at _transport.onclose (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:145556:16) at ChildProcess. (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:152942:79) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1101:16) at Socket. (node:internal/child_process:456:11) at Socket.emit (node:events:519:28) at Pipe. (node:net:346:12) at Pipe.callbackTrampoline (node:internal/async_hooks:130:17) $onExtensionRuntimeError @ workbench.desktop.main.js:547 workbench.desktop.main.js:34 ERR An unknown error occurred. Please consult the log for more details. error @ workbench.desktop.main.js:34 index.js:111 Uncaught QuotaExceededError: Failed to execute 'setItem' on 'Storage': Setting the value of 'inputHistory' exceeded the quota. at ko (index.js:111:44) at Object.l (index.js:957:19873) at Object. (index.js:1065:5539) at Enter (index.js:1065:2954) at index.js:859:6134 at mi. (index.js:857:51751) at index.js:857:6386 at q5e.someProp (index.js:857:46112) at Yr.keydown (index.js:857:6358) at e.dom.addEventListener.e.input.eventHandlers. (index.js:857:4941) workbench.desktop.main.js:523 [Extension Host] rejected promise not handled within 1 second: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined fbs @ workbench.desktop.main.js:523 workbench.desktop.main.js:523 [Extension Host] stack trace: TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at Buffer.from (node:buffer:325:9) at /Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:702638:25 at Array.map () at extractImages (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:702633:72) at /Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:702655:19 at Array.map () at convertToGenerateAssistantMessages (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:702647:38) at QDeveloperConverse._streamResponseChunks (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:702955:35) at _streamResponseChunks.next () at QDeveloperConverse._streamIterator (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:657301:30) fbs @ workbench.desktop.main.js:523 workbench.desktop.main.js:547 [kiro.kiroAgent]The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined $onExtensionRuntimeError @ workbench.desktop.main.js:547 workbench.desktop.main.js:547 TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at Buffer.from (node:buffer:325:9) at /Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:702638:25 at Array.map () at extractImages (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:702633:72) at /Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:702655:19 at Array.map () at convertToGenerateAssistantMessages (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:702647:38) at QDeveloperConverse._streamResponseChunks (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:702955:35) at _streamResponseChunks.next () at QDeveloperConverse._streamIterator (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:657301:30) $onExtensionRuntimeError @ workbench.desktop.main.js:547 workbench.desktop.main.js:34 ERR An unknown error occurred. Please consult the log for more details. error @ workbench.desktop.main.js:34 workbench.desktop.main.js:523 [Extension Host] rejected promise not handled within 1 second: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined fbs @ workbench.desktop.main.js:523 workbench.desktop.main.js:523 [Extension Host] stack trace: TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at Buffer.from (node:buffer:325:9) at /Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:702638:25 at Array.map () at extractImages (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:702633:72) at /Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:702655:19 at Array.map () at convertToGenerateAssistantMessages (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:702647:38) at QDeveloperConverse._streamResponseChunks (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:702955:35) at _streamResponseChunks.next () at QDeveloperConverse._streamIterator (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:657301:30) fbs @ workbench.desktop.main.js:523 workbench.desktop.main.js:547 [kiro.kiroAgent]The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined $onExtensionRuntimeError @ workbench.desktop.main.js:547 workbench.desktop.main.js:547 TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at Buffer.from (node:buffer:325:9)

iamisaacalexander avatar Jan 11 '26 23:01 iamisaacalexander

See previous bug report if needed:

"Double outputs & Glitching #4599"

iamisaacalexander avatar Jan 11 '26 23:01 iamisaacalexander

Hi @iamisaacalexander, Thanks for rising this and have added comment in the other issue for deep dive.

AnilMaktala avatar Jan 12 '26 13:01 AnilMaktala

This issue has been automatically closed as it appears to be a duplicate of an existing issue.

If you believe this is incorrect, please comment on this issue and a maintainer will review it.

github-actions[bot] avatar Jan 30 '26 00:01 github-actions[bot]