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

Getting ECONNRESET in production #219

Open
krishnaTORQUE opened this issue Jan 11, 2022 · 1 comment
Open

Getting ECONNRESET in production #219

krishnaTORQUE opened this issue Jan 11, 2022 · 1 comment

Comments

@krishnaTORQUE
Copy link

Getting ECONNRESET in production
Error

Error: write ECONNRESET
at afterWriteDispatched (node:internal/stream_base_commons:164:15)
at writevGeneric (node:internal/stream_base_commons:147:3)
at Socket._writeGeneric (node:net:793:11)
at Socket._writev (node:net:802:8)
at doWrite (node:internal/streams/writable:406:12)
at clearBuffer (node:internal/streams/writable:561:5)
at Socket.Writable.uncork (node:internal/streams/writable:348:7)
at connectionCorkNT (node:_http_outgoing:797:8)
at processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -104,
code: 'ECONNRESET',
syscall: 'write',
headerSent: true

Code

import session from 'koa-session';
app.use(session(app));
@krishnaTORQUE
Copy link
Author

krishnaTORQUE commented Jan 11, 2022

More specific
ctx.session.user = user // user object
getting error, but once comment that above all are fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant