When trying to accessDOCKERMACHINE:8188caddy seems to work but the container then spits out the following error: comfyui-supervisor-1 | {"level":"error","ts":1699883724.371419,"logger":"http.log.error","msg":"dial tcp 127.0.0.1:18188: connect: connection refused","request":{"remote_ip"...
# Connect to server (with retries) n_tries = 5 for i in range(n_tries): time.sleep(4) try: comfy_client.connect(listen=listen, port=port) except ConnectionRefusedError as e: print(e) print(f"({i+1}/{n_tries}) Retrying...") ...
# Connect to server (with retries) n_tries = 5 for i in range(n_tries): time.sleep(4) try: comfy_client.connect(listen=listen, port=port) except ConnectionRefusedError as e: print(e) print(f"({i+1}/{n_tries}) Retrying...") ...