node app cratch when [zlib binding closed]
See original GitHub issueDescribe the bug
AssertionError [ERR_ASSERTION]: zlib binding closed
at processChunk (zlib.js:541:5)
at Gzip._transform (zlib.js:444:3)
at Gzip.Transform._read (_stream_transform.js:190:10)
at Gzip.Readable.read (_stream_readable.js:452:10)
at flow (_stream_readable.js:922:34)
at pipeOnDrainFunctionResult (_stream_readable.js:734:7)
at cleanup (_stream_readable.js:660:7)
at ClientRequest.onunpipe (_stream_readable.js:621:9)
at ClientRequest.emit (events.js:182:13)
at Gzip.Readable.unpipe (_stream_readable.js:762:12)
at unpipe (_stream_readable.js:711:9)
at ClientRequest.onclose (_stream_readable.js:699:5)
at Object.onceWrapper (events.js:273:13)
at ClientRequest.emit (events.js:187:15)
at Socket.socketCloseListener (_http_client.js:348:9)
at Socket.emit (events.js:187:15)
at TCP._handle.close (net.js:606:12)
This is the logs caught:
APM Server transport error (503): Unexpected APM Server response
APM Server accepted 0 events in the last request
Error: queue is full
Environment (please complete the following information)
- OS: [e.g. Linux] CentOS Linux release 7.5.1804 (Core)
- Node.js version: v10.13.0
- APM Server version: 7.4
- Agent version: 3.3.0
How are you starting the agent? (please tick one of the boxes)
- Calling
agent.start()
directly (e.g.require('elastic-apm-node').start(...)
) - Requiring
elastic-apm-node/start
from within the source code - Starting node with
-r elastic-apm-node/start
Additional context
-
Agent config options
Click to expand
{ "active": true, "serverUrl": "http://10.6.0.167:8200", "serviceName": "test", "captureBody": "all", "logEvel": "error,", "metricsInterval": 0, "captureErrorLogStackTraces": "always", "transactionSampleRateedit": 0.5, "globalLabels": { "env": "production"} }
-
package.json
dependencies:Click to expand
{ "dependencies": { "elastic-apm-node": "3.3.0", "koa": "2.5.2" } }
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
Node.js v19.3.0 Documentation
The TCPSERVERWRAP is not part of this graph, even though it was the reason for console.log() being called. This is because binding to...
Read more >how to compile nodejs to a single, fully static binary file
I've tested the node binary in a container from scratch and it worked. You can build the node statically linked yourself. ~/src$ git...
Read more >Let It Crash: Best Practices for Handling Node.js Errors on ...
Some strategies to gracefully shutdown the Node.js process and quickly restart your application after a catastrophic error terminates your ...
Read more >Using Amazon EFS for AWS Lambda in your serverless ...
Serverless applications are event-driven, using ephemeral compute functions to integrate services and transform data.
Read more >Delta User Guide - Confluence Mobile - NCSA Wiki
Delta provides high performance node-local SSD scratch ... Delta is designed to help applications transition from CPU-only to GPU or hybrid ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, When the APM Server’s queue has reached the maximum size, APM Server returns an HTTP 503 status with the message “Queue is full”. this might happen for a few reasons, have a look here - it should cover it. let us know if it reproduces after the changes.
Hi closing this issue, if it reproduces - let us know.