Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Sign-in Redirect Not Redirecting (Debian/Ubuntu) (Chromebook Debian)

Open trustypark opened this issue 1 year ago • 26 comments

Before opening, please confirm:

Operating System

ChromeOS Version 139.0.7258.164 (Official Build) (64-bit)

Kiro Version

0.2.38

Bug Description

When I try to sign in with Google or Github, it takes me to the "we will take you to your default web browser..." page, and then stays there with no redirects. The "cancel" button is also broken.

I tried setting $BROWSER to firefox-esr and xdg-open, but none of it worked. I also tried using strace (execve) to see what went wrong, but there were no processes after I clicked "Sign in with Github/Google", either that or I did not wait long enough (I waited 1 minute). The cancel button also did not give any processes.

Where I'm stuck at: Image

Steps to Reproduce

  1. Download Kiro's Debian/Ubuntu .deb file from the official website.
  2. Double-click the file to install it.
  3. Open Kiro app via launcher or xdg-open.
  4. Click on either "Sign in with Google" or "Sign in with Github".
  5. I'm stuck here. The cancel button also does not work.

Expected Behavior

Redirected me to a link in Firefox ESR browser.

Conversation ID

no clue

Additional Context

My $BROWSER was originally set to nothing (""), and it also did not work then. I downloaded Firefox ESR afterwards and set it as default browser.

I'm using Penguin as my terminal.

trustypark avatar Sep 12 '25 10:09 trustypark

same occured for me

ankurjaiswalofficial avatar Sep 17 '25 12:09 ankurjaiswalofficial

I'm also experiencing this problem and don't understand what to do, I've tried everything :( ubuntu 24.04.3 LTS

turbocobra avatar Sep 18 '25 21:09 turbocobra

Same problem here

Operating System

Ubuntu 24.04.3 LTS

Kiro version

202509300138-distro-linux-x64.deb

Other information

Form journalctl I get this traces related to kiro

oct 02 12:57:06 cuda kernel: audit: type=1400 audit(1759402626.483:14623): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=3188748 comm="kiro" requested="userns_create" target="unprivileged_userns"
oct 02 12:57:06 cuda kernel: audit: type=1400 audit(1759402626.485:14624): apparmor="DENIED" operation="capable" class="cap" profile="unprivileged_userns" pid=3188753 comm="kiro" capability=21  capname="sys_admin"
oct 02 12:57:07 cuda dbus-daemon[1971]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.176253' (uid=1000 pid=3188748 comm="/usr/share/kiro/kiro" label="unconfined")
oct 02 12:57:07 cuda systemd[1]: bluetooth.service - Bluetooth service was skipped because of an unmet condition check (ConditionPathIsDirectory=/sys/class/bluetooth).

laparca avatar Oct 02 '25 10:10 laparca

have you already found the right solution because i'm stuckin on the same issue on my UbUNTU 24 distro

@laparca @turbocobra @harshchheda-aws @ankurjaiswalofficial @iEatKidsForDinner

CHRISLeGURU avatar Oct 04 '25 22:10 CHRISLeGURU

Nah mate, haven't had a reply from Kiro yet. Haven't seen any updates related to it as well

trustypark avatar Oct 05 '25 05:10 trustypark

Just got the same issue as well, anyone got a fix?

AlexandraMMR avatar Nov 01 '25 14:11 AlexandraMMR

Has the issue been attended to, got the same issue and can't sign in

spotinforex avatar Nov 11 '25 09:11 spotinforex

Facing same issue as well.

Component Detail Source
Kiro IDE Version 0.6.0-1763269347 DEB package filename
Operating System Debian GNU/Linux 13 (Trixie/Testing) telemetry.log
Desktop Environment KDE 6 telemetry.log
Installation Method Debian package (sudo apt install kiro...deb) User command history

// From main.log: 2025-11-18 09:14:05.602 [trace] Received data from other instance: {"_urls":["kiro://kiro.kiroagent/authenticate-success?code=67e7c860-882e-4b99-8f36-e0eb9affde76&state=7b7f77bd-adb2-4a20-96e5-bf6596e78a5f"]} 2025-11-18 09:14:05.602 [trace] URLHandlerRouter#routeCall(): did not find windowId query parameter kiro://kiro.kiroagent/authenticate-success?code=67e7c860-882e-4b99-8f36-e0eb9affde76&state=7b7f77bd-adb2-4a20-96e5-bf6596e78a5f // (In previous sessions, the log explicitly showed "app#handleProtocolUrl(): not handled")

Troubleshooting Steps Taken Full Purge and Reinstall: Executed sudo apt purge kiro and removed all configuration files (rm -rf ~/.config/Kiro) before reinstalling the .deb package. The issues persisted.

Trace Logging: All logs provided were generated with kiro --log trace enabled.

jadmadi avatar Nov 18 '25 06:11 jadmadi

Same issue Why not provide a cli to do it manually or show us the link it supposed to edirect.

oranmizrahi avatar Nov 30 '25 17:11 oranmizrahi

Same issue on MacOS 26 Stuck on that screen and no redirect. Full uninstall and install didn't help!

MeenachiSundaram avatar Dec 03 '25 14:12 MeenachiSundaram

+1

liuchunyu888 avatar Dec 04 '25 17:12 liuchunyu888

Same problem here in NixOS 25.05

emoriver avatar Dec 07 '25 17:12 emoriver

Same problem. Fresh Arch Linux, KDE6, wayland. I reproduced the problem with a fresh install as well.

[main 2025-12-11T18:38:04.720Z] Received data from other instance:  {
...
  ],
  logsPath: '/home/zolti/.config/Kiro/logs/20251211T193804'
} {
  SHELL: '/usr/bin/bash',
  SESSION_MANAGER: 'local/iroda1:@/tmp/.ICE-unix/675,unix/iroda1:/tmp/.ICE-unix/675',
  WINDOWID: '104122300227536',
...
[main 2025-12-11T18:38:04.726Z] app#handleProtocolUrl(): kiro://kiro.kiroagent/authenticate-success?code=9d4472e4-f0f3-4ac2-a784-18fc41661f0a&state=0e8bc8d7-6df1-415c-9bb3-f1ddb0cf35b5 {
  originalUrl: 'kiro://kiro.kiroagent/authenticate-success?code=9d4472e4-f0f3-4ac2-a784-18fc41661f0a&state=0e8bc8d7-6df1-415c-9bb3-f1ddb0cf35b5'
}
[main 2025-12-11T18:38:04.728Z] app#handleProtocolUrl(): not handled kiro://kiro.kiroagent/authenticate-success?code=9d4472e4-f0f3-4ac2-a784-18fc41661f0a&state=0e8bc8d7-6df1-415c-9bb3-f1ddb0cf35b5 {
  originalUrl: 'kiro://kiro.kiroagent/authenticate-success?code=9d4472e4-f0f3-4ac2-a784-18fc41661f0a&state=0e8bc8d7-6df1-415c-9bb3-f1ddb0cf35b5'
}
[main 2025-12-11T18:38:04.730Z] URLHandlerRouter#routeCall() with URI argument kiro://kiro.kiroagent/authenticate-success?code=9d4472e4-f0f3-4ac2-a784-18fc41661f0a&state=0e8bc8d7-6df1-415c-9bb3-f1ddb0cf35b5
[main 2025-12-11T18:38:04.730Z] URLHandlerRouter#routeCall(): did not find windowId query parameter kiro://kiro.kiroagent/authenticate-success?code=9d4472e4-f0f3-4ac2-a784-18fc41661f0a&state=0e8bc8d7-6df1-415c-9bb3-f1ddb0cf35b5
[9909:1211/193804.736290:INFO:CONSOLE:34] "%cTRACE color: #888 CommandService#executeCommand kiro.uri", source: vscode-file://vscode-app/opt/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js (34)
[9909:1211/193804.747216:INFO:CONSOLE:34] "%cTRACE color: #888 URLService#handleURL(): handled kiro://kiro.kiroagent/authenticate-success?code=9d4472e4-f0f3-4ac2-a784-18fc41661f0a&state=0e8bc8d7-6df1-415c-9bb3-f1ddb0cf35b5", source: vscode-file://vscode-app/opt/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js (34)
[9909:1211/193903.993688:INFO:CONSOLE:34] "%cDEBUG background: #eee; color: #888 Comments: URIs of continue on comments to add to storage .", source: vscode-file://vscode-app/opt/Kiro/resources/app/out/vs/workbench/workbench.desktop.main.js (34)

