Comments (8)
Could you paste the crash ? I'm using TLS+SASL myself without any issues (on freenode)
from matterbridge.
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.
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.
hmm, the NPE disappeared, but no debug log is shown. I have no idea it's broken.
from matterbridge.
You did run matterbridge with -debug?
from matterbridge.
Sure.
from matterbridge.
Could you paste your config?
And the full debug output you are getting now.
from matterbridge.
Wow, figured out now. It was the IRC port settings. No debug output there, though.
from matterbridge.
Related Issues (20)
- Permit the removal of nicks and clipped indications in split messages HOT 1
- [irc] Document "MessageClipped" config key
- Matterbridge stops working after Rocket.Chat server restart HOT 5
- Hide join/left messages in Matrix
- Split long message by spaces HOT 1
- "ReplaceMessages" does not work with image/video captions
- Update whatsmeow to support whatsapp channels
- Discord `UseLocalAvatar` option does not work for most users
- panic: runtime error: slice bounds out of range [:5] with length 4
- Mattermost: SendMessage failed: Unsupported start tag HOT 2
- Bridge discord account instead of servers
- sending from slack to discord corrupts content of the message
- Discord bridge does not delete messages when using webhooks HOT 1
- KeepQuotedReply=true breaks bridging messages from Matrix HOT 1
- use Telegram's updateDeleteMessages to propagate message deletion
- XMPP New Line EOF
- No direct tls connection to xmpp server
- Starting gateway failed: Bridge discord.account failed to start: HTTP 401 Unauthorized HOT 3
- Add support for bot shutdown/maintenance message
- Support message retraction for XMPP HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matterbridge.