ETIMEDOUT errors after app has been running couple of hours #2209
-
|
Im running node app which connects to external api using got. After the app has been running few hours with decent traffic, it starts to time out when connecting to external api. If the app is restarted, connection issues are resolved. Sounds like something is leaking something? System: Got setup: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
There's not enough important here for us to help. But I would try with |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
There's not enough important here for us to help. But I would try with
http2set tofalseand see if that helps. HTTP2 support has be notoriously buggy in Node.js. Trying out Node.js 18 may also be a good idea.