[Bug] API Error: Socket connection closed unexpectedly

Resolved 💬 2 comments Opened Apr 30, 2026 by bcramer-colibri Closed Jun 19, 2026

Bug Description
Continually receiving this error: ⎿  API Error: The socket connection was closed unexpectedly. For more information, pass verbose: true in the second argument to fetch()

Output will begin to stream to the terminal, then abruptly disappear with the error above taking its place.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.123
  • Feedback ID: 5b551ee3-4306-4eb1-bc71-6d7569272055

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server sfcc invalid: Missing environment variables: SFCC_HOSTNAME, SFCC_SITE_ID, SFCC_CLIENT_ID, SFCC_CLIENT_SECRET, SFCC_OCAPI_VERSION\n    at o0H (/$bunfs/root/src/entrypoints/cli.js:2769:32776)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T16:54:55.930Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server sfcc invalid: Missing environment variables: SFCC_HOSTNAME, SFCC_SITE_ID, SFCC_CLIENT_ID, SFCC_CLIENT_SECRET, SFCC_OCAPI_VERSION\n    at o0H (/$bunfs/root/src/entrypoints/cli.js:2769:32776)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6355:11810)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T16:54:56.140Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server sfcc invalid: Missing environment variables: SFCC_HOSTNAME, SFCC_SITE_ID, SFCC_CLIENT_ID, SFCC_CLIENT_SECRET, SFCC_OCAPI_VERSION\n    at o0H (/$bunfs/root/src/entrypoints/cli.js:2769:32776)\n    at async N (/$bunfs/root/src/entrypoints/cli.js:6355:12696)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T16:54:56.140Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server sfcc invalid: Missing environment variables: SFCC_HOSTNAME, SFCC_SITE_ID, SFCC_CLIENT_ID, SFCC_CLIENT_SECRET, SFCC_OCAPI_VERSION\n    at o0H (/$bunfs/root/src/entrypoints/cli.js:2769:32776)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6355:11810)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T16:55:02.989Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server sfcc invalid: Missing environment variables: SFCC_HOSTNAME, SFCC_SITE_ID, SFCC_CLIENT_ID, SFCC_CLIENT_SECRET, SFCC_OCAPI_VERSION\n    at o0H (/$bunfs/root/src/entrypoints/cli.js:2769:32776)\n    at async N (/$bunfs/root/src/entrypoints/cli.js:6355:12696)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T16:55:02.989Z"}]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