Closed KeremTurgutlu closed 11 months ago
Starting to see this error locally as well, @KeremTurgutlu. We'll look into it!
Starting to see this error locally as well, @KeremTurgutlu. We'll look into it!
Thanks @abidlabs . do you have any progress on this issue? it blocks the usage of gradio 4.x.x.
Hi folks. We are looking into it but don't have a solution just yet -- cc @aliabid94
I have the same problem since upgrading to Gradio 4. It used to work in previous Gradio versions.
It works locally with "localhost;portnumber", but with NGINX as web server for a secure (https) custom domain, it spins endlessly.
Maybe it requires a change in the NGINX configuration ( https://www.gradio.app/guides/running-gradio-on-your-web-server-with-nginx )?
The solution might have been discussed here: https://github.com/gradio-app/gradio/issues/6366 . Quote from @AntoDono:
After hours of debug, it turns out I was just missing proxy_buffering off;
in location /
😭😭😭
Thanks, @AntoDono !
having the same bug amt.
ui.queue().launch(server_port=8000, show_api=False, quiet=True)
I have been experiencing this bug as well. As I was adding and removing components to my UI I noticed there was a certain threshold of the number of them that caused this to happen. I downgraded to v3.39.0 and this stopped happening.
Yeah I think its if there are too many events executing simultaneously. We are working on a fix
Should be fixed in 4.9.0!
Describe the bug
I've a gradio web UI which I've deployed in a google cloud VM. Everything works fine expect when I try to use the demo from my custom domain url
mydomain.com
it fails and hangs forever once an event is triggered.When I trigger an event UI just hangs indefinitely, from the looks there seems to be a new event id which can't be found and it keeps trying with a new one. This just keeps on going with a new event id everytime and doesn't stop unless the browser is closed.
In Google Cloud I've opened HTTP, HTTPS and a custom TCP Port 7860.
After launching the demo I can successfully use the demo if I access it from https://External-ID:7860 however when I try to use it from my custom domain URL, it fails whenever I trigger an action such as clicking the submit button, changing slider values etc..This can also be seen in the logs.
Have you searched existing issues? 🔎
Reproduction
Demo UI
Nginx Config
Screenshot
UI opens successfully from the custom domain URL.
UI hangs forever failing with a different event id:
n id:
Success when using demo from VM-External-IP:7860 from an external machine:
Logs
Keeps repeating the error during hang with different event ids not found error.
Severity
Blocking usage of gradio