InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: Blank Browser When Launching

Open Blootrix opened this issue 2 years ago • 15 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

OS

Windows

GPU

cuda

VRAM

12GB

What happened?

Launch invoke.bat > Option 2 > Open http://127.0.0.1:9090/ > Blank screen.

It was working earlier toady and has now stopped working. When it stopped working with Chrome, I tried launching it with Edge which worked once and hasn't worked since.

Tried running update.bat Tried running as Admin Restarting does not fix anything

Last 3 lines of code

Point your browser at http://127.0.0.1:9090 System config requested Patchmatch initialized

Screenshots

No response

Additional context

No response

Contact Details

No response

Blootrix avatar Jan 07 '23 05:01 Blootrix

I literally have the same problem you found any fix yet?

Lollipopkiller avatar Jan 13 '23 23:01 Lollipopkiller

I literally have the same problem you found any fix yet?

No, I've reinstalled it twice and the issue comes back, even with a completely fresh install and even when trying different browsers. I have no idea why.

If you find a fix, please let me know.

Blootrix avatar Jan 14 '23 19:01 Blootrix

sure

Lollipopkiller avatar Jan 14 '23 19:01 Lollipopkiller

sure

Out of curiosity, do you use either an LG TV as a monitor or use scaling on your system? I think it might be related to that, but I'm not sure.

Blootrix avatar Jan 16 '23 08:01 Blootrix

I have the same problem–need to always refresh the page to get it to work. Initial load will always be blank with this error when I open the dev console:

index.be0f03f1.js:32 TypeError: Cannot read properties of undefined (reading 'description')
    at lt.memoizeOptions.resultEqualityCheck (index.be0f03f1.js:479:52310)
    at index.be0f03f1.js:410:83300
    at d (index.be0f03f1.js:410:82251)
    at index.be0f03f1.js:410:83432
    at d (index.be0f03f1.js:410:82251)
    at l (index.be0f03f1.js:471:453)
    at index.be0f03f1.js:471:660
    at Object.useSyncExternalStore (index.be0f03f1.js:30:26615)
    at rn.useSyncExternalStore (index.be0f03f1.js:9:6483)
    at TG.useSyncExternalStoreWithSelector (index.be0f03f1.js:471:729)

tyk-adrian avatar Jan 31 '23 06:01 tyk-adrian

I have same issue! Fresh installing didn't work.

hossainiir avatar Feb 01 '23 09:02 hossainiir

I found the problem by running the frontend as dev! https://github.com/invoke-ai/InvokeAI/blob/5f16148dea45cf42f4e637d802dd1261a436f8b0/frontend/src/features/system/components/ModelSelect.tsx#L26

I don't know why but seems model_list is empty!

hossainiir avatar Feb 01 '23 14:02 hossainiir

Happened to me when I chose stable-diffusion-1.5 to be used then this appears in console while starting up ** "stable-diffusion-1.5" is not a known model name; falling back to stable-diffusion-1.5.

worked around it by copying following lines

stable-diffusion-1.5:
  description: The newest Stable Diffusion version 1.5 weight file (4.27 GB)
  weights: models/ldm/stable-diffusion-v1/v1-5-pruned-emaonly.ckpt
  config: configs/stable-diffusion/v1-inference.yaml
  width: 512
  height: 512
  vae: ./models/ldm/stable-diffusion-v1/vae-ft-mse-840000-ema-pruned.ckpt

from configs/models.example to configs/models.yaml in my invokeai root directory

sashatc avatar Feb 06 '23 19:02 sashatc

I'm also experiencing this after a new install. Just loads forever with a blank browser window...

@sashatc I'm confused. Did you take the models.example and models.yaml file from the config file and put them in the InvokeAI root directory or am I missing something?

@hossainiir how did you fix the model list being empty?

jibberishballr avatar Feb 06 '23 21:02 jibberishballr

@jibberishballr I am not sure if you have the same cause. In my case it was stable-diffusion-1.5 being configured (still do not know where the current model selection is stored) as selected model, but it somehow disappeared as a model from configs/models.yaml, so I had to edit configs/models.yaml file to add it back there manually.

Update: InvokeAI by default reads configs/models.yaml and tries to load a model that has " default: True" line in its configuration. If none of models have this " default: True" line then it is hardcoded # this is fallback model in case no default is defined FALLBACK_MODEL_NAME='stable-diffusion-1.5' that is attempted to be loaded.

If this fallback fails - you get blank screen in browser

sashatc avatar Feb 06 '23 22:02 sashatc

@jibberishballr I am not sure if you have the same cause. In my case it was stable-diffusion-1.5 being configured (still do not know where the current model selection is stored) as selected model, but it somehow disappeared as a model from configs/models.yaml, so I had to edit configs/models.yaml file to add it back there manually.

Ah I follow you. Yes, don't have that issue of the config file missing from the yaml file.

I just have a blank browser that never loads the Invoke AI UI.

jibberishballr avatar Feb 06 '23 22:02 jibberishballr

@jibberishballr - blank browser is the resulting behavior. If you look at browser's developer console - what do you see? Do you see index.be0f03f1.js:32 TypeError: Cannot read properties of undefined (reading 'description') at lt.memoizeOptions.resultEqualityCheck (index.be0f03f1.js:479:52310) at index.be0f03f1.js:410:83300 at d (index.be0f03f1.js:410:82251) at index.be0f03f1.js:410:83432 at d (index.be0f03f1.js:410:82251) at l (index.be0f03f1.js:471:453) at index.be0f03f1.js:471:660 at Object.useSyncExternalStore (index.be0f03f1.js:30:26615) at rn.useSyncExternalStore (index.be0f03f1.js:9:6483) at TG.useSyncExternalStoreWithSelector (index.be0f03f1.js:471:729) error as mentioned by @tyk-adrian above?

Do you also see repeating messages in your InvokeAI cmd console like this every time you try to reload browser `>> System config requested

Patchmatch initialized System config requested System config requested System config requested System config requested System config requested System config requested System config requested System config requested`

In any case - maybe post here your console output...

sashatc avatar Feb 06 '23 22:02 sashatc

There has been no activity in this issue for 14 days. If this issue is still being experienced, please reply with an updated confirmation that the issue is still being experienced with the latest release.

github-actions[bot] avatar Mar 12 '23 06:03 github-actions[bot]

have you guys try copy past the localhost address to other browser like firefox?

naralysis avatar May 28 '23 02:05 naralysis

I fix this, just connect to 127.0.0.1:9090 instead localhost:9090

BayerHeroine avatar Jun 01 '23 15:06 BayerHeroine