Repository navigation
impossible to upload files to google storage with v0.12.0 #470
Description
Activity
Sorry to hear that! Could you try against the latest code in master. We haven't pushed a new version to npm in a while, so you might have better luck with the most up to date code. Let me know how it goes!
master or 0.12.0 behave the same.
in my package.json i tried:"gcloud": "0.12.0"and
"gcloud": "*"and both have the same issue.
The
*will just pull down the latest tag version which is 0.12.0. To get master, donpm install --save googlecloudplatform/gcloud-node.ok so tried again with the latest master branch and it still has the same issue.
tomorrow i might write a package to prove the case.
this is one of the errors i get after a while waiting for the files to be uploaded.Debug: internal, implementation, error Error: socket hang up at SecurePair.error (tls.js:1011:23) at EncryptedStream.CryptoStream._done (tls.js:703:22) at CleartextStream.read [as _read] (tls.js:499:24) at CleartextStream.Readable.read (_stream_readable.js:341:10) at EncryptedStream.onCryptoStreamFinish (tls.js:304:47) at EncryptedStream.g (events.js:180:16) at EncryptedStream.emit (events.js:117:20) at finishMaybe (_stream_writable.js:360:12) at endWritable (_stream_writable.js:367:3) at EncryptedStream.Writable.end (_stream_writable.js:345:5) at EncryptedStream.CryptoStream.end (tls.js:641:31) at Socket.onend (_stream_readable.js:502:10) at Socket.g (events.js:180:16) at Socket.emit (events.js:117:20) at _stream_readable.js:944:16 at process._tickDomainCallback (node.js:492:13)this also:
Debug: internal, implementation, error Error: read ECONNRESET at errnoException (net.js:905:11) at TCP.onread (net.js:559:19)It would be great to see a small sample of code. I'm not sure how this would work in 0.11 and not now, but I'm determined to find the cause!
What version of node are you running? The stack trace seems to hint at the fact that the error occurs outside the realms of our library.
im using node v0.10.38
- addedtype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.
on Mar 31, 2015 ok here it is: https://github.com/aschmid/gcloud.storage.test.git
just copy your credentials into
gcs_keyfile.jsonand insert a bucket name and projectid in theconfig.jsobject.
after an npm install start with./bin/startthis version doesn't work for me, if i change the gcloud version to
0.11.0inpackage.jsonit works as expected.After a quick glance, it looks like you're using the end event. Try hooking
on to the complete event.On Wednesday, April 1, 2015, andreas schmid [email protected]
wrote:ok here it is: https://github.com/aschmid/gcloud.storage.test.git
just copy your credentials into gcs_keyfile.json and insert a bucket name
and projectid in the config.js object.
after an npm install start with ./bin/startthis version doesn't work for me, if i change the gcloud version to 0.11.0
in package.json it works as expected.—
Reply to this email directly or view it on GitHub
#470 (comment)
.i tried the complete too but still same result
btw the complete doesnt even work with 0.11.0
thats why i used the 'end'No problem, I'll take a dive in to the code soon. Thanks for putting the
repo together!On Wednesday, April 1, 2015, andreas schmid [email protected]
wrote:btw the complete doesnt even work with 0.11.0
thats why i used the 'end'—
Reply to this email directly or view it on GitHub
#470 (comment)
.I changed
endtocompleteand it uploaded the files successfully for me. I'm not sure how we can help, since it's working for us and in our system tests that are run on every change we make to the library.53 remaining items
- added 2 commits that reference this issue
on Jan 20, 2026 - added 2 commits that reference this issue
on Feb 2, 2026 - added a commit that references this issue
on Feb 24, 2026 - added a commit that references this issue
on Mar 27, 2026 - added a commit that references this issue
on May 5, 2026
while 0.11.0 works completely fine i am experiencing huge issues uploading files with the latest (0.12.0) version.
a simple file upload takes forever and might even miss a response.
not sure what changed between the versions but it broke something.