Giter Site home page Giter Site logo

Comments (6)

kzemek avatar kzemek commented on August 28, 2024 3

Commit cd9f1fb might fix the issue - it ensures that source address variable is not dereferenced for logging if it's nil. Note that the only case the source address might be nil is when go-mmproxy received a connection with PROXY UNKNOWN header.

from go-mmproxy.

kzemek avatar kzemek commented on August 28, 2024 1

I agree about the need for a new release. We'll be doing that soon :)

from go-mmproxy.

kzemek avatar kzemek commented on August 28, 2024

Are you using go-mmproxy downloaded from the releases page, or built from source? If built from source, what version of Go are you using, and what's the Zap library version you built the executable with (e.g. git -C ~/go/src/go.uber.org/zap rev-parse --short HEAD)?

from go-mmproxy.

onlyjob avatar onlyjob commented on August 28, 2024

Built from source with Golang 1.13 and 1.14 (no difference). Initially I built "go-mmproxy" with "zap" v1.9.1 (from Debian package) but upgrading it to v1.14.1 did not help.

from go-mmproxy.

kzemek avatar kzemek commented on August 28, 2024

Can you give me some more detail about your environment? What version of Debian are you running and is it fully updated? This might help me reproduce the issue.

Also, can you please paste the output when the panic happens while go-mmproxy is started with -v 2 argument?

from go-mmproxy.

onlyjob avatar onlyjob commented on August 28, 2024

Commit cd9f1fb fixed the problem! Thank you.

Maybe this problem happened due to haproxy upgrade from 1.x to v2.0?
Also I'm forwarding connection with send-proxy-v2...

IMHO this (and other) commits since 1.0 warrant a new release.

FYI go-mmproxy is in Debian :)

My environment is Debain 10 "Buster". Do you still want panic output with -v 2?

from go-mmproxy.

Related Issues (16)

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.