Zowe SDKs in V2 do not handle HTTP 1.1 race condition for Keep Alive #2353
Labels
bug
Something isn't working
needs-ported
Indicates that a PR needs to be ported (master - lts-incremental)
priority-medium
Not functioning - next quarter if capacity permits
severity-medium
Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.
Describe the bug
Reusing a z/OSMF session in Zowe SDKs will attempt to reuse the socket on node 20 and above. This occasionally results in a race condition where NodeJS checks the connection every 5 seconds, but the server might drop the connection when the Keep-Alive expires (usually after around 60 seconds). This can result in an ECONNRESET error. This was fixed as part of #2339 in
AbstractRestClient.ts
andAbstractRestClient.unit.test.ts
, but was not ported.Expected and actual results
Describe your environment
Additional context
The text was updated successfully, but these errors were encountered: