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

Add ability to disable Web sockets #8111

Closed
1 task done
ashishb opened this issue Apr 24, 2024 · 5 comments
Closed
1 task done

Add ability to disable Web sockets #8111

ashishb opened this issue Apr 24, 2024 · 5 comments
Labels
needs repro Awaiting full reproduction

Comments

@ashishb
Copy link

ashishb commented Apr 24, 2024

  • I have searched to see if a similar issue already exists.

Is your feature request related to a problem? Please describe.
Web sockets don't work with many PAAS solutions that do not support sticky sessions.

Describe the solution you'd like
Provide an ability to explicitly disable web sockets

@pngwn
Copy link
Member

pngwn commented Apr 24, 2024

Recent versions don't actually use web sockets but use Server sent events instead.

Could you provide more information on what platforms you have issues with and some example code/ an example application you have had difficulties with?

@pngwn pngwn added the needs repro Awaiting full reproduction label Apr 24, 2024
@ashishb
Copy link
Author

ashishb commented Apr 24, 2024

Lots of #6920 when using Gradio on render.com

@freddyaboulton
Copy link
Collaborator

Hi @ashishb ! Gradio does not use websockets in versions 4 and above. We can't debug this issue unless you share a minimal reproducer.

@ashishb
Copy link
Author

ashishb commented Apr 24, 2024

Happy to create a sample demo. render.com uses K8s underneath so I am not surprised that I am experiencing the same issue as mentioned in #6920

@abidlabs
Copy link
Member

Goint to close this for now, but we can reopen with a repro

@abidlabs abidlabs closed this as not planned Won't fix, can't repro, duplicate, stale Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Awaiting full reproduction
Projects
None yet
Development

No branches or pull requests

4 participants