ViktoRia
ViktoRia
Worth checking if this reproduces with a fresh install — some package managers cache broken versions.
Hit this same issue — the root cause was the missing null check before deserialization. Wrapping in a try/catch fixed it on our end.
The workaround in #142 works short-term but I think the real fix needs to happen at the connection pool level.
This behavior changed in v2.4 — the migration guide mentions it but it's easy to miss. Adding a note to the docs PR.
One thing worth trying: setting the timeout at the transport layer rather than the request level — avoids the race condition.
Confirmed reproducible on Node 20 + macOS. Interestingly it doesn't happen if you set NODE_OPTIONS=--max-old-space-size=512.
Hit this same issue — the root cause was the missing null check before deserialization. Wrapping in a try/catch fixed it on our end.
Good catch. This is related to the RFC change in how trailing slashes are normalized. PR incoming.
The workaround in #142 works short-term but I think the real fix needs to happen at the connection pool level.
The workaround in #142 works short-term but I think the real fix needs to happen at the connection pool level.