GithubHelp home page GithubHelp logo

Comments (10)

nibalizer avatar nibalizer commented on August 18, 2024

Are you pulling the file over http or ftp?

from puppet-archive.

pall-valmundsson avatar pall-valmundsson commented on August 18, 2024

Ah, sorry I left that out. This is a HTTP Basic Auth pull.

from puppet-archive.

nibalizer avatar nibalizer commented on August 18, 2024

Looking a bit at the code, this looks like an issue in the faraday library. However I dont see an issue on the faraday bug tracker for it. I'll try to find some time to bang on it today.

from puppet-archive.

pall-valmundsson avatar pall-valmundsson commented on August 18, 2024

Thanks for looking into this. Other potentially important information.
Puppet 3.7.5
CentOS 6
and therefore Ruby 1.8.7

from puppet-archive.

nibalizer avatar nibalizer commented on August 18, 2024

I am able to reproduce the problem at least.

from puppet-archive.

nanliu avatar nanliu commented on August 18, 2024

In this case might as well swap out faraday with net/http and eliminate a dependency. I'll take a crack at it over next few days.

from puppet-archive.

nibalizer avatar nibalizer commented on August 18, 2024

@nanliu do you think its in faraday? Is the typical pattern in puppet to hold in ram before file flushing? I'm just not experienced enough to know.

from puppet-archive.

nanliu avatar nanliu commented on August 18, 2024

I thought this was one of things I verified early on, but clearly missed it when evaluating faraday. Per their roadmap: https://github.com/lostisland/faraday/wiki/Roadmap and open PR: lostisland/faraday#156, I don't think we are able to do streaming with faraday. net/http will require some code to handle http errorcodes and redirect, but will support streaming.

from puppet-archive.

jyaworski avatar jyaworski commented on August 18, 2024

Since it looks like the Faraday PR is stalled, should we move to net/http or similar?

from puppet-archive.

nanliu avatar nanliu commented on August 18, 2024

Yes, we should switch to net/http as default provider.

from puppet-archive.

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.