Giter VIP home page Giter VIP logo

Comments (11)

aurels avatar aurels commented on June 10, 2024

Hello,

I seem to have the same issue here. But it doesn't work with multipart neither. Any chance you found the reason ?

Thanks.

from google-api-ruby-client.

alexvodovoz avatar alexvodovoz commented on June 10, 2024

+1 on not being able to get resumable uploads working.

from google-api-ruby-client.

seanhuber avatar seanhuber commented on June 10, 2024

+1 ditto; doesn't even work for a small file.

from google-api-ruby-client.

forest avatar forest commented on June 10, 2024

+1

from google-api-ruby-client.

HaoCHEN11 avatar HaoCHEN11 commented on June 10, 2024

+1, had the same issue with resumable uploading.

from google-api-ruby-client.

towens avatar towens commented on June 10, 2024

+1 Same here 'multipart' succeeds, 'resumable' results in Errno::EPIPE (Broken pipe):

from google-api-ruby-client.

towens avatar towens commented on June 10, 2024

Changing the default adapter for Faraday as described below fixed the issue for me.
http://stackoverflow.com/questions/24201842/uploading-a-video-to-youtube-using-youtube-data-api-broken-pipe-errnoepipe

https://github.com/lostisland/faraday#faraday

https://github.com/nahi/httpclient

from google-api-ruby-client.

khacanh avatar khacanh commented on June 10, 2024

@towens thanks for the tip. works for me

Faraday.default_adapter = :httpclient

from google-api-ruby-client.

phbernard avatar phbernard commented on June 10, 2024

Thank you @towens! This issue was closed but I encountered it and your fix worked!

from google-api-ruby-client.

towens avatar towens commented on June 10, 2024

@phbernard Vnice!

from google-api-ruby-client.

kidlab avatar kidlab commented on June 10, 2024

If you're using Faraday >= 0.9.2 and have trouble with this error Zlib::GzipFile::Error: not in gzip format, you might need to apply this monkey patch to work around:

Faraday.default_adapter = :httpclient

if Faraday::VERSION >= '0.9.2'
  # Only add the following statement if using Faraday >= 0.9.2
  # Override gzip middleware with no-op for httpclient
  # See: https://github.com/GoogleCloudPlatform/gcloud-ruby/issues/367
  Faraday::Response.register_middleware(gzip: Faraday::Response::Middleware)
end

from google-api-ruby-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.