ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

OpenAI proxy endpoints intermittently disconnect for GPT-5.5 / GPT Image 2

Open qwqgong-ui opened this issue 6 months ago • 0 comments

Description

GPT-5.5 and GPT Image 2 requests are intermittently failing through the Comfy API OpenAI proxy, while other services/models appear to work normally.

Affected endpoints observed:

  • POST https://api.comfy.org/proxy/openai/images/edits
  • POST https://api.comfy.org/proxy/openai/v1/responses

Error logs:

Connection error calling POST https://api.comfy.org/proxy/openai/images/edits. Retrying in 1.00s (1/3): [WinError 64] 指定的网络名不再可用。
Connection error calling POST https://api.comfy.org/proxy/openai/images/edits. Retrying in 1.00s (1/3): Server disconnected
Connection error calling POST https://api.comfy.org/proxy/openai/images/edits. Retrying in 1.00s (1/3): [WinError 64] 指定的网络名不再可用。
Connection error calling POST https://api.comfy.org/proxy/openai/images/edits. Retrying in 2.00s (2/3): [WinError 64] 指定的网络名不再可用。
Connection error calling POST https://api.comfy.org/proxy/openai/images/edits. Retrying in 2.00s (2/3): Server disconnected
Connection error calling POST https://api.comfy.org/proxy/openai/v1/responses. Retrying in 4.00s (3/3): [WinError 64] 指定的网络名不再可用。

Expected behavior

Requests to GPT-5.5 and GPT Image 2 should complete reliably through the proxy.

Actual behavior

Requests intermittently disconnect and fail after retries.

Notes

Other services/models are working normally, so this does not appear to be a general local network outage. The issue seems specific to the Comfy OpenAI proxy endpoints or the upstream services behind GPT-5.5 / GPT Image 2.

Date observed: 2026-05-25
Timezone: Asia/Shanghai
OS: Windows

qwqgong-ui avatar May 25 '26 03:05 qwqgong-ui

Additional error report with a full ComfyUI exception confirms this is still occurring and now surfaces as ApiServerError from the API client.

Additional error

comfy_api_nodes.util.common_exceptions.ApiServerError: The API server at https://api.comfy.org is currently unreachable. The service may be experiencing issues.

Node details:

  • Node ID: 25
  • Node Type: OpenAIGPTImageNodeV2
  • Exception Type: comfy_api_nodes.util.common_exceptions.ApiServerError

Environment from the error report:

  • ComfyUI: 0.22.0 / log reports v0.22.0-22-g93888ae8e, released 2026-05-22
  • Frontend package: 1.43.18
  • OS: Windows / win32
  • Python: 3.12.9, embedded Python
  • PyTorch: 2.9.0+cu130
  • GPU: NVIDIA GeForce RTX 4080 SUPER
  • Launch args include --windows-standalone-build --listen --port 8488

Relevant timeline from logs, local time 2026-05-25:

10:29:25 Connection error calling POST https://api.comfy.org/proxy/openai/images/edits. Retrying in 1.00s (1/3): [WinError 64]
10:29:44 Connection error calling POST https://api.comfy.org/proxy/openai/images/edits. Retrying in 1.00s (1/3): Server disconnected
10:31:31 Connection error calling POST https://api.comfy.org/proxy/openai/images/edits. Retrying in 2.00s (2/3): [WinError 64]
10:31:50 Connection error calling POST https://api.comfy.org/proxy/openai/images/edits. Retrying in 2.00s (2/3): Server disconnected
10:39:51 Connection error calling POST https://api.comfy.org/proxy/openai/v1/responses. Retrying in 1.00s (1/3): [WinError 64]
10:41:58 Connection error calling POST https://api.comfy.org/proxy/openai/v1/responses. Retrying in 2.00s (2/3): [WinError 64]
10:44:05 Connection error calling POST https://api.comfy.org/proxy/openai/v1/responses. Retrying in 4.00s (3/3): [WinError 64]
10:46:15 ApiServerError: The API server at https://api.comfy.org is currently unreachable.
10:53:23 Connection error calling POST https://api.comfy.org/proxy/openai/v1/responses. Retrying in 1.00s (1/3): [WinError 64]
10:53:56 Connection error calling POST https://api.comfy.org/proxy/openai/v1/responses. Retrying in 2.00s (2/3): [WinError 1236] local system aborted the network connection
10:56:03 Connection error calling POST https://api.comfy.org/proxy/openai/v1/responses. Retrying in 4.00s (3/3): [WinError 64]
11:00:59 Connection error calling POST https://api.comfy.org/proxy/openai/images/edits. Retrying in 1.00s (1/3): [WinError 64]
11:01:01 Connection error calling POST https://api.comfy.org/proxy/openai/images/edits. Retrying in 1.00s (1/3): Server disconnected
11:03:38 Connection error calling POST https://api.comfy.org/proxy/openai/images/edits. Retrying in 2.00s (2/3): Server disconnected
11:05:15 Connection error calling POST https://api.comfy.org/proxy/openai/images/edits. Retrying in 4.00s (3/3): [WinError 64]
11:07:34 ApiServerError: The API server at https://api.comfy.org is currently unreachable.

Stack trace points:

comfy_api_nodes/nodes_openai.py:919 in execute -> images/edits path
comfy_api_nodes/nodes_openai.py:1149 in execute -> responses path
comfy_api_nodes/util/client.py:905 raises ApiServerError
Underlying aiohttp errors include ClientOSError [WinError 64] and ServerDisconnectedError.

One useful detail: startup was able to fetch Comfy registry/API metadata earlier in the same run, including https://api.comfy.org/nodes, so the failures still look concentrated around the OpenAI proxy calls rather than all network access from ComfyUI.

qwqgong-ui avatar May 25 '26 03:05 qwqgong-ui