ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Getting error as of 24 hours ago: Error starting the server: startup_server() missing 1 required positional argument: 'port'

Open gonzalu opened this issue 1 year ago • 25 comments

Getting this error suddenly

Starting server

To see the GUI go to: http://127.0.0.1:8188
To see the GUI go to: https://127.0.0.1:8189
Error starting the server: startup_server() missing 1 required positional argument: 'port'
FETCH DATA from: E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json

However, clicking the link does work...

gonzalu avatar May 01 '24 13:05 gonzalu

I got the same error with the same outcome after an update yesterday. I haven’t had a chance to look into the cause myself yet.

edwardsdigital avatar May 01 '24 13:05 edwardsdigital

...and now my xformers seems to have broken startup :(

gonzalu avatar May 01 '24 15:05 gonzalu

OK fixed the xformers problem... but the auto-launch is still broken :(

gonzalu avatar May 01 '24 15:05 gonzalu

I have the same problem

moh777 avatar May 01 '24 20:05 moh777

Error starting the server: startup_server() missing 1 required positional argument: 'port'

oktetopython avatar May 01 '24 23:05 oktetopython

same here : Error starting the server: startup_server() missing 1 required positional argument: 'port' and no link to click so comfyui dead for the moment

YUMEORIGINS avatar May 02 '24 00:05 YUMEORIGINS

Your symptoms seem to indicate that the versions of the files in the comfy repository are not properly aligned.

goto ComfyUI dir in cmd and execute this.

git reset --hard
git pull

And also make sure that the above command is applied properly without any error messages.

ltdrdata avatar May 02 '24 01:05 ltdrdata

Your symptoms seem to indicate that the versions of the files in the comfy repository are not properly aligned.

goto ComfyUI dir in cmd and execute this.

git reset --hard
git pull

And also make sure that the above command is applied properly without any error messages.

when i do git reset --hard in the dir Comfyui i have this : HEAD is now at f81a6fa Fix some edge cases with samplers and arrays with a single sigma

YUMEORIGINS avatar May 02 '24 02:05 YUMEORIGINS

Your symptoms seem to indicate that the versions of the files in the comfy repository are not properly aligned. goto ComfyUI dir in cmd and execute this.

git reset --hard
git pull

And also make sure that the above command is applied properly without any error messages.

when i do git reset --hard in the dir Comfyui i have this : HEAD is now at f81a6fa Fix some edge cases with samplers and arrays with a single sigma

Is ComfyUI working properly? Are you still seeing the same error (startup_server ... )? If it's the latter, it means something is interfering with the normal operation of ComfyUI.

ltdrdata avatar May 02 '24 02:05 ltdrdata

Your symptoms seem to indicate that the versions of the files in the comfy repository are not properly aligned. goto ComfyUI dir in cmd and execute this.

git reset --hard
git pull

And also make sure that the above command is applied properly without any error messages.

when i do git reset --hard in the dir Comfyui i have this : HEAD is now at f81a6fa Fix some edge cases with samplers and arrays with a single sigma

Is ComfyUI working properly? Are you still seeing the same error (startup_server ... )? If it's the latter, it means something is interfering with the normal operation of ComfyUI.

it's not working at all : stuck at this error message and not opening

YUMEORIGINS avatar May 02 '24 02:05 YUMEORIGINS

Updated just now (10:40pm Eastern Time) and the error is gone. ComfyUI starts and opens the web browser automatically like it did before.

Thank you all !!

gonzalu avatar May 02 '24 02:05 gonzalu

Your symptoms seem to indicate that the versions of the files in the comfy repository are not properly aligned. goto ComfyUI dir in cmd and execute this.

git reset --hard
git pull

And also make sure that the above command is applied properly without any error messages.

when i do git reset --hard in the dir Comfyui i have this : HEAD is now at f81a6fa Fix some edge cases with samplers and arrays with a single sigma

Is ComfyUI working properly? Are you still seeing the same error (startup_server ... )? If it's the latter, it means something is interfering with the normal operation of ComfyUI.

it's not working at all : stuck at this error message and not opening

It seems like a good idea to disable all custom nodes and try running it.

ltdrdata avatar May 02 '24 02:05 ltdrdata

Your symptoms seem to indicate that the versions of the files in the comfy repository are not properly aligned. goto ComfyUI dir in cmd and execute this.

git reset --hard
git pull

And also make sure that the above command is applied properly without any error messages.

when i do git reset --hard in the dir Comfyui i have this : HEAD is now at f81a6fa Fix some edge cases with samplers and arrays with a single sigma

Is ComfyUI working properly? Are you still seeing the same error (startup_server ... )? If it's the latter, it means something is interfering with the normal operation of ComfyUI.

it's not working at all : stuck at this error message and not opening

It seems like a good idea to disable all custom nodes and try running it.

i have reinstalled on an another hdd and the simple version work fine ! Now i have to install thes rest ( custom, models, loras .... ) 😂

YUMEORIGINS avatar May 02 '24 03:05 YUMEORIGINS

The solution for me was to update MixLab nodes. https://github.com/shadowcz007/comfyui-mixlab-nodes

There is a thread about it in the Issues tab for that repo: https://github.com/shadowcz007/comfyui-mixlab-nodes/issues/209

Updating ComfyUI itself did not change or solve anything - I was still getting the same error message. But now that I have updated MixLab nodes, everything is working again like it should.

AugmentedRealityCat avatar May 02 '24 03:05 AugmentedRealityCat

The solution for me was to update MixLab nodes. https://github.com/shadowcz007/comfyui-mixlab-nodes

There is a thread about it in the Issues tab for that repo: shadowcz007/comfyui-mixlab-nodes#209

Updating ComfyUI itself did not change or solve anything - I was still getting the same error message. But now that I have updated MixLab nodes, everything is working again like it should.

Ok thanks works for me too !!

YUMEORIGINS avatar May 02 '24 03:05 YUMEORIGINS

Update of MixLab nodes as above worked for me 2 :-)

Suka4GitHub avatar May 02 '24 10:05 Suka4GitHub

How can I update the nodes if I cant start comfyui? Maybe it's possible without start the interface. I'm not a programmer .

jvm27 avatar May 03 '24 14:05 jvm27

How can I update the nodes if I cant start comfyui? Maybe it's possible without start the interface. I'm not a programmer .

goto custom_nodes/comfyui-mixlab-nodes in cmd and execute git pull

ltdrdata avatar May 03 '24 15:05 ltdrdata

The solution for me was to update MixLab nodes. https://github.com/shadowcz007/comfyui-mixlab-nodes

There is a thread about it in the Issues tab for that repo: shadowcz007/comfyui-mixlab-nodes#209

Updating ComfyUI itself did not change or solve anything - I was still getting the same error message. But now that I have updated MixLab nodes, everything is working again like it should.

works ,thanks a lot

gxground avatar May 04 '24 13:05 gxground

上述 MixLab 节点的更新对我有用 2 :-)

Jackyzp0307 avatar May 06 '24 00:05 Jackyzp0307

Snipaste_2024-05-06_15-20-13 Snipaste_2024-05-06_15-20-24

GonDesign avatar May 06 '24 07:05 GonDesign

This problem was solved by adjusting the kernel and mixlab plugin versions to version 20240420.

GonDesign avatar May 06 '24 07:05 GonDesign

This problem was solved by adjusting the kernel and mixlab plugin versions to version 20240420.

May I know how can I do this? I'm a noob to this.

Njnngame avatar May 08 '24 00:05 Njnngame

The solution for me was to update MixLab nodes. https://github.com/shadowcz007/comfyui-mixlab-nodes

There is a thread about it in the Issues tab for that repo: shadowcz007/comfyui-mixlab-nodes#209

Updating ComfyUI itself did not change or solve anything - I was still getting the same error message. But now that I have updated MixLab nodes, everything is working again like it should.

thx~~

liricooo avatar May 16 '24 02:05 liricooo

The solution for me was to update MixLab nodes. https://github.com/shadowcz007/comfyui-mixlab-nodes

There is a thread about it in the Issues tab for that repo: shadowcz007/comfyui-mixlab-nodes#209

Updating ComfyUI itself did not change or solve anything - I was still getting the same error message. But now that I have updated MixLab nodes, everything is working again like it should.

Thank you, it worked for me!!!!

jhmorel avatar Jul 01 '24 11:07 jhmorel