Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warp-terminal signup doesn't work on Win 10 + WSL2 + Ubuntu #4903

Open
1 task done
format997 opened this issue May 10, 2024 · 8 comments
Open
1 task done

Warp-terminal signup doesn't work on Win 10 + WSL2 + Ubuntu #4903

format997 opened this issue May 10, 2024 · 8 comments
Labels
Bugs Bugs, Hangs, Crash, and Freezes

Comments

@format997
Copy link

Dupe Check

Describe the bug

I have been using warp-terminal on Windows 11 + WSL2 + Ubuntu without any particular issues. However, I moved to using a Windows 10 machine recently, and I could no longer make it through the sign-up/sign-in process on Windows 10. I've gone back and used the exact same build on Windows 11 and a new instance of Ubuntu 22, and it worked, while my Windows 10 box will not work. It seems to get hung up on Windows 10 detecting the redirect. On the Win 11 box the warp console output shifts when the browser opens the login page, but this doesn't happen on the Win 10 box, so I never get the UI that let's me click "input code." It just seems to hang and I can't click any buttons on the Win 10 box when trying to navigate the login UI.

To reproduce

  1. Install Win 10 + Ubuntu 22 on WSL2.
  2. Download latest warp build
  3. Install warp
  4. Launch warp
  5. Click "sign in"
  6. Browser opening takes a long time, but eventually opens
  7. Sign in
  8. Clicking "take me to warp" doesn't work. Can copy auth code
  9. Warp terminal window now no longer really responds, no option appears to click "input auth code".
  10. Get stuck on making it through the sign in process

Expected behavior

On win 11 + WSL2 + U22 I can at least eventually input my auth code manually, which lets me continue to using the warp-terminal. Maybe I can just input an auth code from the command line when starting warp-terminal the first time to bypass this issue?

Screenshots

No response

Operating system

Linux

Operating system and version

Ubuntu 22

Shell Version

Bash 5.1.16

Current Warp version

warp-terminal_0.2024.05.07.08.02.stable.02_amd64.deb

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

Today, at least using Windows 11, not win 10

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

@format997 format997 added the Bugs Bugs, Hangs, Crash, and Freezes label May 10, 2024
@dannyneira
Copy link
Member

Hi @format997 sorry about this blocker. Please note that the default copy/paste shortcuts on Linux (wsl included) is SHIFT-CTRL-C/V. Also I recommend you install firefox or chrome on the WSL VM as this may help with the copy/paste of the auth token. As a possible workaround if the normal copy/paste doesn't work, a user on the WSL thread noted they were able to use an autohotkey script to enter the auth key.

Please let us know if that helps as manually typing in the auth key is not ideal.

@format997
Copy link
Author

Hey Danny!

Thanks for the response!

You know, so far, I haven't been able to even get to the point where it prompts me to put in the auth key. On windows 11 it will, which is why I can use warp terminal on W11 + WSL2 + U22, but apparently not on Windows 11.

After I click "sign in", I do get a browser tab to pop open on my Win 10 machine. I can sign in there, but the button won't take me back to the warp terminal window that opened. In fact, the "sign up"/"sign in" buttons are no longer clickable at this point. So, if that makes sense, it feels almost like the "sign-up"/"sign-in" window becomes unresponsive after I first click a button, and the the screen doesn't progress to the point where I am offered the option to put in an Auth key.

The terminal output at this point looks like this:
18:09:08 [INFO] dispatching typed action: Login
18:09:08 [INFO] Failed to open url with wslview Os { code: 2, kind: NotFound, message: "No such file or directory" }, falling back to another method
18:09:23 [WARN] redraw_frame was called 2 times before the frame was drawn
18:09:23 [INFO] notifying view observers and updating windows for timer id 0
18:09:23 [INFO] active window changed: None
18:09:23 [INFO] dispatching global action for root_view:update_quake_mode_state
18:09:23 [INFO] dispatching global action for workspace:save_app
18:09:23 [WARN] Failed to record time "sample value too large"

On a win 11 box, which does progress me to the screen where I can manually input the auth code, after I click to "sign in", the output of the warp terminal looks like this:
18:05:09 [INFO] dispatching typed action: Login
18:05:09 [INFO] Failed to open url with wslview Os { code: 2, kind: NotFound, message: "No such file or directory" }, falling back to another method
18:05:09 [INFO] Failed to open url with cmd.exe Os { code: 2, kind: NotFound, message: "No such file or directory" }, falling back to another method
18:05:09 [WARN] redraw_frame was called 2 times before the frame was drawn
18:05:09 [INFO] notifying view observers and updating windows for timer id 0
18:05:12 [INFO] active window changed: None
18:05:12 [INFO] dispatching global action for root_view:update_quake_mode_state
18:05:12 [INFO] dispatching global action for workspace:save_app

I've also tried install firefox on the W10 U22 VM, and it still tries to drop me back into the W10 firefox browser to try and sign in. So, that didn't seem to help. Maybe there is a way to get warp-terminal to open firefox as installed on the WSL VM?

Anyway, let me know if any of the extra information helps suggest the issue or a workaround.

@format997 format997 reopened this May 11, 2024
@jo-pillar
Copy link

