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

Zowe SDKs in V2 do not handle HTTP 1.1 race condition for Keep Alive #2353

Open
awharn opened this issue Nov 7, 2024 · 1 comment
Open
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.

Comments

@awharn
Copy link
Member

awharn commented Nov 7, 2024

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 and AbstractRestClient.unit.test.ts, but was not ported.

Expected and actual results

Describe your environment

Additional context

@awharn awharn added bug Something isn't working needs-ported Indicates that a PR needs to be ported (master - lts-incremental) new The issue wasn't triaged yet labels Nov 7, 2024
Copy link

github-actions bot commented Nov 7, 2024

Thank you for creating a bug report.
We will investigate the bug and evaluate its impact on the product.
If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.

@JTonda JTonda added 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. and removed new The issue wasn't triaged yet labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
Status: Medium Priority
Development

No branches or pull requests

2 participants