Closed VOOM108 closed 1 year ago
I think it's probably related to comfy being in an earlier version 🤔
could you tell me what steps you did, or what script did you run to get the crash ?
I updated ComfyUI to the latest version; now there is not even an error message in the terminal. It just does not connect to the server.
I did not really do anything yet - installed Cushy Studio with the installer, started ComfyUI, started Cushy Studio, tried to connect to the server. Tried http://localhost:8188 as well as http://127.0.0.1:8188 - also tried with the firewall turned off just in case..
oh; host is wrong, can you replace this with 127.0.0.1 ? I'll change the field to make it allow both
Cushy currently expect "host" to contains the IP 🤦. I need to fix this I'll go with two separate inputs:
Without just the IP I get this:
ERROR:aiohttp.server:Error handling request
Traceback (most recent call last):
File "E:\ComfyUI\python_embeded\lib\site-packages\aiohttp\web_protocol.py", line 332, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp\_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"
ERROR:asyncio:Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
File "asyncio\events.py", line 80, in _run
File "asyncio\proactor_events.py", line 165, in _call_connection_lost
ConnectionResetError: [WinError 10054] An existing connection was closed by the remote host
Nightly 0.0.39
ERROR:aiohttp.server:Error handling request
Traceback (most recent call last):
File "E:\ComfyUI\python_embeded\lib\site-packages\aiohttp\web_protocol.py", line 332, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp\_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"
There is no connect-button any more, should it connect automatically on startup now?
As in the screenshot above, the error in CushyStudio relates to a CORS-issue. In A1111 for some extensions, I need to start the WebUI with a parameter allowing CORS. Could the connection be blocked because of that?
I'll improve the connection UI during my next code session 👍
@VOOM108 the connection flow is now vastly better; feel-free to re-open if you have any issue !
The connection works well... Now, I can't figure out, how to actually start using it. Maybe you could add a few words about that in the info... E.g. there is a field to drop files to. What do I drop there? Dropping an image did not do anything.
When connecting to the running ComfyUI-Server in Cushy-Studio I get this error (in the terminal):
(Windows, Version from today)