-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
at processTimers (node:internal/timers:514:7) { code: 'ERR_INTERNAL_ASSERTION' } #50233
Comments
Paging @ShogunPanda. |
But @james-rms, can you try with the latest v20.x release? This may have been fixed already. |
I have reproduced on v20.8.1, which is latest at time of posting. |
I also fail to reproduce with |
I'm having this exact error too in production on an application running on node:20-alpine, in an API that uses grpc-js. I'm really not sure how to reproduce it, so I'm downgrading the docker image to node:18-alpine to see if it keeps happening. If it is the case I'll downgrade again to node:16-alpine |
Can you please provide which hosts were you connecting to and how are they resolved from the connecting machine? anyway, rather than downgrading you can temporary disable the feature with |
The application provides a GRPC server and connects to another one, also, it connects to about 4 REST servers, 1 redis and 1 mongo. All APIS are on AWS ECS and are accessible internally through separate load balancers with designated DNS. I hope that answers your question. I'll take a look if I can try it on the parameter you suggested, but I'd rather try to simulate it locally if the application shows up to be stable with node 18, if I figure out how to. Edit: The error on this thread didn't happen on node 18 for me, though. |
I see. At least you gave me a little more context, which will help. |
This should have been fixed in #51045. Once it gets in 21.x or 20.x please let me know if you have additional problems. |
Hello, in my case the problem was that I was issuing too many requests with my free Cloudinary plan and the server was blocking certain requests. to get around this I used the VPN (proton VPN) and I no longer have a problem |
Version
v20.6.1
Platform
Darwin 192-168-1-108.tpgi.com.au 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 arm64
Subsystem
node:internal/timers
What steps will reproduce the bug?
I'm still working on simplifying this repro - currently it depends on the
node-fetch
library, my version isv2.6.4
.Running
node repro.js
and waiting about a minute yields the results inrepro.txt
on my machine. I've included the original typescript for clarity as well.repro.zip
How often does it reproduce? Is there a required condition?
Reliably with this repro script.
What is the expected behavior? Why is that the expected behavior?
I would expect this script to either hang or fail with an exception about running out of file descriptors or RAM.
What do you see instead?
Additional information
Since posting this i've tried eliminating the node-fetch dependency and using node's builtin
fetch
, and I can't reproduce this issue withfetch
. Not sure what the major differences are that cause this.The text was updated successfully, but these errors were encountered: