Skip to content

HTTP requests made via Stripe SDK hang #2785

Closed
@kanadgupta

Description

@kanadgupta

Please avoid duplicates

Reproducible test case

https://github.com/kanadgupta/nock-beta-stripe-sdk

Nock Version

nock@14.0.0-beta.14

Node Version

v20.16.0

TypeScript Version

No response

What happened?

HTTP requests using Stripe's Node.js SDK will hang indefinitely if nock is loaded at all (whether or not there is an interceptor defined for the Stripe request).

I am not well-versed in nock nor in the Stripe SDK but I can confirm that this issue was not present in nock@14.0.0-beta.7 nor in nock@latest (e.g., before mswjs/interceptors was introduced).

Would you be interested in contributing a fix?

  • yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions