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

unable to authenticate #4929

Open
1 task
MatinEbrahimkhani opened this issue May 17, 2024 · 5 comments
Open
1 task

unable to authenticate #4929

MatinEbrahimkhani opened this issue May 17, 2024 · 5 comments
Labels
Bugs Bugs, Hangs, Crash, and Freezes

Comments

@MatinEbrahimkhani
Copy link

MatinEbrahimkhani commented May 17, 2024

Dupe Check

Describe the bug

When i click to login, it take me to my default browser and there is no probem to log in.

However, there is no way for me to log in back into the terminal. there is no error code or anything like that provided to further address the issue
here is my warp terminal log

01:34:37 [INFO] Spawning terminal server process...
01:34:37 [INFO] Running terminal server...
01:34:37 [WARN] Tried to initialize the wayland data control protocol clipboard, but failed. Falling back to the X11 clipboard protocol. The error was: Unknown error while interacting with the clipboard: A required Wayland protocol (zwlr_data_control_manager_v1 version 1) is not supported by the compositor
01:34:37 [INFO] Running app with windowing system: X11
01:34:37 [INFO] Failed to read User from secure storage NotFound
01:34:37 [INFO] Initializing crash reporting Some("linux_stable_release") with tag "v0.2024.05.14.08.01.stable_04"...
01:34:37 [INFO] Starting warp with channel state ChannelState { channel: Stable, app_id: AppId { qualifier: "dev", organization: "warp", application_name: "Warp" }, additional_features: {}, firebase_api_key: "AIzaSyBdy3O3S9hrdayLJxJ7mriBR4qgUaUygAs", server_root_url: "https://app.warp.dev", ws_server_url: "wss://rtc.app.warp.dev/graphql", session_sharing_server_url: Some("wss://sessions.app.warp.dev"), segment_write_key: "sTT9ZajzIaQ0phzLFOnqZ6VOqplJTlaJ", segment_root_url: "https://api.segment.io", releases_base_url: "https://releases.warp.dev", sentry_url: "https://0195a81da0714f55a93ee4624825f9ec@o540343.ingest.sentry.io/5658526", logfile_name: "warp.log", show_autoupdate_menu_items: true } and version Some("v0.2024.05.14.08.01.stable_04")
01:34:37 [INFO] Performance metrics collector started
01:34:37 [INFO] Start to flush telemetry events to Segment
01:34:37 [INFO] Initializing app services
01:34:37 [INFO] Start to flush telemetry events to Segment
01:34:38 [WARN] Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears.
01:34:38 [INFO] Connecting to SQLite database
01:34:38 [INFO] fetching team tester status
01:34:38 [INFO] Checking for update on channel stable_release. Update id is Aq2SyJC
01:34:38 [INFO] Fetching channel versions (without changelogs) from Warp server
01:34:38 [INFO] dispatching global action for root_view:open_from_restored
01:34:38 [INFO] dispatching global action for root_view:open_new
01:34:38 [WARN] error getting team tester status: Failed to get access token for GraphQL request. Falling back to in-memory state.
01:34:38 [INFO] Enabled wgpu backends: Backends(VULKAN | GL | METAL | DX12 | DX11 | BROWSER_WEBGPU)
01:34:38 [INFO] Available wgpu adapters (in priority order):
01:34:38 [WARN] Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears.
01:34:38 [INFO] DiscreteGpu: NVIDIA GeForce RTX 3050 Laptop GPU
	Backend: Vulkan
	Driver: NVIDIA (550.78)
	Can present: true
	Supported texture format: Some(Bgra8UnormSrgb)
01:34:38 [INFO] IntegratedGpu: Mesa Intel(R) Xe Graphics (TGL GT2)
	Backend: Gl
	Driver: Unknown
	Can present: true
	Supported texture format: Some(Rgba8UnormSrgb)
01:34:38 [INFO] Verifying adapter "NVIDIA GeForce RTX 3050 Laptop GPU" is valid...
01:34:38 [INFO] Using DiscreteGpu (NVIDIA GeForce RTX 3050 Laptop GPU) for rendering new window.
01:34:38 [WARN] redraw_frame was called 2 times before the frame was drawn
01:34:38 [INFO] window resized
01:34:38 [INFO] dispatching global action for workspace:save_app
01:34:38 [INFO] dispatching global action for workspace:save_app
01:34:38 [INFO] dispatching global action for workspace:save_app
01:34:38 [INFO] active window changed: Some(WindowId(0))
01:34:38 [INFO] dispatching global action for root_view:update_quake_mode_state
01:34:38 [INFO] dispatching global action for workspace:save_app
01:34:39 [INFO] Flushed telemetry events.
01:34:39 [INFO] Successfully flushed events to segment from disk
01:34:39 [WARN] Failed to retrieve channel versions from Warp server, falling back to GCP JSON storage.
01:34:39 [INFO] Fetching channel versions from GCP JSON storage
01:34:40 [WARN] Error checking for new version: error decoding response body: expected value at line 2 column 1: expected value at line 2 column 1
01:34:40 [WARN] Error checking for update Error checking for new version

Caused by:
    0: error decoding response body: expected value at line 2 column 1
    1: expected value at line 2 column 1
01:34:41 [INFO] dispatching typed action: Login
01:34:41 [WARN] redraw_frame was called 2 times before the frame was drawn
01:34:41 [INFO] active window changed: None
01:34:41 [INFO] dispatching global action for root_view:update_quake_mode_state
01:34:41 [INFO] dispatching global action for workspace:save_app
01:34:46 [INFO] received url Url { scheme: "warp", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("auth")), port: None, path: "/desktop_redirect", query: Some("refresh_token=AMf-vBxxTKz9ZgTkInM8X7Hf5O34onVHf1DoBVb7IAqISP6qZbSaR73cVfKHh8uQwqopNMDbv2xPkS-bv_SH3v1h0Q8uWZwZHG0PTdUZc6JYPgh5kJfh05xtl_M3XHB46PwuXEV-YSHG4_SIn-jmFH1d3BF-vnwcnOcA7dRyfm6wfXH6snBurUacOPjR8ZlHxZw463_aOzsrv3ywWjVjvdh-gVQ8o7diGZHwJVrdv0ztjFES7Pfljd32x1NWttQUXfmUfd1NMlwluDRrnl3Vre1Tk0OvfJNd-Rg8ienw_ir0qZVV7fxzIY6Yb2QRT4te1WWrvVfqF00zlHuSJBWifsUGSx2AzsGdLMOclK1unWtOtoN9J7syF4o&is_user_new=false&is_onboarded=false"), fragment: None }
01:34:46 [INFO] Dispatched auth url to window 0
01:34:46 [INFO] dispatching action for "root_view:handle_incoming_auth_url"
01:34:46 [INFO] active window changed: Some(WindowId(0))
01:34:46 [INFO] dispatching global action for root_view:update_quake_mode_state
01:34:46 [INFO] dispatching global action for workspace:save_app
01:34:47 [WARN] Initial access token request to Firebase failed: HTTP status client error (403 Forbidden) for url (https://securetoken.googleapis.com/v1/token?key=AIzaSyBdy3O3S9hrdayLJxJ7mriBR4qgUaUygAs)
01:34:48 [ERROR] Failed to log in user with error: Unexpected(error decoding response body: expected value at line 2 column 1

Caused by:
    expected value at line 2 column 1)
01:34:49 [INFO] dispatching typed action: DismissErrorNotification
01:34:51 [INFO] active window changed: None
01:34:51 [INFO] dispatching global action for root_view:update_quake_mode_state
01:34:51 [INFO] dispatching global action for workspace:save_app
01:35:09 [INFO] Start to flush telemetry events to Segment
01:35:09 [INFO] Flushed telemetry events.
01:35:25 [INFO] active window changed: Some(WindowId(0))
01:35:25 [INFO] dispatching global action for root_view:update_quake_mode_state
01:35:25 [INFO] dispatching global action for workspace:save_app
01:35:28 [INFO] active window changed: None
01:35:28 [INFO] dispatching global action for root_view:update_quake_mode_state
01:35:28 [INFO] dispatching global action for workspace:save_app
01:35:39 [INFO] Start to flush telemetry events to Segment
01:35:39 [INFO] Dropping empty telemetry batch
01:35:39 [INFO] Flushed telemetry events.
01:36:09 [INFO] Start to flush telemetry events to Segment
01:36:09 [INFO] Dropping empty telemetry batch
01:36:09 [INFO] Flushed telemetry events.
01:36:39 [INFO] Start to flush telemetry events to Segment
01:36:39 [INFO] Dropping empty telemetry batch
01:36:39 [INFO] Flushed telemetry events.
01:37:09 [INFO] Start to flush telemetry events to Segment
01:37:09 [INFO] Dropping empty telemetry batch
01:37:09 [INFO] Flushed telemetry events.
01:37:39 [INFO] Start to flush telemetry events to Segment
01:37:39 [INFO] Dropping empty telemetry batch
01:37:39 [INFO] Flushed telemetry events.
01:37:47 [INFO] received url Url { scheme: "warp", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("auth")), port: None, path: "/desktop_redirect", query: Some("refresh_token=AMf-vByX4FxS3JUwkRVZoVd1WW9qltTabAASpUVoF4lcrkDNOEShgQe9r8I0dWqHQUAKlI5yVGOUl3k8nhN_duUpS2GVsTE6dbZyOR20MjxCJzeqYYygHoscbBDyqnnoGfSo2r7wfRTi2alSkSygeWWU3QdUo4sIjNe2n0XMabhB-pIQJ_8A0_cFAI_hLo5eqoN_Be1T6yvfdln1kMt5Sj3fwuBdRA32rprbuAiHdORa8UVOJhKUWYDFfCpHIqqXiFWVoNALLRpwMHfm3Eo34FLvrsXPUfhHePAFy1Pzu4tOi8QfrdnItfHdTqc5AUGCYtYQHwFVsBhbZVo57AoGF00_EIwIwcf49I9e_gnXTT5-rK-116RmU7Y&is_user_new=false&is_onboarded=false"), fragment: None }
01:37:47 [INFO] Dispatched auth url to window 0
01:37:47 [INFO] dispatching action for "root_view:handle_incoming_auth_url"
01:37:47 [INFO] active window changed: Some(WindowId(0))
01:37:47 [INFO] dispatching global action for root_view:update_quake_mode_state
01:37:47 [INFO] dispatching global action for workspace:save_app
01:37:48 [WARN] Initial access token request to Firebase failed: HTTP status client error (403 Forbidden) for url (https://securetoken.googleapis.com/v1/token?key=AIzaSyBdy3O3S9hrdayLJxJ7mriBR4qgUaUygAs)
01:37:50 [ERROR] Failed to log in user with error: Unexpected(error decoding response body: expected value at line 2 column 1

Caused by:
    expected value at line 2 column 1)
01:37:50 [WARN] redraw_frame was called 2 times before the frame was drawn
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:51 [INFO] dispatching global action for workspace:save_app
01:37:52 [INFO] dispatching typed action: DismissErrorNotification
01:37:53 [INFO] active window changed: None
01:37:53 [INFO] dispatching global action for root_view:update_quake_mode_state
01:37:53 [INFO] dispatching global action for workspace:save_app
01:37:56 [INFO] active window changed: Some(WindowId(0))
01:37:56 [INFO] dispatching global action for root_view:update_quake_mode_state
01:37:56 [INFO] dispatching global action for workspace:save_app
01:38:04 [INFO] dispatching action for "root_view:close_window"
01:38:04 [INFO] application will terminate
01:38:04 [INFO] Shutting down SQLite writer thread
01:38:04 [INFO] Shut down SQLite writer in 2.270373ms
01:38:04 [INFO] Writing queued events to disk because telemetry is enabled.
01:38:04 [INFO] Successfully wrote telemetry events to disk
01:38:04 [INFO] Tearing down app services...
01:38:04 [INFO] Uninitializing crash reporting...

To reproduce

Use the warp-terminal command in terminal, click on sign in, sign in in brower and click take me to warp.
The button doesn't work. The auth token is invalid.

Expected behavior

No response

Screenshots

No response

Operating system

Linux

Operating system and version

manjaro

Shell Version

No response

Current Warp version

No response

Regression

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

Recent working Warp date

No response

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

@MatinEbrahimkhani MatinEbrahimkhani added the Bugs Bugs, Hangs, Crash, and Freezes label May 17, 2024
@alokedesai
Copy link
Member

Hi @MatinEbrahimkhani, could you run the following command in another terminal and post the output?

curl -X POST https://app.warp.dev/proxy/token\?key\=AIzaSyBdy3O3S9hrdayLJxJ7mriBR4qgUaUygAs

@ThanasisTs
Copy link

ThanasisTs commented May 21, 2024

I am facing the same issue. I logged in to Warp but can't get an Auth Token from the browser because neither of the two buttons work.

Edit: I am using the AppImage

@dannyneira
Copy link
Member

@ThanasisTs Can you please follow steps on this doc and if that doesn't help please provide the logs.

@MatinEbrahimkhani
Copy link
Author

MatinEbrahimkhani commented May 22, 2024

@ThanasisTs Of course please provide logs your operating system and weather you are using a VPN or proxy.if you are how do you connect.

you can access warp logs just by running it with terminal. after running make the problem happen again

@ThanasisTs
Copy link

@dannyneira @MatinEbrahimkhani Apparently there was something wrong with my browser. After I restarted it, it worked. Sorry for the inconvinience. From my side, this issue can be closed.

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