ERROR 2026년 10월 28일 15:46:37

AI API connection failed

View stacktrace
WhitesnowError: AI 서버 연결이 끊겼습니다. 처리 여부가 불확실해 자동 재요청하지 않았습니다.
    at failure (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\whitesnow.ts:200:10)
    at ask (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\whitesnow.ts:228:25)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async completeJson (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\whitesnow.ts:235:19)
    at async <anonymous> (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\replica-ai.ts:17:20)
    at async <anonymous> (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\replica-cache.ts:21:17)
    at async cachedReplica (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\replica-cache.ts:39:21)
    at async completeReplicaJson (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\replica-ai.ts:16:16)
    at async auditReplicaGeometry (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\replica-geometry-audit.ts:13:16)
    at async ReplicaPerformance.measure (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\replica-performance.ts:17:21)
View metadata
{
  "metadata": {
    "aiStartExecution": "ec048c6c-02b2-40a6-8da4-c2f552565927",
    "attempts": [
      {
        "error": {
          "message": "Connection error.",
          "stack": "Error: Connection error.\n    at OpenAI.makeRequest (C:\\Users\\User\\Documents\\Dropbox\\drinkcode\\product_page\\node_modules\\openai\\src\\client.ts:845:13)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)"
        },
        "response": null,
        "responseLength": 0,
        "responseTruncated": false,
        "startedAt": "2026-10-28T06:46:35.561Z",
        "trace": {
          "code": "connection_error",
          "operation": "chat",
          "provider": "whitesnow",
          "requestedModel": "gpt-6.1-sol",
          "transport": {}
        }
      }
    ],
    "code": "connection_error",
    "createdAt": "2026-10-28T06:46:35.560Z",
    "diagnosticId": "9adcdc6f-20a9-491e-871e-dd70a18872f5",
    "jobId": "0fa899e9-72e6-4737-94e5-6b0e2031b4fc",
    "jobType": "layout",
    "operation": "chat",
    "recovered": false,
    "trace": {
      "code": "connection_error",
      "operation": "chat",
      "provider": "whitesnow",
      "requestedModel": "gpt-6.1-sol",
      "transport": {}
    }
  }
}
ERROR 2026년 10월 28일 15:37:55

AI JSON schema validation failed

View stacktrace
WhitesnowError: AI 기획 응답을 내부에서 교정했지만 JSON 구조를 확정하지 못했습니다. 기존 내용은 유지됩니다. 새 작업으로 다시 요청해 주세요.
    at completeJson (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\whitesnow.ts:270:15)
    at async <anonymous> (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\replica-ai.ts:17:20)
    at async <anonymous> (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\replica-cache.ts:21:17)
    at async cachedReplica (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\replica-cache.ts:39:21)
    at async completeReplicaJson (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\replica-ai.ts:16:16)
    at async reviewReplicaSeparation (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\replica-separation.ts:16:11)
    at async ReplicaPerformance.measure (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\replica-performance.ts:17:21)
    at async Module.generateReplica (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\reference-replica.ts:76:80)
    at async Object.generateSelectionAi (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\selection-ai-server.ts:59:140)
    at async Object.executeTemplateify (C:\Users\User\Documents\Dropbox\drinkcode\product_page\src\templateify-service.ts:49:20)
