01 icon indicating copy to clipboard operation
01 copied to clipboard

QR code does not appear

Open dep opened this issue 1 year ago • 6 comments

Describe the bug

Running poetry run 01 --server livekit --qr per instructions doesn't show a QR code to scan.

To Reproduce Steps to reproduce the behavior:

  1. Go to software
  2. Set up
  3. Run poetry run 01 --server livekit --qr
  4. Go to http://localhost:10100/

Expected behavior A QR code

Screenshots CleanShot 2024-09-09 at 15 50 13

Desktop (please complete the following information):

  • OS: [e.g. iOS] MacOS latest
  • Python Version [e.g. 22] 3.9.6

dep avatar Sep 09 '24 19:09 dep

Can you share the output of your terminal?

MikeBirdTech avatar Sep 09 '24 20:09 MikeBirdTech

Hey @dep thanks for reporting! The terminal should output it, and it should take ~30 seconds. Let us know if it's not popping up

KillianLucas avatar Sep 09 '24 21:09 KillianLucas

Hey @dep thanks for reporting! The terminal should output it, and it should take ~30 seconds. Let us know if it's not popping up

The @KillianLucas! Awesome. I didn't see it in the terminal (zsh), will take a closer look tomorrow. Cheers!

dep avatar Sep 09 '24 21:09 dep

Here's the terminal output. Nothing ever showed up for me:

poetry run 01 --server livekit --qr

The currently activated Python version 3.12.4 is not supported by the project (>=3.10,<3.12).
Trying to find and use a compatible version.
Using python3.11 (3.11.9)
Starting light server (required for livekit server) on localhost, on the port before `--server-port` (port 10100), unless the `AN_OPEN_PORT` env var is set.
The livekit server will be started on port 10101.
Starting server...
Server will run at http://localhost:10100
INFO:     Started server process [7223]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://localhost:10100 (Press CTRL+C to quit)
Livekit server will run at: http://10.5.0.2:10101
INFO:     ::1:59669 - "GET / HTTP/1.1" 200 OK
INFO:     ('::1', 59674) - "WebSocket /" [accepted]
INFO:     connection open
INFO:     ::1:59669 - "GET /favicon.ico HTTP/1.1" 404 Not Found

dep avatar Sep 10 '24 16:09 dep

@dep Can you please try poetry run 01 --server livekit --qr --expose

and let us know if the QR code still doesn't appear

MikeBirdTech avatar Sep 16 '24 19:09 MikeBirdTech

Yep that worked!

dep avatar Sep 16 '24 20:09 dep