This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

⚠️ We've moved!

Hi there!

To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.

Use 🔗 Github Discussions to ask your questions.

Chatops with Mattermost

Hi I tried use Mattermost with Chatops but can’t connect between them. I get the follow message on chatops logs:
[Fri Feb 22 2019 13:14:30 GMT+0000 (UTC)] INFO Attempting reconnect [Fri Feb 22 2019 13:14:30 GMT+0000 (UTC)] INFO Logging in... [Fri Feb 22 2019 13:14:30 GMT+0000 (UTC)] ERROR Login call failed [Fri Feb 22 2019 13:14:30 GMT+0000 (UTC)] INFO Reconnecting in 10000ms
My st2chatops.env:
export HUBOT_ADAPTER=matteruser export MATTERMOST_HOST=http://192.168.3.150 export MATTERMOST_GROUP=test export MATTERMOST_USER=bot export MATTERMOST_PASSWORD=skynet
st2 2.9.2, on Python 2.7.6
Mattermost 5.8.0

But if I use Rocketchat works fine, both Rocketchat and Mattermost run on the same VM.

Since you’re seeing login failures, what do the Mattermost server logs say?

Thanks for your quickly answer, I found the problem on mattermost logs.

I use port 80 and not use TLS, so I set the follow optional parameters on st2chatops.env and works.

export MATTERMOST_WSS_PORT=80
export MATTERMOST_HTTP_PORT=80
export MATTERMOST_TLS_VERIFY=false
export MATTERMOST_USE_TLS=false