stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug] Connection errored out.

Open GroxicTinch opened this issue 3 years ago • 11 comments

Windows 11 Firefox 104.0.2

I am not sure what causes it but occasionally I get an error while generating images saying the connection has errored out, I don't see any output it just keeps on generating but I lose access to the GUI and need to refresh it, I then have to navigate to the outputs directory to see any information.

I have the webpage active the whole time and not touching the computer at all while it is generating.

GroxicTinch avatar Sep 09 '22 17:09 GroxicTinch

I have the exact same problem. The ui stays hooked for only one generation then no response anymore...

syllebra avatar Sep 09 '22 20:09 syllebra

if you have a way to reproduce it mi might be able to fix it

AUTOMATIC1111 avatar Sep 09 '22 20:09 AUTOMATIC1111

I am dev and I understand the complexity of "connection lost" :D. It may be har dt o reproduce: I use UI in french polynesia on a server in France.

The procedure I made:

  • Start the server
  • start the UI
  • txt2img => setup prompt
  • batch size: 2 (same with batch count)
  • height: 1024
  • width: 640
  • Generate This far it seems ok, catching progress bar and retrieving images.
  • Then click on generate again => I monitor the server, the images are computing BUT the UI does not react (no progress and no image retrieved).

Server is on windows, RTX 2080, started with "--medvram --listen" (list en because reached out from NAS). Cklient if firefox 104.0 (64-bit) on ubuntu

Thanks if you can take a look, if not no problems I understand. And thanks for your work, this UI is quite complete.

Cheers!

syllebra avatar Sep 09 '22 20:09 syllebra

well, I follow similar steps very often. Did exactly according to instructions, no errors.

AUTOMATIC1111 avatar Sep 09 '22 21:09 AUTOMATIC1111

Do you use medvram too? I think my server is a bit overwelm sometimes. With smaller resolutions it seems to work better....

syllebra avatar Sep 09 '22 22:09 syllebra

I have an RTX 3070 generating at 1 batch size at 640 height 512 width, it can go 1000 steps (30 steps x 9 batch count) sometimes but then others times it gets 2 images in and disconnects, I will try it at 512x512 and see if that negates the issue but I found no reliable way to make it happen.

GroxicTinch avatar Sep 10 '22 07:09 GroxicTinch

Using smaller resolution seems to prevent connection timeout. However, the progress bar is visible only on the first generation or need a reload before working again....

syllebra avatar Sep 12 '22 17:09 syllebra

I lowered the res and still got just as many disconnects, would someone be able to tell me where abouts it shows the disconnect error in the code, I may be able to debug it if I knew where to start looking

On Tue, 13 Sept 2022, 1:58 am BilboX, @.***> wrote:

Using smaller resolution seems to prevent connection timeout. However, the progress bar is visible only on the first generation or need a reload before working again....

— Reply to this email directly, view it on GitHub https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/199#issuecomment-1244101120, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEWFYRAO5TOTCWTU3I2MR43V55VM5ANCNFSM6AAAAAAQI4GKHY . You are receiving this because you authored the thread.Message ID: @.***>

GroxicTinch avatar Sep 12 '22 18:09 GroxicTinch

@DarkVamprism has this issue improved with subsequent releases?

dfaker avatar Sep 27 '22 17:09 dfaker

I have been away so haven't been able to test as much but from what I have seen it has almost completely gone. I am not sure if it's the same issue or something different but it's gone from almost always failing to once every 100-200 steps it'll show no error it just won't update the images on display inside the GUI.

But either way it has definitely improved.

On Wed, 28 Sept 2022, 1:16 am DepFA, @.***> wrote:

@DarkVamprism https://github.com/DarkVamprism has this issue improved with subsequent releases?

— Reply to this email directly, view it on GitHub https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/199#issuecomment-1259812134, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEWFYRCS2APOXVP56VJVRILWAMTVXANCNFSM6AAAAAAQI4GKHY . You are receiving this because you were mentioned.Message ID: @.***>

GroxicTinch avatar Sep 27 '22 22:09 GroxicTinch

Dropped at 18000/100000 steps training a hypernetwork with 1600x1600, seems to happen less often without switching tabs, and less often than 2048x2048. Does the same when generating images. "Connection errored out" - Trying to hit the interrupt button does seem to get the code to react somehow but you definitely don't get all the UI features back with a 404 error when trying to reach a local instance of the server. Google Colab with a T4, TheLastBen here using the repo.

zjemily avatar Oct 16 '22 21:10 zjemily

Reopen or create new issue if the problem is still present.

mezotaken avatar Jan 16 '23 18:01 mezotaken