GoogleCloudPlatform / GoogleCloudPlatform/generative-ai
[Bug]: MM Live API Demo connection hangs without connecting
- Dominant language
- Jupyter Notebook
- Stars
- 17.7k
- Forks
- 4.5k
- Avg merge
- 12h 38m
- Merged PRs (30d)
- 42
Description
### File Name
https://github.com/GoogleCloudPlatform/generative-ai/tree/main/gemini/multimodal-live-api/websocket-demo-app
### What happened?
- UI says it is connecting but it never does.
- logs don't show any updates or progress
### Relevant log output
```shell
127.0.0.1 - - [23/Dec/2024 16:21:46] "GET /script.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:46] "GET /?authuser=0&redirectedPreviously=true HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:46] "GET /cookieJar.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:46] "GET /styles.css HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:46] "GET /live-media-manager.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:46] "GET /gemini-live-api.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:46] "GET /script.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:46] "GET /?authuser=0&redirectedPreviously=true HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:46] "GET /styles.css HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:46] "GET /live-media-manager.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:46] "GET /cookieJar.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:46] "GET /gemini-live-api.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:46] "GET /script.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /?authuser=0&redirectedPreviously=true HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /styles.css HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /live-media-manager.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /gemini-live-api.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /cookieJar.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /script.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /?authuser=0&redirectedPreviously=true HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /styles.css HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /live-media-manager.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /gemini-live-api.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /cookieJar.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /script.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /?authuser=0&redirectedPreviously=true HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /styles.css HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /live-media-manager.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /gemini-live-api.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /cookieJar.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /script.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /?authuser=0&redirectedPreviously=true HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /gemini-live-api.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /live-media-manager.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /styles.css HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /cookieJar.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /script.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /?authuser=0&redirectedPreviously=true HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /gemini-live-api.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /live-media-manager.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /cookieJar.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /styles.css HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:47] "GET /script.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:48] "GET /?authuser=0&redirectedPreviously=true HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:48] "GET /gemini-live-api.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:48] "GET /cookieJar.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:48] "GET /styles.css HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:48] "GET /live-media-manager.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:48] "GET /script.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:48] "GET /?authuser=0&redirectedPreviously=true HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:48] "GET /gemini-live-api.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:48] "GET /styles.css HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:48] "GET /cookieJar.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:48] "GET /live-media-manager.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Dec/2024 16:21:48] "GET /script.js HTTP/1.1" 200 -
```
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Contributor guide
Assessment
This issue has not been assessed yet.