Coder Social home page Coder Social logo

Comments (6)

bacongobbler avatar bacongobbler commented on August 29, 2024 1

Here is where Gofish pulls down the package. It's using Go's default HTTP client, so there's no specific setup involved on Gofish's end regarding TLS. I would refer to net/http for assistance.

gofish/food.go

Lines 331 to 334 in 235b7ac

// downloadCachedFileToPath will download a file from the given url to a directory, returning the
// path to the cached file. If it already exists, it'll skip downloading the file and just return
// the path to the cached file.
func downloadCachedFileToPath(filePath string, url string) error {

from gofish.

bacongobbler avatar bacongobbler commented on August 29, 2024 1

It is also possible that the latest release of gofish is compiled against a very old version of Go. Weโ€™re due for an update. Iโ€™ll schedule a release for tomorrow and ping you when itโ€™s available. :)

from gofish.

bacongobbler avatar bacongobbler commented on August 29, 2024 1

Should be fixed with 313faec. Just waiting on Github Actions to restore so I can cut a release. Thanks for the report!

from gofish.

bacongobbler avatar bacongobbler commented on August 29, 2024

Hey! The only case I've seen this crop up before was in Helm, of all places. It has something to do with macOS and Go's crypto/tls package.

helm/helm#3384

I have not seen this issue with gofish, but that would be my first guess.

How did you install gofish? Were you compiling from source or were you following the Install Guide?

from gofish.

kingdonb avatar kingdonb commented on August 29, 2024

I followed the install instructions a couple of days ago, downloading the binaries with the curl|bash install method, when I realized I could use gofish to install flux (which worked great, btw!)

I see you've already supported this for a long time. Thanks for the pointers. Will update again soon with the root cause.

from gofish.

kingdonb avatar kingdonb commented on August 29, 2024

This will work!

I went ahead and compiled my own copy of gofish with a relatively recent go 1.16, and it indeed resolves the issue.

$ gofish install helm
==> Installing helm...
๐Ÿ   helm 3.5.4: installed in 2.760856118s

๐ŸŒฎ ๐ŸŽ‰

from gofish.

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.