Skip to content

Issues running workflows with NextJS Experimental HTTPS #201

@NC-DEV-Theo

Description

@NC-DEV-Theo

I’m running Next.js 15.6.0-canary.33 with Experimental HTTPS enabled, as I need to use local subdomains (e.g., https://local.dev:PORT) instead of http://localhost:PORT.

After setting up the new Workflow system, I consistently encounter the following error at runtime:

⨯ unhandledRejection: TypeError: fetch failed
    at async (../src/queue.ts:56:26) {
  [cause]: Error [HTTPParserError]: Response does not match the HTTP/1.1 protocol (Expected HTTP/, RTSP/ or ICE/)
      at <unknown> (HTTPParserError: Response does not match the HTTP/1.1 protocol (Expected HTTP/, RTSP/ or ICE/)) {
    code: undefined,
    data: '\x15\x03\x03\x00\x02\x02\x16'
  }
}

Context:
• Experimental HTTPS is required because I rely on local subdomains during development.
• The setup runs fine with standard HTTP, but fails as soon as I enable HTTPS.
• I’m aware that Experimental HTTPS is still unstable and resource-intensive, but this error seems related specifically to Workflow.

Question:
Is there any recommended configuration or workaround to make Workflow work properly with Experimental HTTPS in local development?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions