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

Node 14 read ECONNRESET error #296

Closed
aaestrada opened this issue Nov 4, 2021 · 3 comments
Closed

Node 14 read ECONNRESET error #296

aaestrada opened this issue Nov 4, 2021 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@aaestrada
Copy link

I'm running performance and capacity tests with Clinic js

but when enable this hapi-pino library i receive the following error

[1636045080852] INFO (23140 on MacBook-Pro-de-Aaron.local): request completed req: { "id": "1636045080846:MacBook-Pro-de-Aaron.local:23140:kvl6zrp4:12905", "method": "get", "url": "/items", "headers": { "host": "localhost:3000", "connection": "keep-alive" }, "remoteAddress": "127.0.0.1", "remotePort": 56007 } res: { "statusCode": 200, "headers": { "content-type": "application/json; charset=utf-8", "cache-control": "no-cache", "content-length": 96, "accept-ranges": "bytes" } } responseTime: 6 [1636045080853] ERROR (23140 on MacBook-Pro-de-Aaron.local): err: { "type": "Error", "message": "read ECONNRESET", "stack": Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20) at TCP.callbackTrampoline (internal/async_hooks.js:130:17) "errno": -54, "code": "ECONNRESET", "syscall": "read" }

i make public repo to reproduce this error.

https://github.com/aaestrada/hapi-node-14-example

There is old the information to test and reproduce this error.

let me know i there is something more than i can do!

@RafaelGSS
Copy link
Contributor

Thanks for pointing that out.

Would you like to create a PR? Remember to add test.

@ovhemert
Copy link

This is a duplicate of the following issue: hapijs/hapi-pino#145
PR already there for the fix in hapi-pino.

@simoneb
Copy link
Contributor

simoneb commented Dec 13, 2021

Thanks for catching this @ovhemert . Closing as duplicate.

@simoneb simoneb closed this as completed Dec 13, 2021
@simoneb simoneb added duplicate This issue or pull request already exists and removed confirmed bug labels Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants