Git Product home page Git Product logo

Comments (9)

GivenChief avatar GivenChief commented on August 22, 2024 2

What are the steps to reproduce it? Please tell us what to do to reproduce it, otherwise there is no way I can debug this.

Does the error trigger randomly without you doing anything? Do you need to have a certain node configuration in comfyui? Are some of the settings necessary to get the error? Or do you have to click in the ui somewhere? Please give us a step by step minimal reproduction method for the error to appear.

  1. "What are the steps to reproduce it?": startup the A1111 server, wait until local link appears, ComfyUI tab, Load Default template, simple positive and negative prompt, press Queue Prompt - the error appears.
  2. "Does the error trigger randomly without you doing anything?" - once I generated image by ComfyUI, but after next update the error appers. Restarting server and OS doesn't help.
  3. "Do you need to have a certain node configuration in comfyui?" - The error appears even in default template.
  4. "Are some of the settings necessary to get the error?" - No, every setting is by default, I changed nothing.
  5. "Or do you have to click in the ui somewhere?" - only button "Queue Prompt".
  6. "give us a step by step minimal reproduction method for the error to appear" - at the point 1.
  7. "are you on windows or on linux?" - Win11 Home, 22H2, x64, NVIDIA GeForce RTX 2060. A1111 WebUI works perfectly.
    image

from sd-webui-comfyui.

ljleb avatar ljleb commented on August 22, 2024 2

Maybe, I should manually change port 8088 in config file of Comfy UI or shouldn't I? If so, where is this config file?

IIUC, it seems that comfyui wasn't closed properly on your system after it ran into an error. I believe you can safely kill the process, if it isn't another service you put on that port.

If you already have something running on port 8188, then to change the comfyui port, you can go to the settings of the extension and put --port 8088 in the additional command line arguments field (and then reload the ui). Alternatively, you can pass --comfyui-port 8088 to the webui, it should be redirected to comfyui*.

from sd-webui-comfyui.

GivenChief avatar GivenChief commented on August 22, 2024 1

Maybe, I should manually change port 8088 in config file of Comfy UI or shouldn't I? If so, where is this config file?

IIUC, it seems that comfyui wasn't closed properly on your system after it ran into an error. I believe you can safely kill the process, if it isn't another service you put on that port.

If you already have something running on port 8188, then to change the comfyui port, you can go to the settings of the extension and put --port 8088 in the additional command line arguments field (and then reload the ui). Alternatively, you can pass --comfyui-port 8088 to the webui, it should redirect it to the webui.

You are completely right. I noticed that after closing A1111 server in Task Manager one python.exe process still exists. After killing it manually and restarting A111 WebUI server there is no error during generating images in Comfy UI.
Problem solved without changing ports.
Thank you a lot! I hope, that this tread will help other people and at least it will appear in Google Search page instead of boring you. )

from sd-webui-comfyui.

ljleb avatar ljleb commented on August 22, 2024

What are the steps to reproduce it? Please tell us what to do to reproduce it, otherwise there is no way I can debug this.

Does the error trigger randomly without you doing anything? Do you need to have a certain node configuration in comfyui? Are some of the settings necessary to get the error? Or do you have to click in the ui somewhere? Please give us a step by step minimal reproduction method for the error to appear.

from sd-webui-comfyui.

John-WL avatar John-WL commented on August 22, 2024

Also, are you on windows or on linux?

from sd-webui-comfyui.

John-WL avatar John-WL commented on August 22, 2024

I think these are the only places where we parse json right now:

return shared.opts.dumpjson()

return types.SimpleNamespace(**json.loads(self.shared_opts_queue.get()))

from sd-webui-comfyui.

John-WL avatar John-WL commented on August 22, 2024

Last update was the addition of the new node for saving images on the webui paths directly, so I'm confident that the error is somehow related to the lines I mentionned. They are the only addition we made that parses json

from sd-webui-comfyui.

John-WL avatar John-WL commented on August 22, 2024

if you could also show the error you are getting in the console, that would be a huge help as well

from sd-webui-comfyui.

GivenChief avatar GivenChief commented on August 22, 2024

if you could also show the error you are getting in the console, that would be a huge help as well

I made kind of investigation, evidences on screens. )
image
image
image
Console says, something listens to 127.0.0.1:8188 but I see pyton.exe PID only. Maybe, I should manually change port 8088 in config file of Comfy UI or shouldn't I? If so, where is this config file?

from sd-webui-comfyui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.