ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

--listen issue for local network

Open aniketgore opened this issue 1 year ago • 4 comments

I am getting below error after doing a fresh install on a local network linux machine.

File "aiohttp/_http_parser.pyx", line 557, in aiohttp._http_parser.HttpParser.feed_data File "aiohttp/_http_parser.pyx", line 732, in aiohttp._http_parser.cb_on_header_value aiohttp.http_exceptions.LineTooLong: 400, message: Got more than 8190 bytes (9188) when reading Header value is too long.

I tried reinstall, removing the custom nodes and other things, but whenever I use --listen this error comes.

aniketgore avatar Jun 04 '24 16:06 aniketgore

Is there a longer error you can post?

shawnington avatar Jun 04 '24 22:06 shawnington

I have met the same issue after I updated all nodes by ComfyUI-Manager I start up comfyui by running:

LOG_FILE="logs/comfyui.log"
APP_SCRIPT="main.py --listen 0.0.0.0 --port 7860"

start_app() {
        echo "Starting the application..."
        nohup python -u $APP_SCRIPT > $LOG_FILE 2>&1 &
        echo "Application started."
}

The error msg is:

Error handling request
Traceback (most recent call last):
  File "/Users/admin/opt/miniconda3/envs/comfyui/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 350, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 557, in aiohttp._http_parser.HttpParser.feed_data
  File "aiohttp/_http_parser.pyx", line 732, in aiohttp._http_parser.cb_on_header_value
aiohttp.http_exceptions.LineTooLong: 400, message:
  Got more than 8190 bytes (8214) when reading Header value is too long.

image

image

But I can visit it in Traceless mode: image

all4you avatar Jun 16 '24 02:06 all4you

Is there any progress?

all4you avatar Jul 11 '24 02:07 all4you

2024-07-26_23h44_37 Solved! Click on the image icon to go to the site details and delete the cookies.

Enchante503 avatar Jul 26 '24 14:07 Enchante503

This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.

github-actions[bot] avatar Nov 04 '24 11:11 github-actions[bot]