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

Bug Report: Authentication-Enabled Gradio App Stuck on Loading Indicator #10539

Closed
1 task done
ferdinandl007 opened this issue Feb 7, 2025 · 3 comments · Fixed by #10560
Closed
1 task done

Bug Report: Authentication-Enabled Gradio App Stuck on Loading Indicator #10539

ferdinandl007 opened this issue Feb 7, 2025 · 3 comments · Fixed by #10560
Labels
bug Something isn't working cloud Issues that only happen when deploying Gradio on cloud services

Comments

@ferdinandl007
Copy link

ferdinandl007 commented Feb 7, 2025

Describe the bug

Description:
In the latest version of our Gradio app, when authentication is enabled and deployed to Cloud Run, the loading indicator remains indefinitely, and the app never reaches the sign-in page. This issue did not appear in previous versions. like gradio 5.14.0

Steps to Reproduce:
1. Deploy the Gradio app with authentication enabled to Cloud Run.
2. Access the app via the provided URL.
3. Observe that the loading indicator is restored indefinitely and the sign-in page never appears.

Expected Behavior:
The app should transition from the loading state to the authentication page, allowing users to sign in.

Actual Behavior:
The app remains stuck on the loading screen and never reaches the sign-in page.

Environment:
• Gradio Version: 5.15.0
• Deployment Platform: GCP Cloud Run
• Date Observed: February 2025

Additional Context:
• The issue is new to this version and was not present in previous releases.
• No related errors appear in the Cloud Run logs.
• If authentication is disabled, the app loads as expected.

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

import gradio as gr



 app.launch(
        server_name="0.0.0.0",
        server_port=8080,
        auth=("admin", "pass")   
    )

Screenshot

No response

Logs

System Info

gradio==5.15.0

Severity

I can work around it

@ferdinandl007 ferdinandl007 added the bug Something isn't working label Feb 7, 2025
@freddyaboulton
Copy link
Collaborator

Hi @ferdinandl007 - if you revert to an older version of gradio does the app load properly?

@freddyaboulton freddyaboulton added the cloud Issues that only happen when deploying Gradio on cloud services label Feb 7, 2025
@freddyaboulton
Copy link
Collaborator

Nvm can reproduce even without Cloud Run

@ferdinandl007
Copy link
Author

Yeah, it works when I revert back to an older version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cloud Issues that only happen when deploying Gradio on cloud services
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
@ferdinandl007 @freddyaboulton and others