GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — impossible to upload files to google storage with v0.12.0 · Issue #470 · googleapis/google-cloud-node

impossible to upload files to google storage with v0.12.0 #470

New issue
Copy link
New issue
Copy link
Closed
Closed
impossible to upload files to google storage with v0.12.0#470
Copy link
Assignees
stephenplusplus
Labels
🚨This issue needs some love.api: storageIssues related to the Cloud Storage API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@aschmid
aschmid
opened on Mar 30, 2015
Issue body actions

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.

fs.createReadStream('/local/file.txt').pipe(bucket.file('file.txt').createWriteStream());

not sure what changed between the versions but it broke something.

Activity

Next
  1. ryanseys commented on Mar 30, 2015

    @ryanseys
    ryanseys
    on Mar 30, 2015
    Contributor
    More actions

    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!

  2. aschmid commented on Mar 30, 2015

    @aschmid
    aschmid
    on Mar 30, 2015
    Author
    More actions

    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.

  3. stephenplusplus commented on Mar 30, 2015

    @stephenplusplus
    stephenplusplus
    on Mar 30, 2015
    Contributor
    More actions

    The * will just pull down the latest tag version which is 0.12.0. To get master, do npm install --save googlecloudplatform/gcloud-node.

  4. aschmid commented on Mar 30, 2015

    @aschmid
    aschmid
    on Mar 30, 2015
    Author
    More actions

    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)
    
  5. stephenplusplus commented on Mar 31, 2015

    @stephenplusplus
    stephenplusplus
    on Mar 31, 2015
    Contributor
    More actions

    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!

  6. ryanseys commented on Mar 31, 2015

    @ryanseys
    ryanseys
    on Mar 31, 2015
    Contributor
    More actions

    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.

  7. aschmid commented on Mar 31, 2015

    @aschmid
    aschmid
    on Mar 31, 2015
    Author
    More actions

    im using node v0.10.38

  8. stephenplusplus
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    api: storageIssues related to the Cloud Storage API.
    on Mar 31, 2015
  9. aschmid commented on Apr 1, 2015

    @aschmid
    aschmid
    on Apr 1, 2015
    Author
    More actions

    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/start

    this version doesn't work for me, if i change the gcloud version to 0.11.0 in package.json it works as expected.

  10. stephenplusplus commented on Apr 1, 2015

    @stephenplusplus
    stephenplusplus
    on Apr 1, 2015
    Contributor
    More actions

    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/start

    this 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)
    .

  11. aschmid commented on Apr 1, 2015

    @aschmid
    aschmid
    on Apr 1, 2015
    Author
    More actions

    i tried the complete too but still same result

  12. aschmid commented on Apr 1, 2015

    @aschmid
    aschmid
    on Apr 1, 2015
    Author
    More actions

    btw the complete doesnt even work with 0.11.0
    thats why i used the 'end'

  13. stephenplusplus commented on Apr 1, 2015

    @stephenplusplus
    stephenplusplus
    on Apr 1, 2015
    Contributor
    More actions

    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)
    .

  14. stephenplusplus commented on Apr 2, 2015

    @stephenplusplus
    stephenplusplus
    on Apr 2, 2015
    Contributor
    More actions

    I changed end to complete and 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.

  15. 53 remaining items

  16. GautamSharda
    added 2 commits that reference this issue on Jan 20, 2026

    chore: release 3.0.6 (#470)

    2e0ea43

    chore: release 3.0.6 (#470)

    4e76df4
  17. sofisl
    added 3 commits that reference this issue on Jan 27, 2026

    chore(deps): update dependency @types/nock to v10 (#470)

    0f5e6d3

    chore(deps): update dependency @types/nock to v10 (#470)

    26d2689

    chore(deps): update dependency @types/nock to v10 (#470)

    b0033db
  18. GautamSharda
    added 2 commits that reference this issue on Feb 2, 2026

    chore: release 3.0.6 (#470)

    1a220a4

    chore: release 3.0.6 (#470)

    5708462
  19. sofisl
    added a commit that references this issue on Feb 24, 2026

    docs: update readme badges (#470)

    25093b5
  20. GautamSharda
    added 3 commits that reference this issue on Mar 5, 2026

    build: allow Node 10 on presubmit to push to codecov (#470)

    7ff143d

    chore: move CONTRIBUTING.md to root (#470)

    eb99eee

    fix(types): correct internal timeout field type (#470)

    58dd823
  21. GautamSharda
    added 2 commits that reference this issue on Mar 23, 2026

    build: patch Windows container, fixing Node 10 (#470)

    2ca42c8

    build: patch Windows container, fixing Node 10 (#470)

    6ffed02
  22. shivanee-p
    added a commit that references this issue on Mar 27, 2026

    build: patch Windows container, fixing Node 10 (#470)

    d0610e5
  23. thiyaguk09
    added a commit that references this issue on May 5, 2026

    build: patch Windows container, fixing Node 10 (googleapis#470)

    e68805e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @stephenplusplus
    stephenplusplus

Labels

🚨This issue needs some love.api: storageIssues related to the Cloud Storage API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.