Closed norrland closed 6 years ago
I can't reproduce this.
Did you specify -conf matterircd.toml
when starting matterircd ?
Yes, it's using my modified config.
mmircd:~ # ps aux| grep matter
root 88381 0.0 0.0 10468 1788 - IsJ Fri20 0:00.00 daemon: /usr/local/bin/matterircd[89942] (daemon)
matterircd 89942 0.0 0.1 34532 10436 - IJ Fri20 0:02.68 /usr/local/bin/matterircd -conf=/usr/local/etc/matterircd/matterircd.toml
Try this command:
Output from my irc-client:
172.16.0.10:8065
is my mattermost server, serving plaintext HTTP. For external access I have nginx in front which has TLS setup.
08:03:19 <mattermost> need LOGIN <server> <team> <login> <pass>
08:03:27 <Norrland> LOGIN mm.example.com myteam norrland mypass
08:03:27 <mattermost> "https://mm.example.com/api/v4/users/logout: model.client.connecting.app_error, Post
https://mm.example.com/api/v4/users/logout: dial tcp 172.16.0.1:443: connect: connection refused"
08:03:38 <Norrland> LOGIN 172.16.0.10 myteam norrland mypass
08:03:38 <mattermost> "https://172.16.0.10/api/v4/users/logout: model.client.connecting.app_error, Post
https://172.16.0.10/api/v4/users/logout: dial tcp 172.16.0.10:443: connect: connection refused"
08:03:46 <Norrland> LOGIN 172.16.0.10:8065 myteam norrland mypass
08:03:46 <mattermost> "https://172.16.0.10:8065/api/v4/users/logout: model.client.connecting.app_error, Post
https://172.16.0.10:8065/api/v4/users/logout: http: server gave HTTP response to HTTPS client"```
@norrland A couple of things, I'm pretty sure you're not using the config file with matterircd 0.17.0, because it will fail on the last line
Restrict = "172.16.0.10:8065"
should be
Restrict = ["172.16.0.10:8065"]
Please stop the daemon and run matterircd manually, and paste me the output of this command
/usr/local/bin/matterircd -conf=/usr/local/etc/matterircd/matterircd.toml
Hah, this is embarrasing. My server did not upgrade to 0.17 and was still running with the 0.16.8 binary but the config was updated.
0.17 binary and the same config works. :)
Running matterircd 0.17.0 with only one server allowed.
08:57:49 <myuser> LOGIN myuser mypass
08:57:49 <mattermost> need LOGIN <server> <team> <login> <pass>
Config: