42wim / matterircd

Connect to your mattermost or slack using your IRC-client of choice.
MIT License
295 stars 60 forks source link

matterircd and mattermost master #174

Closed michaelcadilhac closed 6 years ago

michaelcadilhac commented 6 years ago

Hi there @42wim

I've just upgraded to the latest master of mattermost and matterircd, and matterircd is not working anymore. The debug log is quite terse on that one---it'd seem that matterircd does not connect to the mattermost server (which is accessible with, say, telnet on that machine):

$ sudo ./matterircd -tlsbind 0.0.0.0:6697 -mmteam straubingers -mmserver localhost:8065 -mminsecure -debug
INFO[2018-04-30T10:48:21+02:00] enabling debug                                module=matterircd
INFO[2018-04-30T10:48:21+02:00] Running version 0.17.3-dev                    module=matterircd
INFO[2018-04-30T10:48:21+02:00] WARNING: THIS IS A DEVELOPMENT VERSION. Things may break.  module=matterircd
INFO[2018-04-30T10:48:21+02:00] Listening on 127.0.0.1:6667                   module=matterircd
INFO[2018-04-30T10:48:21+02:00] Listening on 0.0.0.0:6697 (TLS)               module=matterircd
INFO[2018-04-30T10:48:21+02:00] TLS listening on 0.0.0.0:6697                 module=matterircd
INFO[2018-04-30T10:48:26+02:00] New connection: ip:60934            module=matterircd
DEBU[2018-04-30T10:48:26+02:00] <- NICK cadilhac                              module=matterircd
DEBU[2018-04-30T10:48:26+02:00] <- USER cadilhac 0 * :unknown                 module=matterircd
DEBU[2018-04-30T10:48:26+02:00] -> :matterircd 001 cadilhac :Welcome! cadilhac!cadilhac@ip  module=matterircd
DEBU[2018-04-30T10:48:26+02:00] -> :matterircd 002 cadilhac :Your host is matterircd, running version 0.17.3-dev  module=matterircd
DEBU[2018-04-30T10:48:26+02:00] -> :matterircd 003 cadilhac :This server was created Mon Apr 30 10:48:26 CEST 2018  module=matterircd
DEBU[2018-04-30T10:48:26+02:00] -> :matterircd 004 cadilhac :matterircd 0.17.3-dev o o  module=matterircd
DEBU[2018-04-30T10:48:26+02:00] -> :matterircd 251 cadilhac :There are 3 users and 0 services on 1 servers  module=matterircd
DEBU[2018-04-30T10:48:26+02:00] -> :matterircd 375 cadilhac :- matterircd Message of the Day -  module=matterircd
DEBU[2018-04-30T10:48:26+02:00] -> :matterircd 376 cadilhac :End of /MOTD command.  module=matterircd
DEBU[2018-04-30T10:48:36+02:00] <- LOGIN :mattermost.cadilhac.name team login password  module=matterircd
DEBU[2018-04-30T10:48:36+02:00] Executed &irc.Message{Prefix:(*irc.Prefix)(nil), Command:"LOGIN", Params:[]string(nil), Trailing:"mattermost.cadilhac.name team login password", EmptyTrailing:false} &errors.errorString{s:"unknown command"}  module=matterircd

Hence my question is: how bad an idea is it to use mattermost-master? Is this supposed to work?

Thanks! Cheers; M.

michaelcadilhac commented 6 years ago

Sorry—it appears to work, my users just pointed out I'm not using the correct syntax somehow. Sorry for the noise, closing.