View metadata
{
  "metadata": {
    "aiStartExecution": "36a441e9-743a-42f2-87dc-05afcf5de282",
    "attempts": [
      {
        "finishReason": "stop",
        "response": "{\"geometry\":[{\"index\":6,\"x\":344,\"y\":40,\"width\":396,\"height\":36},{\"index\":13,\"x\":311,\"y\":143,\"width\":275,\"height\":140}],\"replacements\":[{\"index\":3,\"nodes\":[{\"name\":\"사진 테두리\",\"kind\":\"path\",\"opacity\":0.15,\"x\":38,\"y\":33,\"width\":244,\"height\":241,\"path\":{\"width\":244,\"height\":241,\"points\":[{\"x\":16,\"y\":0,\"in\":{\"x\":7.16,\"y\":0}},{\"x\":228,\"y\":0,\"out\":{\"x\":236.84,\"y\":0}},{\"x\":244,\"y\":16,\"in\":{\"x\":244,\"y\":7.16}},{\"x\":244,\"y\":225,\"out\":{\"x\":244,\"y\":233.84}},{\"x\":228,\"y\":241,\"in\":{\"x\":236.84,\"y\":241}},{\"x\":16,\"y\":241,\"out\":{\"x\":7.16,\"y\":241}},{\"x\":0,\"y\":225,\"in\":{\"x\":0,\"y\":233.84}},{\"x\":0,\"y\":16,\"out\":{\"x\":0,\"y\":7.16}}],\"closed\":true,\"stroke\":\"#d8c784\",\"strokeWidth\":3}}]}],\"notes\":[\"사진 테두리는 사진 위에 흰색 채움이 겹치지 않도록 채움 없는 닫힌 경로로 교정했습니다.\",\"망고 성장 과정 삽화와 방패의 음영은 원본 그래픽으로 유지합니다. 하단 망고 장식은 잎과 부드러운 그림자가 포함된 사각 영역을 유지합니다.\"]}",
        "responseLength": 808,
        "responseTruncated": false,
        "startedAt": "2026-10-28T06:37:42.725Z",
        "trace": {
          "account": "openai-1",
          "operation": "chat",
          "provider": "whitesnow",
          "reportedModel": "gpt-6.1-sol",
          "requestId": "req-13bcb106",
          "requestedModel": "gpt-6.1-sol",
          "requestedServiceTier": "fast",
          "responseModel": "gpt-6.1-sol",
          "serviceTier": "default",
          "serviceTierFallback": false,
          "tokens": {
            "completion_tokens": 497,
            "prompt_tokens": 4972,
            "total_tokens": 5469
          },
          "transport": {
            "connectTimeoutMs": 30000,
            "elapsedMs": 10289,
            "headersReceivedMs": 10289,
            "httpStatus": 200,
            "phase": "complete",
            "timeoutMs": 600000
          }
        },
        "validation": {
          "checks": [
            {
              "issues": [
                {
                  "code": "custom",
                  "message": "선 두께까지 요소 상자 안에 포함하세요.",
                  "path": "replacements.0.nodes.0.path"
                }
              ],
              "method": "original"
            }
          ],
          "contentLength": 808,
          "issues": [
            {
              "code": "custom",
              "message": "선 두께까지 요소 상자 안에 포함하세요.",
              "path": "replacements.0.nodes.0.path"
            }
          ],
          "stage": "schema"
        }
      }
    ],
    "code": "schema_validation_failed",
    "createdAt": "2026-10-28T06:37:42.724Z",
    "diagnosticId": "25620109-c2a2-4273-b7b6-e1bdbb2d8665",
    "jobId": "e5922627-aee4-4365-96db-79d272c4b8c4",
    "jobType": "layout",
    "operation": "chat",
    "recovered": false,
    "trace": {
      "account": "openai-1",
      "attempts": [
        {
          "account": "openai-1",
          "operation": "chat",
          "provider": "whitesnow",
          "reportedModel": "gpt-6.1-sol",
          "requestId": "req-13bcb106",
          "requestedModel": "gpt-6.1-sol",
          "requestedServiceTier": "fast",
          "responseModel": "gpt-6.1-sol",
          "serviceTier": "default",
          "serviceTierFallback": false,
          "tokens": {
            "completion_tokens": 497,
            "prompt_tokens": 4972,
            "total_tokens": 5469
          },
          "transport": {
            "connectTimeoutMs": 30000,
            "elapsedMs": 10289,
            "headersReceivedMs": 10289,
            "httpStatus": 200,
            "phase": "complete",
            "timeoutMs": 600000
          }
        }
      ],
      "code": "schema_validation_failed",
      "operation": "chat",
      "provider": "whitesnow",
      "reportedModel": "gpt-6.1-sol",
      "requestId": "req-13bcb106",
      "requestedModel": "gpt-6.1-sol",
      "requestedServiceTier": "fast",
      "responseModel": "gpt-6.1-sol",
      "serviceTier": "default",
      "serviceTierFallback": false,
      "tokens": {
        "completion_tokens": 497,
        "prompt_tokens": 4972,
        "total_tokens": 5469
      },
      "transport": {
        "connectTimeoutMs": 30000,
        "elapsedMs": 10289,
        "headersReceivedMs": 10289,
        "httpStatus": 200,
        "phase": "complete",
        "timeoutMs": 600000
      },
      "validation": {
        "contentLength": 808,
        "issues": [
          {
            "code": "custom",
            "message": "선 두께까지 요소 상자 안에 포함하세요.",
            "path": "replacements.0.nodes.0.path"
          }
        ],
        "recovered": false,
        "repairAttempts": 0,
        "stage": "schema"
      }
    }
  }
}
ERROR 2026년 10월 28일 15:32:32

AI API request failed

View stacktrace
Error: 504 Codex imagegen timed out
    at APIError.generate (C:\Users\User\Documents\Dropbox\drinkcode\product_page\node_modules\openai\src\core\error.ts:101:14)
    at OpenAI.makeStatusError (C:\Users\User\Documents\Dropbox\drinkcode\product_page\node_modules\openai\src\client.ts:636:28)
    at OpenAI.makeRequest (C:\Users\User\Documents\Dropbox\drinkcode\product_page\node_modules\openai\src\client.ts:932:24)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
View metadata
{
  "metadata": {
    "aiStartExecution": "4880d2bc-54b3-459b-a622-3db71bab4718",
    "attempts": [
      {
        "error": {
          "message": "504 Codex imagegen timed out",
          "stack": "Error: 504 Codex imagegen timed out\n    at APIError.generate (C:\\Users\\User\\Documents\\Dropbox\\drinkcode\\product_page\\node_modules\\openai\\src\\core\\error.ts:101:14)\n    at OpenAI.makeStatusError (C:\\Users\\User\\Documents\\Dropbox\\drinkcode\\product_page\\node_modules\\openai\\src\\client.ts:636:28)\n    at OpenAI.makeRequest (C:\\Users\\User\\Documents\\Dropbox\\drinkcode\\product_page\\node_modules\\openai\\src\\client.ts:932:24)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)"
        },
        "response": null,
        "responseLength": 0,
        "responseTruncated": false,
        "startedAt": "2026-10-28T06:27:29.670Z",
        "trace": {
          "code": "timeout_error",
          "operation": "image",
          "provider": "whitesnow",
          "requestedModel": "gpt-image-2",
          "status": 504,
          "transport": {
            "connectTimeoutMs": 30000,
            "elapsedMs": 300689,
            "headersReceivedMs": 300688,
            "httpStatus": 504,
            "phase": "complete",
            "timeoutMs": 600000
          }
        }
      }
    ],
    "code": "timeout_error",
    "createdAt": "2026-10-28T06:27:29.670Z",
    "diagnosticId": "5458330c-3b1b-4789-9dbd-0c9e2258aebf",
    "jobId": "d7134c68-d156-462b-83af-05962a89a7b0",
    "jobType": "layout",
    "operation": "image",
    "recovered": false,
    "trace": {
      "code": "timeout_error",
      "operation": "image",
      "provider": "whitesnow",
      "requestedModel": "gpt-image-2",
      "status": 504,
      "transport": {
        "connectTimeoutMs": 30000,
        "elapsedMs": 300689,
        "headersReceivedMs": 300688,
        "httpStatus": 504,
        "phase": "complete",
        "timeoutMs": 600000
      }
    }
  }
}