this problem also happened in win11,and I could not input my auth token. #4910

Hey Danny!

Thanks for the response!

You know, so far, I haven't been able to even get to the point where it prompts me to put in the auth key. On windows 11 it will, which is why I can use warp terminal on W11 + WSL2 + U22, but apparently not on Windows 11.

After I click "sign in", I do get a browser tab to pop open on my Win 10 machine. I can sign in there, but the button won't take me back to the warp terminal window that opened. In fact, the "sign up"/"sign in" buttons are no longer clickable at this point. So, if that makes sense, it feels almost like the "sign-up"/"sign-in" window becomes unresponsive after I first click a button, and the the screen doesn't progress to the point where I am offered the option to put in an Auth key.

The terminal output at this point looks like this: 18:09:08 [INFO] dispatching typed action: Login 18:09:08 [INFO] Failed to open url with wslview Os { code: 2, kind: NotFound, message: "No such file or directory" }, falling back to another method 18:09:23 [WARN] redraw_frame was called 2 times before the frame was drawn 18:09:23 [INFO] notifying view observers and updating windows for timer id 0 18:09:23 [INFO] active window changed: None 18:09:23 [INFO] dispatching global action for root_view:update_quake_mode_state 18:09:23 [INFO] dispatching global action for workspace:save_app 18:09:23 [WARN] Failed to record time "sample value too large"

On a win 11 box, which does progress me to the screen where I can manually input the auth code, after I click to "sign in", the output of the warp terminal looks like this: 18:05:09 [INFO] dispatching typed action: Login 18:05:09 [INFO] Failed to open url with wslview Os { code: 2, kind: NotFound, message: "No such file or directory" }, falling back to another method 18:05:09 [INFO] Failed to open url with cmd.exe Os { code: 2, kind: NotFound, message: "No such file or directory" }, falling back to another method 18:05:09 [WARN] redraw_frame was called 2 times before the frame was drawn 18:05:09 [INFO] notifying view observers and updating windows for timer id 0 18:05:12 [INFO] active window changed: None 18:05:12 [INFO] dispatching global action for root_view:update_quake_mode_state 18:05:12 [INFO] dispatching global action for workspace:save_app

I've also tried install firefox on the W10 U22 VM, and it still tries to drop me back into the W10 firefox browser to try and sign in. So, that didn't seem to help. Maybe there is a way to get warp-terminal to open firefox as installed on the WSL VM?

Anyway, let me know if any of the extra information helps suggest the issue or a workaround.

@dannyneira
Copy link
Member

hey folks, I was able to test this issue on WSL2 Ubuntu Windows 11, and I noticed the Windows browser opens, but I can still copy/paste the auth token into Warp running in WSL. Please note that CTRL-SHIFT-C/V are the default copy/paste shortcuts for Warp in Linux/WSL (but CTRL-C/V should still work in the auth token menu).

CleanShot.2024-05-14.at.14.04.18.mp4

If you're still seeing the issue on the latest version of Warp, please provide a video to help us understand where it may be failing.

@dannyneira
Copy link
Member

@format997 Can you try fully uninstalling Warp with the following:

sudo apt uninstall warp-terminal
rm -r ${XDG_CONFIG_HOME:-$HOME/.config}/warp-terminal
rm -r ${XDG_STATE_HOME:-$HOME/.local/state}/warp-terminal
rm -r ${XDG_STATE_HOME:-$HOME/.local/share}/warp-terminal

finally download the latest version and try again?

@format997
Copy link
Author

Hey @dannyneira ! A little delayed in my reply, but I see that you got it working above on Win 11, which also worked for me the first time. I have been having problems getting it working on Win 10.

I tried the steps above to cleanly remove warp-terminal, and then re-installed the latest version (warp-terminal_0.2024.05.21.16.09.stable.02_amd64.deb), but I was still running the same issue.

I've included a screen recording of what I see, where warp will redirect me to the browser and I can click to copy the token, but when i go back to the warp terminal, the screen stays stuck on the first opening screen and I never get to the page where I can manually input my token:

20240523_224650.mp4

@format997
Copy link
Author

Let me know what else I can do to try and debug the issue further, thanks @dannyneira !

@CMDAEW
Copy link

CMDAEW commented Jun 15, 2024

Hey @dannyneira ! A little delayed in my reply, but I see that you got it working above on Win 11, which also worked for me the first time. I have been having problems getting it working on Win 10.

I tried the steps above to cleanly remove warp-terminal, and then re-installed the latest version (warp-terminal_0.2024.05.21.16.09.stable.02_amd64.deb), but I was still running the same issue.

I've included a screen recording of what I see, where warp will redirect me to the browser and I can click to copy the token, but when i go back to the warp terminal, the screen stays stuck on the first opening screen and I never get to the page where I can manually input my token:

20240523_224650.mp4

+1 Im simpyl seeing the login screen without the field for the auth token entry. Once the field is there to apste the auth token, we should be good to proceed and use warp. i just installed the latest warp version and do not have the auth token field in my wsl2 win 11 pro set up. wish it was there so the issue was resolved. appreciate any feedback. warmly, chris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes
Projects
None yet
Development

No branches or pull requests

4 participants