kzolti avatar Dec 11 '25 19:12 kzolti

Same problem here in Debian 13

Charly3X avatar Feb 03 '26 12:02 Charly3X

@Charly3X It looks like the problem is solved. Today I was finally able to log in with my github account.

kiro -v
0.9.2
bde6cfcbb06cc8986310e079d9e75f51b83365d2
x64

kzolti avatar Feb 06 '26 21:02 kzolti

Maybe try switching to X11 environment if Wayland is bugging

trustypark avatar Mar 11 '26 01:03 trustypark

I have the same issue on both Windows 11 and Linux Mint 22.3. I install Open Remote SSH and when I try to connect to any remote host it asks me to login (even though I am already logged in) and it stalls here after having clicked on "Sign-In":

Image

Have tried uninstalling, installing, cleaning up the registry on Windows, purging everything related on Linux without any result.

codeM1K avatar Mar 11 '26 14:03 codeM1K

Having the same issue on the latest version of OpenSUSE Tumbleweed

kiro
[main 2026-03-17T11:43:50.635Z] LinuxUrlHandlerManager: Starting automatic URL handler detection and registration
[main 2026-03-17T11:43:51.277Z] update#setState idle
[main 2026-03-17T11:43:51.431Z] LinuxUrlHandlerDetector: Handler detected via XDG MIME query
[main 2026-03-17T11:43:51.431Z] LinuxUrlHandlerManager: Existing URL handler detected, skipping registration
[main 2026-03-17T11:44:01.269Z] Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart.
[main 2026-03-17T11:44:01.270Z] ptyHost was unable to resolve shell environment Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart.
    at Timeout.<anonymous> (file:///opt/kiro/resources/app/out/main.js:59:6522)
    at listOnTimeout (node:internal/timers:588:17)
    at process.processTimers (node:internal/timers:523:7)
[main 2026-03-17T11:44:01.276Z] resolving shell environment failed Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart.
[main 2026-03-17T11:44:21.283Z] update#setState checking for updates
[main 2026-03-17T11:44:21.746Z] update#setState idle
[main 2026-03-17T11:44:27.710Z] [UtilityProcess id: 1, type: fileWatcher, pid: 71641]: crashed with code 15 and reason 'killed'

benorrin avatar Mar 17 '26 11:03 benorrin

same occured for me

Ubuntu 22.04 + Wayland

CareyTaoXie avatar Mar 30 '26 14:03 CareyTaoXie

Hi all, I've been experiencing this same issue and after some digging I found a different root cause that may explain several cases in this thread — particularly on older hardware.

On CPUs without AVX2 support (Intel Ivy Bridge 2012 and earlier), the IDE doesn't actually freeze waiting for a browser redirect — the extension host crashes silently with exit code 132 (SIGILL — Illegal Instruction) before it can do anything, including opening the browser. Kiro retries 3 times and then gives up, leaving the UI frozen on the login screen.

The culprit is @lancedb/vectordb-linux-x64-gnu/index.node, a native binary bundled with the kiro.kiroAgent extension that is compiled with AVX2 instructions not available on older CPUs.

You can quickly check if this is your case:

bash# If this only returns "avx" (not "avx2"), your CPU is affected
grep -o 'avx[^ ]*' /proc/cpuinfo | sort -u

# If this returns a number > 0, the binary requires AVX2
objdump -d /usr/share/kiro/resources/app/extensions/kiro.kiro-agent/node_modules/@lancedb/vectordb-linux-x64-gnu/index.node | grep -c "ymm\|avx2\|avx512"

I documented the full root cause analysis and a workaround (recompiling LanceDB from source targeting your CPU) here: 👉 https://github.com/lkevic/kiro-avx2-fix/blob/main/README.md

Hope this helps someone.

For the Kiro team: the fix would be to compile @lancedb/vectordb-linux-x64-gnu without AVX2 as a minimum baseline, or ship a separate build for legacy CPUs.

lkevic avatar Apr 03 '26 19:04 lkevic