olegchomp / TDComfyUI

TouchDesigner interface for ComfyUI
129 stars 10 forks source link

Request to Fix .tox File Issue with External ComfyUI Server #18

Open jaschahuisman opened 2 months ago

jaschahuisman commented 2 months ago

Issue Description: When utilizing a server hosted on an external comfyui server via HTTPS or HTTP, the .tox file functionality encounters a setback due to the WebSocket node. The URL remains unstripped and receives a redundant prefix of "ws://", leading to instances like "ws://https://host.com/". This issue is considerably inconvenient. Could the domain stripping process be optimized to resolve this?

hairglasses commented 1 month ago

@jaschahuisman I am currently facing a similar issue when attempting to connect via a Runpod instance with an exposed 8188 port. I am able to connect to the instance, but the Workflow tab appears blank as if it can't connect back.

Any suggestions for where to look in the logs? I'm glad to make the necessary additions for having remote server as more of a first-priority function (that is my intended use case for this tool going forward).

Any help is greatly appreciated, glad to share my modified remote-friendly module version if I can find where to resolve it.