Skip to content

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client #956

@jbolda

Description

@jbolda

Getting the following error, but only in CI (github actions: https://github.com/thefrontside/frontside.com/pull/143/checks?check_run_id=3175965538#step:6:24 ). It seems to run fine locally on a macbook air. I presume it is a race condition?

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:561:11)
    at handleRequest (/home/runner/work/frontside.com/frontside.com/node_modules/@bigtest/server/dist/src/proxy.js:19:17)
    at handleRequest.next (<anonymous>)
    at /home/runner/work/frontside.com/frontside.com/node_modules/effection/dist/effection.js:1:7739
    at e.r.advance (/home/runner/work/frontside.com/frontside.com/node_modules/effection/dist/effection.js:1:7781)
    at e.r.enter (/home/runner/work/frontside.com/frontside.com/node_modules/effection/dist/effection.js:1:7701)
    at t.call (/home/runner/work/frontside.com/frontside.com/node_modules/effection/dist/effection.js:1:8325)
    at t.n.enter (/home/runner/work/frontside.com/frontside.com/node_modules/effection/dist/effection.js:1:4576)
    at e.n.fork (/home/runner/work/frontside.com/frontside.com/node_modules/effection/dist/effection.js:1:3943)
    at e.r.advance (/home/runner/work/frontside.com/frontside.com/node_modules/effection/dist/effection.js:1:7849) {
  code: 'ERR_HTTP_HEADERS_SENT'
}
error Command failed with exit code 1.
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions