Skip to content
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

WebSocket port is hard coded, prevents image retrieval when port is different than 8188 #3

Open
eazypeasy opened this issue Feb 17, 2024 · 0 comments

Comments

@eazypeasy
Copy link

I am running comfyui on port 8189 and using the following to start the app
flask --app 'gligen_gui:create_app(8189)' run --port 5000

However, gligen_gui\static\script.js has the port hardcoded

function initWebSocket() {
  const socket = new WebSocket('ws://127.0.0.1:8188/ws?clientId=1122');

This results in a network error when the image is generated and the app tries receive the generated image:
script.js:468 WebSocket connection to 'ws://127.0.0.1:8188/ws?clientId=1122' failed:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant