Skip to content

[Bug]: Cloud Run IAP Load Balancer - Streamlit Websocket Issue #1086

@deleomike

Description

@deleomike

File Name

gemini/sample-apps/gemini-streamlit-cloudrun

What happened?

My team (@JoshLuxton) and I stood up this sample app in cloud run, IAP and load balancer with the following instructions/documentation. We believe we followed all the instructions correctly, but we're encountering the following issue with trying to hit the public facing endpoint where the Streamlit app isn't able to complete the web socket connection. The page comes up blank:
Screenshot 2024-09-13 at 2 59 08 PM

And we get the following error on the console output.
Screenshot 2024-09-13 at 3 35 00 PM

Any help understanding this issue is appreciated, and I can provide more context if needed.

Relevant log output

main.33cac65c.js:10 WebsocketConnection WebSocket onerror
a @ main.33cac65c.js:10Understand this error
main.33cac65c.js:19 WebSocket connection to 'wss://*********/_stcore/stream' failed:

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions