Open Rinse12 opened 3 months ago
Same for me. Is it linked to the "timeout" option (L471)? https://github.com/ipfs/js-kubo-rpc-client/blob/5c7e42ef02e9c9f8a509905fb22589107b158d2c/src/index.ts#L466-L476 The absence of documentation does not help :confused: (related to #113)
I've tested on Node 20, 18, and 16. 16 Doesn't have this issue, so I guess it's a compatibility problem between kubo-rpc-client and native fetch in node 18+
Hey y'all. We've used this library with different NodeJS versions, and on the 20 LTS version, kubo-rpc-client throws timeout errors frequently whenever an RPC function is called. You don't have to call a specific function, it throws randomly.
An example code to produce:
Randomly you'd get a timeout error that looks like this
Kubo: 0.24.0 kubo-rpc-client: 3.0.4 NodeJS: v20.11.1