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]: Stuck on loading (fonts.googleapis.com) I assume #11104

Closed
1 task done
martin951 opened this issue Jun 8, 2023 · 4 comments
Closed
1 task done

[Bug]: Stuck on loading (fonts.googleapis.com) I assume #11104

martin951 opened this issue Jun 8, 2023 · 4 comments
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@martin951
Copy link

martin951 commented Jun 8, 2023

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

WEBUI gets stuck on loading. From reading around the internet, its a problem with gradio that is trying to load some fonts online. At the moment, fonts.googleapis.com is down and WEBUI wont load.

Steps to reproduce the problem

  1. Try to run webui without internet connection I guess...

What should have happened?

It should run offline :P

Commit where the problem happens

baf6946

What Python version are you running on ?

Python 3.10.x

What platforms do you use to access the UI ?

Windows

What device are you running WebUI on?

Nvidia GPUs (RTX 20 above)

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--xformers

List of extensions

a1111-sd-webui-lycoris
openOutpaint-webUI-extension
sd-dynamic-thresholding
sd-webui-controlnet
sd-webui-deforum

Console logs

nothing after "Model loaded in X.Xs ..."

Additional information

No response

@martin951 martin951 added the bug-report Report of a bug, yet to be confirmed label Jun 8, 2023
@akx
Copy link
Collaborator

akx commented Jun 9, 2023

Yep, that's Gradio for you. See gradio-app/gradio#4332 and gradio-app/gradio#1450 etc.

We're working around this in #10324 (prior issues: #4424, #4648), but if you're seeing problems now, it's probably broken with a Gradio update... again.

@martin951
Copy link
Author

martin951 commented Jun 9, 2023

I d like to update this issue with some pretty dumb coincidence.

I am using canvas-zoom extension, and its recent update had false positive hits from Windows Defender. It removed some .js files, which completely blocked the Webui from launching.

Ive installed gradio-offline prior to noticing this so its hard to tell if it was just the extension or gadio aswell.

By the way, according to google chrome console, the wbui was still trying to load the specific missing files even when the extension folder was removed.

@akx
Copy link
Collaborator

akx commented Jun 12, 2023

I can't reproduce this on 59419bd though with wifi turned off. It'll try and load the Google font for a moment, but then continues on.

I would recommend not installing gradio-offline though (since it's an unofficial patch on gradio and installs the same files as gradio would and that way lies madness); you might want to blow away your venv and have launch.py install dependencies by itself.

@akx akx closed this as not planned Won't fix, can't repro, duplicate, stale Jun 12, 2023
@qysaber
Copy link

qysaber commented Mar 16, 2024

I d like to update this issue with some pretty dumb coincidence.

I am using canvas-zoom extension, and its recent update had false positive hits from Windows Defender. It removed some .js files, which completely blocked the Webui from launching.

Ive installed gradio-offline prior to noticing this so its hard to tell if it was just the extension or gadio aswell.

By the way, according to google chrome console, the wbui was still trying to load the specific missing files even when the extension folder was removed.
How did you solve this problem later? I still have no clue.
For example, solving Google fonts and caching js seem to have no effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

3 participants