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
varhttp=require("http");varhttps=require("https");//use either http or https, depending on url protocolhttp.get(url,function(res){varheaders={'Content-Length': res.headers['content-length'],'Content-Type': res.headers['content-type'],'x-amz-acl': 'public-read'};vars3Req=s3Client.putStream(res,"/file-path",headers,function(error,res){if(error){returnconsole.log("Error",error);}else{res.resume();res.on("end",function(){console.log("ENDED");});res.on("error",function(){console.log("Error");});}});s3Req.on("error",function(error){console.log("s3Req Error",error);});});
I'm using this script to backfill a bunch of URLs to s3. This script works fine for uploading the first ~1,100 but I ultimately need to do about ~80,000
Once it uploads the first 1,000 it throws this error:
Love knox ❤️
I'm using this script to backfill a bunch of URLs to s3. This script works fine for uploading the first ~1,100 but I ultimately need to do about ~80,000
Once it uploads the first 1,000 it throws this error:
I'm fairly new to node so please forgive me if I'm missing something obvious here.
I found these issues here that I think are related #259 #198 but after struggling with it and trying different things I didn't come to a solution.
The text was updated successfully, but these errors were encountered: