You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unable to set the timeout correctly. Polly quits recording an URL which takes about 8 seconds to load
with the message PollyError: [Polly] Request failed due to an unknown error.
I tried to set the timeout using the following code
Commenting out the following line in "@pollyjs/adapter-node-http/dist/cjs/pollyjs-adapter-node-http.js"
fixes my problem, but that's obviously not the right thing to do....
constresponsePromise=newpromise$1((resolve,reject)=>{request.once('response',resolve);request.once('error',reject);// request.once('timeout', reject); -> it works if I comment out this line});// Write the request body
Environment
Node.js v20.11.0
darwin 22.6.0
10.2.4
1.22.19
The text was updated successfully, but these errors were encountered:
Description
I'm unable to set the timeout correctly. Polly quits recording an URL which takes about 8 seconds to load
with the message
PollyError: [Polly] Request failed due to an unknown error.
I tried to set the timeout using the following code
Commenting out the following line in "@pollyjs/adapter-node-http/dist/cjs/pollyjs-adapter-node-http.js"
fixes my problem, but that's obviously not the right thing to do....
Environment
The text was updated successfully, but these errors were encountered: