Skip to content

Failed: cc-switch auth login #271

@pantlive

Description

@pantlive

cc-switch 5.8.2
➜ ~cc-switch auth login
Open this URL: https://auth.openai.com/codex/device
Enter code: ***********
Expires in: 900 seconds

Waiting for authorization...

thread 'main' (11332) panicked at src/cli/commands/auth.rs:194:38:
there is no reactor running, must be called from the context of a Tokio 1.x runtime
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
[1] 11332 IOT instruction (core dumped) cc-switch auth login

➜ ~ RUST_BACKTRACE=1 cc-switch auth login
Open this URL: https://auth.openai.com/codex/device
Enter code: GG3Y-R3JGP
Expires in: 900 seconds

Waiting for authorization...

thread 'main' (11347) panicked at src/cli/commands/auth.rs:194:38:
there is no reactor running, must be called from the context of a Tokio 1.x runtime
stack backtrace:
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
[1] 11347 IOT instruction (core dumped) RUST_BACKTRACE=1 cc-switch auth login

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions