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

Investigate the error in prod. build. #25

Open
saifulkhan opened this issue Nov 24, 2021 · 0 comments
Open

Investigate the error in prod. build. #25

saifulkhan opened this issue Nov 24, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@saifulkhan
Copy link
Collaborator

/home/scrc/.pm2/logs/data-api-error-3.log last 15 lines:
3|data-api | memory, and will not scale past a single process.
3|data-api | Error: Cannot set headers after they are sent to the client
3|data-api |     at new NodeError (node:internal/errors:371:5)
3|data-api |     at ServerResponse.setHeader (node:_http_outgoing:576:11)
3|data-api |     at ServerResponse.header (/home/scrc/rampvis-api/data-api/node_modules/express/lib/response.js:771:10)
3|data-api |     at ServerResponse.json (/home/scrc/rampvis-api/data-api/node_modules/express/lib/response.js:264:10)
3|data-api |     at ServerResponse.send (/home/scrc/rampvis-api/data-api/node_modules/express/lib/response.js:158:21)
3|data-api |     at exceptionLoggingMiddleware (/home/scrc/rampvis-api/data-api/src/middleware/exception-logging.middleware.ts:33:24)
3|data-api |     at Layer.handle_error (/home/scrc/rampvis-api/data-api/node_modules/express/lib/router/layer.js:71:5)
3|data-api |     at trim_prefix (/home/scrc/rampvis-api/data-api/node_modules/express/lib/router/index.js:315:13)
3|data-api |     at /home/scrc/rampvis-api/data-api/node_modules/express/lib/router/index.js:284:7
3|data-api |     at Function.process_params (/home/scrc/rampvis-api/data-api/node_modules/express/lib/router/index.js:335:12)
3|data-api | Warning: connect.session() MemoryStore is not
3|data-api | designed for a production environment, as it will leak
3|data-api | memory, and will not scale past a single process.
@saifulkhan saifulkhan self-assigned this Nov 24, 2021
@saifulkhan saifulkhan added the bug Something isn't working label Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant