Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix server issues #444

Open
carkod opened this issue Feb 3, 2025 · 0 comments
Open

Fix server issues #444

carkod opened this issue Feb 3, 2025 · 0 comments
Labels

Comments

@carkod
Copy link
Owner

carkod commented Feb 3, 2025

Node.js v20.17.0
Starting nginx: nginx.
wait-for-it.sh: waiting 15 seconds for db:27017
wait-for-it.sh: db:27017 is available after 0 seconds
Server is running on jobhub_db:8082
node:_http_server:352
    throw new ERR_HTTP_INVALID_STATUS_CODE(originalStatusCode);
          ^

RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: undefined
    at ServerResponse.writeHead (node:_http_server:352:11)
    at ServerResponse._implicitHeader (node:_http_server:338:8)
    at write_ (node:_http_outgoing:945:9)
    at ServerResponse.end (node:_http_outgoing:1056:5)
    at ServerResponse.send (/home/back/node_modules/express/lib/response.js:232:10)
    at ServerResponse.json (/home/back/node_modules/express/lib/response.js:278:15)
    at _callee2$ (/home/back/dist/Tracker.js:186:79)
    at tryCatch (/home/back/node_modules/regenerator-runtime/runtime.js:63:40)
    at Generator.invoke [as _invoke] (/home/back/node_modules/regenerator-runtime/runtime.js:294:22)
    at Generator.throw (/home/back/node_modules/regenerator-runtime/runtime.js:119:21) {
  code: 'ERR_HTTP_INVALID_STATUS_CODE'
}


@carkod carkod added the bug label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant