GithubHelp home page GithubHelp logo

Comments (8)

42wim avatar 42wim commented on May 22, 2024

Could you paste the crash ? I'm using TLS+SASL myself without any issues (on freenode)

from matterbridge.

ishitatsuyuki avatar ishitatsuyuki commented on May 22, 2024
INFO[2016-10-01T13:01:39+09:00] Connecting irc.freenode.net:6667              module=irc
INFO[2016-10-01T13:01:39+09:00] irc.freenode: joining #channel               
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb8 pc=0x57a4fd]

goroutine 6 [running]:
panic(0x8db4a0, 0xc420014090)
        /usr/lib/go/src/runtime/panic.go:500 +0x1a1
github.com/42wim/matterbridge/vendor/github.com/thoj/go-ircevent.(*Connection).Join(0x0, 0xc420151640, 0x8)
        /tmp/tmp.1oFiqQFJL5/src/github.com/42wim/matterbridge/vendor/github.com/thoj/go-ircevent/irc.go:221 +0xdd
github.com/42wim/matterbridge/bridge/irc.(*Birc).JoinChannel(0xc420017540, 0xc420151640, 0x8, 0x2, 0x2)
        /tmp/tmp.1oFiqQFJL5/src/github.com/42wim/matterbridge/bridge/irc/irc.go:78 +0x42
github.com/42wim/matterbridge/gateway.New(0xc420017310, 0xc4200174f0, 0x0, 0x0)
        /tmp/tmp.1oFiqQFJL5/src/github.com/42wim/matterbridge/gateway/gateway.go:45 +0xa81
main.main.func1(0xc420017310, 0xc420150d60, 0x7, 0x1, 0xc42006ec60, 0x3, 0x3, 0xc42006ecc0, 0x3, 0x3)
        /tmp/tmp.1oFiqQFJL5/src/github.com/42wim/matterbridge/matterbridge.go:39 +0x82
created by main.main
        /tmp/tmp.1oFiqQFJL5/src/github.com/42wim/matterbridge/matterbridge.go:43 +0x40d

from matterbridge.

42wim avatar 42wim commented on May 22, 2024

I've added verbose debugging of the IRC bridge connection when you enable debug. You can now debug SASL and compare it with and without TLS. It should be exactly the same though.

The gateway now also when a bridge fails to startup. So no NPE anymore.

from matterbridge.

ishitatsuyuki avatar ishitatsuyuki commented on May 22, 2024

hmm, the NPE disappeared, but no debug log is shown. I have no idea it's broken.

from matterbridge.

42wim avatar 42wim commented on May 22, 2024

You did run matterbridge with -debug?

from matterbridge.

ishitatsuyuki avatar ishitatsuyuki commented on May 22, 2024

Sure.

from matterbridge.

42wim avatar 42wim commented on May 22, 2024

Could you paste your config?
And the full debug output you are getting now.

from matterbridge.

ishitatsuyuki avatar ishitatsuyuki commented on May 22, 2024

Wow, figured out now. It was the IRC port settings. No debug output there, though.

from matterbridge.

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.