-
Notifications
You must be signed in to change notification settings - Fork 603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in storage - calling transform done when ws.length != 0 #805
Comments
Thanks for reporting. If you can zero in on one or more of your gcloud calls that consistently produces this, that would definitely help. But, generally speaking, our streams do need some safeguards to prevent again this. |
file.download({
destination: path
}, function (err) {
// --
/}); this is the request |
it's important so.. i will be happy if somebody help me |
Sure, we'll do our best. Your best option for now is probably to downgrade to v0.17. |
It also doesn't work |
Ok, roll back once more to 0.16 or the soonest you are able to make the request successfully. |
but in v0.16 the maxInProgress doesn't exist maybe it's happened after change in the server "On June 9th your project XXXXXXXX was affected by an incident which caused elevated error rates for 1 hour 40 minutes. You can read about the incident and the changes we have made to prevent re-occurrence at https://status.cloud.google.com/incident/storage/16025. We take such incidents seriously and are therefore issuing a credit under the terms of our Service Level Agreement (SLA) as defined at https://cloud.google.com/storage/sla. This credit will be equal to 10% of your June Google Cloud Storage bill. In this case, we will apply this credit to your account automatically, bypassing the normal SLA application procedure, so no action is required on your part. Yours, Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043 You have received this mandatory service announcement to update you about important changes to Google Cloud Platform or your account. i got this in email from [email protected] |
Can you try removing the node_modules directory and re-installing gcloud? I updated the problematic dependency here: stephenplusplus/stream-forward@11ec2a7 |
re-installing gcloud from github or from npm? |
From npm, it will automatically pick up the new stream-forward. Just make sure to rm -rf node_modules first. Updating is weird. |
now requests not returns (and i am in google vm so it's not internet problem) |
All requests aren't returning? Can you show more of the code you're using? |
pub/sub working file.download({
destination: path
}, function (err) {
// --
/}); |
sorry, the code is: storage.backupBucket.file(message.filename).createReadStream().on('error', callback).pipe(fs.createWriteStream(path)).on('finish', function () {
console.log('downloaded');
callback(null, message, path);
}); |
Ah, thanks-- I see now! You need to listen for the |
Oh, I'm sorry, I misread the code. BRB :) |
you need help? |
PR with a fix is coming shortly... basically, we destroy the stream. We don't have to do that unless there's an error. |
PR sent! #809 |
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
i don't know the exact request- but it's from the storage
The text was updated successfully, but these errors were encountered: