-
-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API and Websocket #110
Comments
I am currently trying to get the ComfyUI websockets_api_example.py running, but I am getting a 302, so I am assuming it's an authentication issue but when I try my config's username and password nothing works... any advice would be great! |
same. how can i connect with websocket to comfyui? |
same issue here, any way to make the original API and websocket working? thanks |
sorry for late reply. i think i can connect to comfy ui using port comfy ui from ai-dock but need to remove auth route first. |
Hey there, I figured a way to use the original api and web socket. By adding an environment variable WEB_TOKEN with any string value. Then you are able to send requests to any API and also the web socket with an authorization bearer token header. |
That's right. Using WEB_TOKEN is more security safe. |
i want accessing websocket and api. what should i do ?
i was try using /ai-dock/api but still not working or maybe my configuration is false.
and about websocket any endpoint or like when using in local ? i mean using IP:PORT ?
Thankyou.
The text was updated successfully, but these errors were encountered: