Giter Site home page Giter Site logo

unknown field 'ErrorHandler' about lfscache HOT 3 CLOSED

saracen avatar saracen commented on June 7, 2024
unknown field 'ErrorHandler'

from lfscache.

Comments (3)

saracen avatar saracen commented on June 7, 2024 1

Hey,

Yeah, the standard library's http ReverseProxy only supports ErrorHandler with version >=1.11 (https://golang.org/doc/go1.11#net/http/httputil).

Are you able to upgrade?

Alternatively, you could remove the mentions of ErrorHandler here: https://github.com/saracen/lfscache/blob/master/server/server.go#L166-L170 but if there's any issues with the connection to your LFS server they'll be difficult to debug without the error notifications :(

There's also binaries available on the releases page: https://github.com/saracen/lfscache/releases

from lfscache.

ozkolonur avatar ozkolonur commented on June 7, 2024 1

Thanks updating go 1.11 worked fine.
I can also confirm it is working for bitbucket 5.11.1 as well.

from lfscache.

saracen avatar saracen commented on June 7, 2024

Thanks for confirming that it works on Bitbucket. Do let me know if you have any other issues or think something can be improved!

from lfscache.

Related Issues (13)

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.